Skip to content

Commit 71c80ac

Browse files
authored
refactor: counter program 2 (#1710)
1 parent 17bdd0d commit 71c80ac

File tree

127 files changed

+1413
-1562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+1413
-1562
lines changed

.github/workflows/light-system-programs-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
system-programs:
3636
name: system-programs
3737
if: github.event.pull_request.draft == false
38-
runs-on: ubuntu-latest
38+
runs-on: warp-ubuntu-latest-x64-4x
3939
timeout-minutes: 90
4040
strategy:
4141
matrix:

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ jobs:
3737
rustup target add x86_64-unknown-linux-gnu --toolchain nightly
3838
rustup component add --toolchain nightly rustfmt
3939
rustup component add --toolchain nightly clippy
40+
rustup component add --toolchain 1.83-x86_64-unknown-linux-gnu clippy
4041
./scripts/lint.sh

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ env:
2929
jobs:
3030
test:
3131
if: github.event.pull_request.draft == false
32-
runs-on: ubuntu-latest
32+
runs-on: warp-ubuntu-latest-x64-4x
3333
outputs:
3434
timing: ${{ steps.test-timing.outputs.timing }}
3535
strategy:

Cargo.lock

Lines changed: 67 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ members = [
2626
"xtask",
2727
"examples/anchor/token-escrow",
2828
# "examples/anchor/name-service-without-macros",
29-
# "examples/anchor/counter",
29+
"examples/anchor/counter",
3030
# "examples/anchor/memo",
3131
"program-tests/account-compression-test",
3232
"program-tests/compressed-token-test",
@@ -36,7 +36,7 @@ members = [
3636
"program-tests/system-cpi-v2-test",
3737
"program-tests/system-test",
3838
# Issue is that anchor discriminator now returns a slice instead of an array
39-
# "program-tests/sdk-anchor-test/programs/sdk-anchor-test",
39+
"program-tests/sdk-anchor-test/programs/sdk-anchor-test",
4040
"program-tests/sdk-test",
4141
"program-tests/create-address-test-program",
4242
"program-tests/utils",
@@ -61,6 +61,7 @@ solana-banks-interface = { version = "2.2.1" }
6161
solana-program = "2.2.1"
6262
solana-pubkey = "2.2.1"
6363
solana-sdk = "2.2.1"
64+
solana-cpi = "2.2.1"
6465
solana-program-test = { version = "2.2.1" }
6566
solana-client = "2.2.1"
6667
solana-cli-output = "2.2.1"
@@ -98,7 +99,7 @@ spl-token = "7.0.0"
9899
spl-token-2022 = { version = "7", no-default-features = true, features = [
99100
"no-entrypoint",
100101
] }
101-
pinocchio = { version = "0.8.1" }
102+
pinocchio = { version = "0.8.4" }
102103
bs58 = "^0.5.1"
103104

104105
# Anchor
@@ -141,17 +142,17 @@ light-hash-set = { version = "1.2.0", path = "program-libs/hash-set" }
141142
light-indexed-merkle-tree = { version = "1.1.0", path = "program-libs/indexed-merkle-tree" }
142143
light-concurrent-merkle-tree = { version = "1.1.0", path = "program-libs/concurrent-merkle-tree" }
143144
light-client = { path = "sdk-libs/client", version = "0.9.1" }
144-
light-hasher = { path = "program-libs/hasher", version = "1.1.0" }
145-
light-macros = { path = "program-libs/macros", version = "1.1.0" }
145+
light-hasher = { path = "program-libs/hasher", version = "3.0.0" }
146+
light-macros = { path = "program-libs/macros", version = "2.0.0" }
146147
light-merkle-tree-reference = { path = "program-tests/merkle-tree", version = "1.1.0" }
147148
light-heap = { path = "program-libs/heap", version = "1.1.0" }
148-
light-prover-client = { path = "prover/client", version = "1.2.0" }
149-
light-sdk = { path = "sdk-libs/sdk", version = "0.11.0" }
150-
light-sdk-macros = { path = "sdk-libs/macros", version = "0.4.0" }
151-
light-compressed-account = { path = "program-libs/compressed-account", version = "0.1.0" }
152-
light-account-checks = { path = "program-libs/account-checks", version = "0.1.0" }
153-
light-verifier = { path = "program-libs/verifier", version = "1.1.0" }
154-
light-zero-copy = { path = "program-libs/zero-copy", version = "0.1.0" }
149+
light-prover-client = { path = "prover/client", version = "1.3.0" }
150+
light-sdk = { path = "sdk-libs/sdk", version = "0.12.0" }
151+
light-sdk-macros = { path = "sdk-libs/macros", version = "0.6.0" }
152+
light-compressed-account = { path = "program-libs/compressed-account", version = "0.2.0" }
153+
light-account-checks = { path = "program-libs/account-checks", version = "0.2.0" }
154+
light-verifier = { path = "program-libs/verifier", version = "2.0.0" }
155+
light-zero-copy = { path = "program-libs/zero-copy", version = "0.2.0" }
155156
photon-api = { path = "sdk-libs/photon-api", version = "0.50.0" }
156157
forester-utils = { path = "forester-utils", version = "1.2.0" }
157158
account-compression = { path = "programs/account-compression", version = "1.2.0", features = [
@@ -174,7 +175,7 @@ light-batched-merkle-tree = { path = "program-libs/batched-merkle-tree", version
174175
light-merkle-tree-metadata = { path = "program-libs/merkle-tree-metadata", version = "0.1.0" }
175176
aligned-sized = { path = "program-libs/aligned-sized", version = "1.1.0" }
176177
light-bloom-filter = { path = "program-libs/bloom-filter", version = "0.1.0" }
177-
light-bounded-vec = { version = "1.1.0", git = "https://github.com/lightprotocol/program-libs", rev = "cf87f3e002d8a7dd40dd19d9387e73398cdcfef8" }
178+
light-bounded-vec = { version = "1.1.0", git = "https://github.com/lightprotocol/program-libs", rev = "f5aa99e4617672bab00073377a2db92e42610a73" }
178179
light-poseidon = { version = "0.3.0" }
179180
light-test-utils = { path = "program-tests/utils", version = "1.2.1" }
180181
light-indexed-array = { path = "program-libs/indexed-array", version = "0.1.0" }

0 commit comments

Comments
 (0)