Skip to content

Commit d4dd167

Browse files
wip
add compress_pda helper compress_pda compiling decompress_idempotent.rs wip wip decompress batch idempotent wip add compress_pda_new and compress_multiple_pdas_new native program with decompress done compress_dynamic, decompress_dynamic wip adding anchor testprogram uses sdk fix compilation wip experiment with procmacro skip SLOT check at compress_pda_new wip add_compressible_instructions() works for compress, idl gen works add proc macro decompress_multiple_pdas is working as it should fix decompress_idempotent impl rm expanded add remove_data force apps to pass the whole signer_seeds directly add compressible_config draft add create_config_unchecked and checked use config, add unified header struct (just last_written_slot) for now use hascompressioninfo and compressioninfo add config support to compressible macro add expanded.rs cleanup anchor-derived example add support for multiple address_trees per address space add support for multiple address_trees per address space update macro to multiple address_trees add test-sdk-derived program wip cleanup native macro-derive example wip fix compilation config tests working clean up test_config.rs testing add a separate anchor compress_pda_new version so we dont have redundant serde wip wip wip fix decompress_idempotent anchor add test with 2nd account decompress works with multiple different PDAs cleanup, remove anchor helper decompress_multiple_pdas, fix discriminator writes
1 parent 50778df commit d4dd167

File tree

169 files changed

+17588
-537
lines changed

Some content is hidden

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

169 files changed

+17588
-537
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ members = [
4444
"forester-utils",
4545
"forester",
4646
"sparse-merkle-tree",
47+
"program-tests/anchor-compressible-user",
48+
"program-tests/anchor-compressible-user-derived",
49+
"program-tests/sdk-test-derived",
4750
]
4851

4952
resolver = "2"
@@ -86,6 +89,7 @@ solana-transaction = { version = "2.2" }
8689
solana-transaction-error = { version = "2.2" }
8790
solana-hash = { version = "2.2" }
8891
solana-clock = { version = "2.2" }
92+
solana-rent = { version = "2.2" }
8993
solana-signature = { version = "2.2" }
9094
solana-commitment-config = { version = "2.2" }
9195
solana-account = { version = "2.2" }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-4RnTcc7_oKb1Gwu-1rTQ
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"pages": {
3+
"/_not-found/page": [
4+
"static/chunks/webpack-b1a00a454f308680.js",
5+
"static/chunks/92a7fd7b-32aee8e91079ce89.js",
6+
"static/chunks/403-ddd24d3c59b0271e.js",
7+
"static/chunks/main-app-1506b231624a72fc.js",
8+
"static/chunks/app/_not-found/page-8fbfc9193cd9ff44.js"
9+
],
10+
"/layout": [
11+
"static/chunks/webpack-b1a00a454f308680.js",
12+
"static/chunks/92a7fd7b-32aee8e91079ce89.js",
13+
"static/chunks/403-ddd24d3c59b0271e.js",
14+
"static/chunks/main-app-1506b231624a72fc.js",
15+
"static/css/d10d17f62e225553.css",
16+
"static/chunks/app/layout-a2f449540f2895e1.js"
17+
],
18+
"/page": [
19+
"static/chunks/webpack-b1a00a454f308680.js",
20+
"static/chunks/92a7fd7b-32aee8e91079ce89.js",
21+
"static/chunks/403-ddd24d3c59b0271e.js",
22+
"static/chunks/main-app-1506b231624a72fc.js",
23+
"static/css/0e7ae27fa8e28e9c.css",
24+
"static/chunks/1745547b-11226d72ec1f10f8.js",
25+
"static/chunks/893-e1dd83b96939fade.js",
26+
"static/chunks/app/page-31e01c51ffa24c73.js"
27+
]
28+
}
29+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"/favicon.ico/route":"/favicon.ico","/_not-found/page":"/_not-found","/page":"/"}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"polyfillFiles": [
3+
"static/chunks/polyfills-42372ed130431b0a.js"
4+
],
5+
"devFiles": [],
6+
"ampDevFiles": [],
7+
"lowPriorityFiles": [
8+
"static/-4RnTcc7_oKb1Gwu-1rTQ/_buildManifest.js",
9+
"static/-4RnTcc7_oKb1Gwu-1rTQ/_ssgManifest.js"
10+
],
11+
"rootMainFiles": [
12+
"static/chunks/webpack-b1a00a454f308680.js",
13+
"static/chunks/92a7fd7b-32aee8e91079ce89.js",
14+
"static/chunks/403-ddd24d3c59b0271e.js",
15+
"static/chunks/main-app-1506b231624a72fc.js"
16+
],
17+
"rootMainFilesTree": {},
18+
"pages": {
19+
"/_app": [
20+
"static/chunks/webpack-b1a00a454f308680.js",
21+
"static/chunks/framework-f79a088936f760bc.js",
22+
"static/chunks/main-edbd7a2ed955d2e5.js",
23+
"static/chunks/pages/_app-13efefbed3f705f1.js"
24+
],
25+
"/_error": [
26+
"static/chunks/webpack-b1a00a454f308680.js",
27+
"static/chunks/framework-f79a088936f760bc.js",
28+
"static/chunks/main-edbd7a2ed955d2e5.js",
29+
"static/chunks/pages/_error-78e921a5e7f0b803.js"
30+
]
31+
},
32+
"ampFirstPages": []
33+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"encryption.key":"IPtLDPtCSWdBFnWV/4z3crtfZV21FbmvixpmHrkQldQ=","encryption.expire_at":1754491971992}

examples/browser/nextjs/.next/cache/.tsbuildinfo

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"/Users/swen-code/Developer/light-protocol/examples/browser/nextjs/src/app/layout.tsx":"1","/Users/swen-code/Developer/light-protocol/examples/browser/nextjs/src/app/page.tsx":"2"},{"size":499,"mtime":1724517476596,"results":"3","hashOfConfig":"4"},{"size":6301,"mtime":1750186998864,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","suppressedMessages":"8","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1lgo1ns",{"filePath":"9","messages":"10","suppressedMessages":"11","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/swen-code/Developer/light-protocol/examples/browser/nextjs/src/app/layout.tsx",[],[],"/Users/swen-code/Developer/light-protocol/examples/browser/nextjs/src/app/page.tsx",[],[]]
Binary file not shown.

0 commit comments

Comments
 (0)