-
Notifications
You must be signed in to change notification settings - Fork 125
Compute claimed global index chain hash #2516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
12124d4
feat: wip CLAIM note flow reorientation
partylikeits1983 79d2cac
wip: build MINT note from aggbridge
partylikeits1983 d951740
wip: created MINT note encodes incorrect public P2ID or public P2ID …
partylikeits1983 ce6e21d
feat: working e2e CLAIM flow reordering
partylikeits1983 57cfbb5
fix: cleanup rm debug.stack
partylikeits1983 c8d1afb
refactor: improve readability of MINT note memory addresses
partylikeits1983 7fd9d76
refactor: fix stack comments
partylikeits1983 8dff792
fix: rm println statements
partylikeits1983 2225fe0
Update crates/miden-agglayer/asm/agglayer/bridge/bridge_config.masm
partylikeits1983 7588547
Update crates/miden-agglayer/asm/agglayer/bridge/bridge_config.masm
partylikeits1983 bd4c3ef
Update crates/miden-agglayer/asm/agglayer/bridge/bridge_config.masm
partylikeits1983 7e5d734
Update crates/miden-agglayer/asm/agglayer/bridge/bridge_config.masm
partylikeits1983 512df0c
Update crates/miden-agglayer/asm/note_scripts/CLAIM.masm
partylikeits1983 74cb97e
Update crates/miden-agglayer/asm/agglayer/bridge/bridge_config.masm
partylikeits1983 7f5ba6f
Update crates/miden-agglayer/asm/agglayer/bridge/bridge_config.masm
partylikeits1983 a77b9a2
Update crates/miden-agglayer/asm/agglayer/bridge/bridge_in.masm
partylikeits1983 6a602df
Update crates/miden-agglayer/asm/agglayer/bridge/bridge_in.masm
partylikeits1983 433dcc4
Update crates/miden-agglayer/asm/agglayer/bridge/bridge_in.masm
partylikeits1983 a0d43bf
feat: add CGI chain hash computation
Fumuran 1e5f5aa
test: [WiP-1] first iteration, not building
Fumuran 8c3dcdf
test: [WiP-2] building state
Fumuran 5f707de
test: updated script, failing
Fumuran 558257d
test: update script (passing)
Fumuran 4450f37
refactor: improve bridge_in doc comments
partylikeits1983 eb33668
refactor: add constants for memory addresses
partylikeits1983 1f6e699
refactor: cleanup memory layout in bridge_in
partylikeits1983 3d2fa15
fix: update comment in CLAIM note
partylikeits1983 66ae6d3
refactor: remove redundant dropw
partylikeits1983 aa46318
Merge branch 'agglayer' into ajl-reorient-claim-note-flow
partylikeits1983 435c5d0
refactor: use execution_hint::ALWAYS
partylikeits1983 55ff197
refactor: rm redundant const note type
partylikeits1983 d0b0a78
refactor: simplify loc_store/load ops in bridge_in
partylikeits1983 46cb5f8
refactor: decompose build_mint_output_note into modular helpers
partylikeits1983 5503ae3
refactor: remove pad(x) stack comments from exec'ed procs
partylikeits1983 b22874f
feat: add constants for attachement types
partylikeits1983 ef477d5
refactor: create ctorage slots for CGI chain hash, use actiual proced…
Fumuran 2d5149b
Merge branch 'ajl-reorient-claim-note-flow' into andrew-compute-cgi-c…
Fumuran f9db262
Merge branch 'agglayer' into ajl-reorient-claim-note-flow
partylikeits1983 3ec49db
Merge branch 'ajl-reorient-claim-note-flow' into andrew-compute-cgi-c…
Fumuran 38e6ea1
refactor: incapsulate CGI hash computation
Fumuran 548d34f
fix: add call to verify_u256_scale_down procedure
partylikeits1983 88de009
refactor: use ATTACHMENT_KIND_NONE const
partylikeits1983 af0deeb
fix: use truncate_stack proc for FPI call & exec compatibility
partylikeits1983 58c84d6
refactor: add get_scale & get_scale_inner for call vs exec
partylikeits1983 9892099
test: update solidity contracts to generate CGI chain hash. Test is f…
Fumuran 9e015fe
Merge branch 'ajl-reorient-claim-note-flow' into andrew-compute-cgi-c…
Fumuran 877b06a
test: fix bug, test is passing
Fumuran a40feb9
chore: fix doc format
Fumuran c46c53e
refactor: use local memory for TOKEN_ADDR_HASH_PTR
partylikeits1983 b41c7dd
refactor: look up faucet by token address only once during claim
partylikeits1983 09dd8d8
fix: fix array comment syntax
partylikeits1983 5558907
refactor: rm pad comments from exec'ed proc
partylikeits1983 93dab0e
refactor: rm swapw & replace w padw
partylikeits1983 b52096e
fix: update comment
partylikeits1983 6da3bac
refactor: refactor is_token_registered proc
partylikeits1983 22e5fc3
chore: more explicit mem constant names
mmagician cfb6211
fix: explicit pad before FPI call
mmagician f22e0cd
refactor: remove unused bridge account ID storage slot from AggLayer …
partylikeits1983 dc72124
chore: opinionated improvements to #2528 (#2602)
mmagician c416871
chore: merge latest agglayer into ajl-reorient-claim-note-flow
partylikeits1983 2679ca1
refactor: move bridge & faucet code from lib.rs to dedicated modules
partylikeits1983 aedbf55
Merge branch 'ajl-reorient-claim-note-flow' into andrew-compute-cgi-c…
Fumuran be00e01
refactor: remove unused code, update list of bridge storage slots, up…
Fumuran dfca654
Merge branch 'agglayer' into andrew-compute-cgi-chain-hash
Fumuran faad1c2
refactor: create constants for local memory offsets
Fumuran 1c4e2d8
refactor: move verifyLeafBridgeHarness to helpers, remove unused code…
Fumuran 91d1443
Merge branch 'agglayer' into andrew-compute-cgi-chain-hash
Fumuran 4563a0f
test: generate CGI chain hash during ClaimAssetTestVectorsRollupTx
Fumuran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
crates/miden-agglayer/solidity-compat/lib/openzeppelin-contracts
Submodule openzeppelin-contracts
added at
dbb610
1 change: 1 addition & 0 deletions
1
crates/miden-agglayer/solidity-compat/lib/openzeppelin-contracts-upgradeable5
Submodule openzeppelin-contracts-upgradeable5
added at
723f8c
3 changes: 2 additions & 1 deletion
3
crates/miden-agglayer/solidity-compat/test-vectors/claim_asset_vectors_local_tx.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
crates/miden-agglayer/solidity-compat/test-vectors/claim_asset_vectors_real_tx.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
crates/miden-agglayer/solidity-compat/test-vectors/claim_asset_vectors_rollup_tx.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.