-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: bridge l1 assets to l2 acvm (#578)
* inbox and message box contracts * outbox * address PR comments * add registry * s/keccak/sha and optimise insert() * chore: move reused test mnemonic into a fixtures file * e2e mock solidity contracts checkpoint * feat: draft noir circuit to consume l1 message * rename l1_token -> non native fix: rename * feat: add pedersen generator for l1 to l2 message secret * feat: create interfaces * feat: scaffold test * feat: initial sol token contract tests * feat: add getL1ToL2Message oracle call * feat: consume dummy cross chain message test * temp * fix: merge remedy * fix: yarn prepare * fix: merge update contracts * feat: scaffold e2e as far as possible, include contentHash in acvm * fix: jsdoc l1_to_l2_message * fix: forge fmt * fix: formatting acir sim * refactor : remove naked modulus declarations * fix: post merge solidity cleanup * fix: convert msgKey to a field element as it will always be one * chore(fmt): forge fmt baby * fix type * nit: check for emitted event * fix: post merge * fix: we please the linter * fix: bruh * fix: refactor contract to be initialisable, fix too issue * refactor(nr): emit_data -> debug_log * nits * fix: post merge spring cleaning * feat: keccak(message[0:4]) in messages * fix: i stg mr format * add .skip to unfinished e2e test --------- Co-authored-by: Rahul Kothari <rahul.kothari.201@gmail.com> Co-authored-by: cheethas <addaboy@gmail.com>
- Loading branch information
1 parent
a1da7f3
commit a19c36e
Showing
49 changed files
with
1,941 additions
and
73 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.