Skip to content

Commit

Permalink
Update readme, move versions to all packages to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jac0xb committed Oct 7, 2024
1 parent 16bbbf6 commit aea9d5a
Show file tree
Hide file tree
Showing 14 changed files with 81 additions and 25 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ TODO

4. Building/deploying a verify program:

Requirements:

- solana-verify (https://github.com/Ellipsis-Labs/solana-verifiable-build)
- solana cli 1.18.8
- docker
- Make sure docker has permissions to access the lighthouse repo (enable in docker settings + system settings)

```bash
$ cd programs/lighthouse
$ solana-verify build
Expand Down
4 changes: 2 additions & 2 deletions clients/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lighthouse-sdk"
version = "0.1.0"
version = "2.0.0"
edition = "2021"
readme = "README.md"
license-file = "../../LICENSE"
Expand Down Expand Up @@ -28,7 +28,7 @@ solana-program = "1.17.23"
solana-sdk = { version = "1.17.23", optional = true }
thiserror = "^1.0"
base64 = "0.22.0"
lighthouse-common = { path = "../../lighthouse-common", features = ["serde"]}
lighthouse-common = { path = "../../lighthouse-common", version = "2.0.0", features = ["serde"]}

[dev-dependencies]
assert_matches = "1.5.0"
2 changes: 1 addition & 1 deletion lighthouse-common/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lighthouse-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "lighthouse-common"
version = "0.1.0"
version = "2.0.0"
edition = "2021"
readme = "README.md"
license-file = "../../LICENSE"
license-file = "../LICENSE"
description = "Shared common library used in lighthouse protocol and sdk"
repository = "https://github.com/Jac0xb/lighthouse"
license = "MIT"
Expand Down
59 changes: 54 additions & 5 deletions programs/lighthouse/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions programs/lighthouse/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lighthouse-v1"
version = "0.1.0"
name = "lighthouse-program"
version = "2.0.0"
description = "Transaction guard rails"
authors = ["Jac0xb"]
repository = "https://github.com/jac0xb/lighthouse"
Expand Down Expand Up @@ -33,7 +33,7 @@ spl-associated-token-account = { version = ">= 1.1.3, < 3.0", features = ["no-en
spl-token = { version = ">= 3.5.0, < 5.0", features = ["no-entrypoint"] }
spl-token-2022 = { version = "=2.0.1", features = [ "no-entrypoint" ] }
thiserror = "=1.0.56"
lighthouse-common = { path = "../../lighthouse-common" }
lighthouse-common = { version = "2.0.0", features = ["serde"]}

[dev-dependencies]
solana-program-test = "=1.18.8"
Expand Down
2 changes: 1 addition & 1 deletion programs/lighthouse/lighthouse.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.0",
"version": "2.0.0",
"name": "lighthouse",
"instructions": [
{
Expand Down
4 changes: 2 additions & 2 deletions programs/test-program/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion programs/test-program/program/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ anchor-lang = { version = "0.29.0", features = ["init-if-needed"] }
anchor-spl = "0.29.0"
solana-program = "1.17.23"
arrayref = "0.3.7"
lighthouse-sdk = { version = "0.1.0", path = "../../../clients/rust", features = ["cpi"] }
lighthouse-sdk = { version = "2.0.0", path = "../../../clients/rust", features = ["cpi"] }

[dev-dependencies]
async-trait = "0.1.71"
Expand Down
4 changes: 2 additions & 2 deletions tests/lighthouse/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/lighthouse/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ base64 = "0.22.0"
bincode = "1"
borsh = "^0.10.0"
bytemuck = "1.13.0"
lighthouse-sdk = { path = "../../clients/rust", features = ["sdk"], default-features = false }
lighthouse-sdk = { path = "../../clients/rust", version = "2.0.0", features = ["sdk"], default-features = false }
mpl-bubblegum = { git = "https://github.com/Jac0xb/mpl-bubblegum.git", rev = "bf9a36d95d4b636c0f9346665cc744c9cf283b54", package = "bubblegum", features = ["test-sbf"] }
mpl-bubblegum-sdk = { git = "https://github.com/Jac0xb/mpl-bubblegum.git", rev = "bf9a36d95d4b636c0f9346665cc744c9cf283b54", package = "mpl-bubblegum" }
mpl-token-metadata = "3.2.3"
Expand Down
4 changes: 2 additions & 2 deletions tests/test-client/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/test-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description = "A simple CLI application to test Lighthouse on Solana network"
[dependencies]
clap = { version = "^4.5.1", features = ["derive"] }
solana-sdk = "1.17.23"
lighthouse-sdk = { path = "../../clients/rust" }
lighthouse-sdk = { path = "../../clients/rust", version = "2.0.0" }
serde_json = "1.0.114"
solana-program = "1.17.23"
solana-client = "1.17.23"
Expand Down

0 comments on commit aea9d5a

Please sign in to comment.