The goal of this issue is to track the required follow up issues after #2188 is merged.
Required for immediate Gateway integration
Personally I don't think 3 is needed, we can just use a BasicWallet account with NoAuth for the account that creates CLAIM notes.
Not required for Gateway integration, but required for production bridge flow
For 3, this is the Solidity _verifyLeaf() implementation: https://github.com/agglayer/agglayer-contracts/blob/e468f9b0967334403069aa650d9f1164b1731ebb/contracts/v2/PolygonZkEVMBridgeV2.sol#L908
@bobbinth @mmagician - is there anything else needed to add to this list for immediate Gateway integration?
The goal of this issue is to track the required follow up issues after #2188 is merged.
Required for immediate Gateway integration
AccountId#2229create_claim_note()CLAIMnotesPersonally I don't think 3 is needed, we can just use a
BasicWalletaccount withNoAuthfor the account that createsCLAIMnotes.Not required for Gateway integration, but required for production bridge flow
getLeaf()in MASM: ImplementgetLeafValue()in MASM #2220Feltscaling down procedure (per spec/comment): Convert asset amounts between Miden and Ethereum #2011 (comment)_verifyLeaf()in MASM and tie it intommr_frontier_keccakwhich @Fumuran is working on: Keccak-based MMR frontier (agglayer::collections::mmr_frontier_keccak) #2105build_note_tagin MASM: feat: implementbuild_note_tag_for_local_accountin masm #2235 (Blocked until feat: RefactorNoteTagto contain an arbitraryu32#2219 is merged)batch_pipe_double_wordscontext: Add AgglayerCLAIMnote & bridging in functionality #2188 (comment)originTokenAddresscontext: Add AgglayerCLAIMnote & bridging in functionality #2188 (comment)CLAIMnote & bridging in functionality #2188 (comment)ClaimNoteParamscontext: Add AgglayerCLAIMnote & bridging in functionality #2188 (comment)felts_to_bytes32&bytes32_to_feltswithpacked_u32_elements_to_bytesandbytes_to_packed_u32_elementscontext: Add AgglayerCLAIMnote & bridging in functionality #2188 (comment)For 3, this is the Solidity
_verifyLeaf()implementation: https://github.com/agglayer/agglayer-contracts/blob/e468f9b0967334403069aa650d9f1164b1731ebb/contracts/v2/PolygonZkEVMBridgeV2.sol#L908@bobbinth @mmagician - is there anything else needed to add to this list for immediate Gateway integration?