Ver código fonte

Aztec integration update (#4531)

* Aztec-Wormhole / Core Contract & Guardian (#1)

* aztec initial commit

* changes

* Initial structs commit

* changes

* changes

* changes

* expire guardian set

* publishMessage Implementation

* publishMessage changes

* initial watcher implementation

* aztec config

* preliminary work

* watcher changes

* watcher updates

* PR review

* PR review

* PR Review Changes

* Changes

* Changes

* PR Review Changes

* Gitignore

* Revert .env.blast.testnet

* Delete aztec/contracts/codegenCache.json

* Delete aztec/codegenCache.json

* Remove .DS_Store file

* Fix watcher & PR review comment

* Update sdk/vaa/structs.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix bug in node.go (#2)

* Remove extraneous diff

* Add aztec to Tilt

* Relayer Implementation & Verify VAA (#4)

* aztec initial commit

* changes

* Initial structs commit

* changes

* changes

* changes

* expire guardian set

* publishMessage Implementation

* publishMessage changes

* initial watcher implementation

* aztec config

* preliminary work

* watcher changes

* watcher updates

* PR review

* PR review

* PR Review Changes

* Changes

* Changes

* PR Review Changes

* Gitignore

* Revert .env.blast.testnet

* Delete aztec/contracts/codegenCache.json

* Delete aztec/codegenCache.json

* Remove .DS_Store file

* Fix watcher & PR review comment

* Update sdk/vaa/structs.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Relayer Implementation & Verify VAA

* Relayer

* Relayer

* Delete relayer compiled file

* Relayer dummy implementation for receiving in aztec

* Aztec core contracts

* PR Review changes to go.mod

* PR Review changes

* Changes

* Fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Consistency Levels Implementation (#11)

* Consistency Levels Implementation

* Add Filter Based on contract Address for Logs

* Mutex Lock fix (#12)

* Refactoring to add defer

* Watcher & Functionallity Tests (#13)

Watcher & functionallity tests

* Minor fixes (#14)

* Minor fixes

* Update to v0.85.0

* Relayer fixes (#15)

* added wormhole core on aztec without token functionality (#17)

* added wormhole core on aztec without token functionality

* fixed pxe url & added consistency level & increased size of payload

* Integration Fixes (#18)

* Integration Fixes

* Removing unused simulation function

* Change default contract in relayer for consistency

* Format changes & Improvements (#20)

* Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec RPC changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Integration fixes working

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* txHash fix

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Integration fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements & unit tests fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Relayer Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* split payment into public & private

* Private flow changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* Testnet fixes (#22)

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes (#23)

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* updated hardcoded addresses

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* Wormhole Contracts Aztec (#25)

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Contract Fixes & Guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Parse & Verify function & Tests

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Tests Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Finalized Contracts & JS service for relaying and script for extracting guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Finalized Contracts & JS service for relaying and script for extracting guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Branch Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Branch Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Implementation (#4436)

* Aztec-Wormhole / Core Contract & Guardian (#1)

* aztec initial commit

* changes

* Initial structs commit

* changes

* changes

* changes

* expire guardian set

* publishMessage Implementation

* publishMessage changes

* initial watcher implementation

* aztec config

* preliminary work

* watcher changes

* watcher updates

* PR review

* PR review

* PR Review Changes

* Changes

* Changes

* PR Review Changes

* Gitignore

* Revert .env.blast.testnet

* Delete aztec/contracts/codegenCache.json

* Delete aztec/codegenCache.json

* Remove .DS_Store file

* Fix watcher & PR review comment

* Update sdk/vaa/structs.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix bug in node.go (#2)

* Remove extraneous diff

* Add aztec to Tilt

* Relayer Implementation & Verify VAA (#4)

* aztec initial commit

* changes

* Initial structs commit

* changes

* changes

* changes

* expire guardian set

* publishMessage Implementation

* publishMessage changes

* initial watcher implementation

* aztec config

* preliminary work

* watcher changes

* watcher updates

* PR review

* PR review

* PR Review Changes

* Changes

* Changes

* PR Review Changes

* Gitignore

* Revert .env.blast.testnet

* Delete aztec/contracts/codegenCache.json

* Delete aztec/codegenCache.json

* Remove .DS_Store file

* Fix watcher & PR review comment

* Update sdk/vaa/structs.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Relayer Implementation & Verify VAA

* Relayer

* Relayer

* Delete relayer compiled file

* Relayer dummy implementation for receiving in aztec

* Aztec core contracts

* PR Review changes to go.mod

* PR Review changes

* Changes

* Fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Consistency Levels Implementation (#11)

* Consistency Levels Implementation

* Add Filter Based on contract Address for Logs

* Mutex Lock fix (#12)

* Refactoring to add defer

* Watcher & Functionallity Tests (#13)

Watcher & functionallity tests

* Minor fixes (#14)

* Minor fixes

* Update to v0.85.0

* Relayer fixes (#15)

* added wormhole core on aztec without token functionality (#17)

* added wormhole core on aztec without token functionality

* fixed pxe url & added consistency level & increased size of payload

* Integration Fixes (#18)

* Integration Fixes

* Removing unused simulation function

* Change default contract in relayer for consistency

* Format changes & Improvements (#20)

* Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec RPC changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Integration fixes working

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* txHash fix

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Integration fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements & unit tests fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Relayer Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* split payment into public & private

* Private flow changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* Testnet fixes (#22)

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes (#23)

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* updated hardcoded addresses

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* Wormhole Contracts Aztec (#25)

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Contract Fixes & Guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Parse & Verify function & Tests

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Tests Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Finalized Contracts & JS service for relaying and script for extracting guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Finalized Contracts & JS service for relaying and script for extracting guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Branch Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Branch Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Josh Klopfenstein <git@joshklop.com>
Co-authored-by: MBelegris <35403627+MBelegris@users.noreply.github.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Build Fixes (#4437)

* Aztec-Wormhole / Core Contract & Guardian (#1)

* aztec initial commit

* changes

* Initial structs commit

* changes

* changes

* changes

* expire guardian set

* publishMessage Implementation

* publishMessage changes

* initial watcher implementation

* aztec config

* preliminary work

* watcher changes

* watcher updates

* PR review

* PR review

* PR Review Changes

* Changes

* Changes

* PR Review Changes

* Gitignore

* Revert .env.blast.testnet

* Delete aztec/contracts/codegenCache.json

* Delete aztec/codegenCache.json

* Remove .DS_Store file

* Fix watcher & PR review comment

* Update sdk/vaa/structs.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix bug in node.go (#2)

* Remove extraneous diff

* Add aztec to Tilt

* Relayer Implementation & Verify VAA (#4)

* aztec initial commit

* changes

* Initial structs commit

* changes

* changes

* changes

* expire guardian set

* publishMessage Implementation

* publishMessage changes

* initial watcher implementation

* aztec config

* preliminary work

* watcher changes

* watcher updates

* PR review

* PR review

* PR Review Changes

* Changes

* Changes

* PR Review Changes

* Gitignore

* Revert .env.blast.testnet

* Delete aztec/contracts/codegenCache.json

* Delete aztec/codegenCache.json

* Remove .DS_Store file

* Fix watcher & PR review comment

* Update sdk/vaa/structs.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Relayer Implementation & Verify VAA

* Relayer

* Relayer

* Delete relayer compiled file

* Relayer dummy implementation for receiving in aztec

* Aztec core contracts

* PR Review changes to go.mod

* PR Review changes

* Changes

* Fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Consistency Levels Implementation (#11)

* Consistency Levels Implementation

* Add Filter Based on contract Address for Logs

* Mutex Lock fix (#12)

* Refactoring to add defer

* Watcher & Functionallity Tests (#13)

Watcher & functionallity tests

* Minor fixes (#14)

* Minor fixes

* Update to v0.85.0

* Relayer fixes (#15)

* added wormhole core on aztec without token functionality (#17)

* added wormhole core on aztec without token functionality

* fixed pxe url & added consistency level & increased size of payload

* Integration Fixes (#18)

* Integration Fixes

* Removing unused simulation function

* Change default contract in relayer for consistency

* Format changes & Improvements (#20)

* Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec RPC changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Integration fixes working

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* txHash fix

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Integration fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements & unit tests fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Relayer Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* split payment into public & private

* Private flow changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* Testnet fixes (#22)

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes (#23)

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* updated hardcoded addresses

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* Wormhole Contracts Aztec (#25)

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Contract Fixes & Guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Parse & Verify function & Tests

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Tests Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Finalized Contracts & JS service for relaying and script for extracting guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Finalized Contracts & JS service for relaying and script for extracting guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Branch Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Branch Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Josh Klopfenstein <git@joshklop.com>
Co-authored-by: MBelegris <35403627+MBelegris@users.noreply.github.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* 1.0.0-staging.6 update

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Deployed Contract

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Deployed Contract

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes & Unit Testing - Broken

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testing

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* tests

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* fix VAA input in test; delete unused function.

* Testnet Changes

* corrected versions, in-script PXE, redeployed wormhole

* capture rig

* remove loop in signature verification, update contract address

* update contract address

* WIP: deployment script

* fix: correct funding logic in service script

* WIP: deployment script

* add readme

* update contract address in json

* remove extra file

* update contract address

* fixes

* fixes

* fixes

* updates based on wh changes

* wh changes

* nolint for reobserver, not implemented in aztec

* nolint

* generate publicrpc.pb.go

* update deployment documentation

* add aztec-specific terms to cspell

* fix cspell-custom-words order

* fix cspell-custom-words order

* update Aztec core contract address

* Aztec Testnet (#4439)

* Aztec-Wormhole / Core Contract & Guardian (#1)

* aztec initial commit

* changes

* Initial structs commit

* changes

* changes

* changes

* expire guardian set

* publishMessage Implementation

* publishMessage changes

* initial watcher implementation

* aztec config

* preliminary work

* watcher changes

* watcher updates

* PR review

* PR review

* PR Review Changes

* Changes

* Changes

* PR Review Changes

* Gitignore

* Revert .env.blast.testnet

* Delete aztec/contracts/codegenCache.json

* Delete aztec/codegenCache.json

* Remove .DS_Store file

* Fix watcher & PR review comment

* Update sdk/vaa/structs.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix bug in node.go (#2)

* Remove extraneous diff

* Add aztec to Tilt

* Relayer Implementation & Verify VAA (#4)

* aztec initial commit

* changes

* Initial structs commit

* changes

* changes

* changes

* expire guardian set

* publishMessage Implementation

* publishMessage changes

* initial watcher implementation

* aztec config

* preliminary work

* watcher changes

* watcher updates

* PR review

* PR review

* PR Review Changes

* Changes

* Changes

* PR Review Changes

* Gitignore

* Revert .env.blast.testnet

* Delete aztec/contracts/codegenCache.json

* Delete aztec/codegenCache.json

* Remove .DS_Store file

* Fix watcher & PR review comment

* Update sdk/vaa/structs.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Relayer Implementation & Verify VAA

* Relayer

* Relayer

* Delete relayer compiled file

* Relayer dummy implementation for receiving in aztec

* Aztec core contracts

* PR Review changes to go.mod

* PR Review changes

* Changes

* Fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Consistency Levels Implementation (#11)

* Consistency Levels Implementation

* Add Filter Based on contract Address for Logs

* Mutex Lock fix (#12)

* Refactoring to add defer

* Watcher & Functionallity Tests (#13)

Watcher & functionallity tests

* Minor fixes (#14)

* Minor fixes

* Update to v0.85.0

* Relayer fixes (#15)

* added wormhole core on aztec without token functionality (#17)

* added wormhole core on aztec without token functionality

* fixed pxe url & added consistency level & increased size of payload

* Integration Fixes (#18)

* Integration Fixes

* Removing unused simulation function

* Change default contract in relayer for consistency

* Format changes & Improvements (#20)

* Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec RPC changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Upgrade to 0.87.2

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Integration fixes working

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* txHash fix

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Integration fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements & unit tests fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Relayer Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* split payment into public & private

* Private flow changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* Testnet fixes (#22)

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes (#23)

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* updated hardcoded addresses

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>

* Wormhole Contracts Aztec (#25)

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Initial work for parse and verify

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Contract Fixes & Guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Parse & Verify function & Tests

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Tests Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Finalized Contracts & JS service for relaying and script for extracting guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Finalized Contracts & JS service for relaying and script for extracting guardian public keys

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Improvements

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Branch Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Branch Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Node: Remove obsolete L1Finalizer (#4434)

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* build fixes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* 1.0.0-staging.6 update

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Aztec Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Reserving chanID for Aztec (#4440)

* Reserving chanID for Aztec

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Reserving chanID for Aztec

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Reserving chanID for Aztec

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* node: Add emitters for mUSD deployment to NTT Accountant (#4435)

* node: Add emitters for mUSD deployment to NTT Accountant

* Fixed chain IDs for mUSD Wormhole Transceivers

* Deployed Contract

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Deployed Contract

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* docs: Add NTT-related information to Accountant whitepaper (#4422)

* docs: Add NTT-related information to Accountant whitepaper

* Doc: Update guardian doc (#4427)

* Doc: Update guardian doc

* Doc: Code review rework

* Testnet Changes

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* node: Fix marshaling for MessagePublications (#4428)

- Correct marshaling for MessagePublication to include the newer fields
  added to this struct (Unreliable, VerificationState)
- Implement marshal/unmarshal in new methods on MessagePublication that
  conform to the standard Go marshaling interfaces
- Upgrades the Governor's database methods to use the new format
- Add instructions on how to do a Governor database migration

Previously, these fields were not marshaled but this had little effect
as the MessagePublication was only unmarshaled by the Governor which did
not makes use of the new fields.
However, the Verification State will be required by the Transfer
Verifier and Notary, so it's now necessary to fix marshaling.

Chainlock
- Remove deprecated UnmarshalOldMessagePublicationWithTxHash function
- Replace basic TestUnmarshalError with comprehensive table-driven TestMessagePublicationUnmarshalBinaryErrors
- Add test cases covering all error conditions for new Unmarshal
  function
- Add deprecation comments to legacy test functions

Governor
- Update PendingTransfer to use new MarshalBinary/UnmarshalBinary methods
- Increment version prefixes: GOV:XFER3→XFER4, GOV:PENDING4→PENDING5
- Remove unmarshalOldTransfer function, consolidate to UnmarshalTransfer
- Add comprehensive documentation for Transfer and PendingTransfer types
- Update test expectations for new version prefixes

* Node: Remove unnecessary chain ID tests (#4449)

* sui: update wormhole upgrade script

* sui: update token bridge upgrade script

* sui: update testnet published-at addresses

* EVM/Node: Custom consistency level (#4406)

* eth: Custom consistency Level

* eth: Update TestCustomConsistencyLevel

* Node: Custom consistency level

* Add integration tests

* Move testing stuff

* Node: Code review rework

* Test: Simplify tests

* Doc: Update white paper

* Test: Use a different private key

* Node: Code review rework

* node: Update Governor token list

* Github: Remove Bruce as code owner (#4453)

* Node: Remove deprecated chains (#4446)

* Node: Remove deprecated chains

This chain removes references to Terra, Terra2, Oasis, Aurora, Karura, Acala, XLPA, Snaxchain and Blast from the guardian.

This includes removing them from the go SDK and the protobuf. This involves leaving comments indicating that they are obsolete so no one reuses the chain IDs.

It turns out that Tilt does not pass when Terra and Terra2 are removed (wormchain-deploy fails on the ibc-relayer). Therefore I left those two chains in the guardian, but only allow them to run in UnsafeDevNet (Tilt) mode.

The ts sdk in the monorepo has been deprecated and is no longer maintained. (If you dig deeper, you'll see it does not support many of the newer chains.) At some point, someone should probably rip that out all together, but we can't right now because lots of tests and tools still use it.

I created an issue for the Core Protocol Team to fix the tilt issue and finish removing the Terras.

* docs: Clarify tokenfactory restrictions (#4403)

- Add information about tokenfactory restrictions. These can be
  confirmed by reading through 5255e933d68629f0643207b0f9d3fa797af5cbf7
  where the module was added originally, as well as reviewing the Token
  Factory's capabilities configuration within Wormchain's app.go file.
- Remove documentation for unsupported message.
- Add link to upstream tokenfactory documentation.

* Testnet Changes & Unit Testing - Broken

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* Testing

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* tests

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>

* ci: Fix lint issues raised by new golangci-lint and clippy versions (#4460)

* ci: Upgrade golangci-lint version
* Add nolint/TODOs for new noctx violations (All of these warnings should be fixed. However, this is currently
  blocking CI and resolving that is the immediate issue to solve.)
* add TODO for exhaustruct
* fix clippy warnings in terra, cosmwasm

* ci: Specify permissions on job

* update nodejs (#4409) (#4410)

* noot

* oh they havent finished publishing the images yet lol

* oops

* adjust the parse tests

* noot

* noot

* Add guardian set prototxt files and short readme (#4466)

* Update CODEOWNERS (#4465)

Replace @nik-suri with @mdulin2 as a CODEOWNER for `cosmwasm`

* fix VAA input in test; delete unused function.

* Testnet Changes

* corrected versions, in-script PXE, redeployed wormhole

* Add support for XRPL-EVM (#4459)

Deploy core and tokenbridge contracts to xrplevm

Testnet deployment

```
-- Wormhole Core Addresses --------------------------------------------------
| Setup address                | 0xe74F20a5A07921f63F2d55B8aE6d14f4AD490938 |
| Implementation address       | 0x32b3b68e9f053E724Da0A9e57F062BFaE6695350 |
| Wormhole address             | 0xaBf89de706B583424328B54dD05a8fC986750Da8 |
-----------------------------------------------------------------------------

 -- TokenBridge Addresses ----------------------------------------------------
| Token Implementation address | 0x97791aB7E653c1E6D87Bf421B3B71e0154Dfb225 |
| BridgeSetup address          | 0x27ab99256eCbE78876Abb3671262c61F937D6eC2 |
| BridgeImplementation address | 0xC699482c17d43b7D5349F2D3f58d61fEFA972B8c |
| TokenBridge address          | 0x7d8eBc211C4221eA18E511E4f0fD50c5A539f275 |
-----------------------------------------------------------------------------

./verify -r https://rpc.testnet.xrplevm.org/ -c XLRPEVM build-forge/Implementation.sol/Implementation.json 0x32b3b68e9f053E724Da0A9e57F062BFaE6695350
Deployed bytecode of 0x32b3b68e9f053E724Da0A9e57F062BFaE6695350 on XLRPEVM
matches build-forge/Implementation.sol/Implementation.json
```

Mainnet deployment

```
-- Wormhole Core Addresses --------------------------------------------------
| Setup address                | 0xe74F20a5A07921f63F2d55B8aE6d14f4AD490938 |
| Implementation address       | 0x32b3b68e9f053E724Da0A9e57F062BFaE6695350 |
| Wormhole address             | 0xaBf89de706B583424328B54dD05a8fC986750Da8 |
-----------------------------------------------------------------------------

-- TokenBridge Addresses ----------------------------------------------------
| Token Implementation address | 0x3Fbd222f7ef286E2366cB3669640Cf67d48b3cef |
| BridgeSetup address          | 0x02dC9B094A3Bc68B2116F1b914fB0B5e523e5781 |
| BridgeImplementation address | 0x4eba0c3A3B6705D50Aa5417494125bD745ADe257 |
| TokenBridge address          | 0x47F5195163270345fb4d7B9319Eda8C64C75E278 |
-----------------------------------------------------------------------------

./verify -r https://rpc.xrplevm.org/ -c XLRPEVM build-forge/Implementation.sol/Implementation.json
0x32b3b68e9f053E724Da0A9e57F062BFaE6695350
Deployed bytecode of 0x32b3b68e9f053E724Da0A9e57F062BFaE6695350 on XLRPEVM
matches build-forge/Implementation.sol/Implementation.json
```

Update watcher with XRPL-EVM mainnet and testnet values

* capture rig

* Testnet XRPLEVM SR constants (#4467)

* fix(flags): update xrplEvmContract flag (#4477)

* add XRPLEVM tokenbridge and SR addresses to sdk constants (#4479)

* add XRPLEVM tokenbridge addresses to sdk constants

set mainnet tokenbridge address to 00000000000000000000000047F5195163270345fb4d7B9319Eda8C64C75E278

set testnet tokenbridge address to 0000000000000000000000007d8eBc211C4221eA18E511E4f0fD50c5A539f275

* add XRPL mainnet standard relayer address

add XRPL to mainnet governor

* omit xrpl from governor mainnet token test

* remove loop in signature verification, update contract address

* update contract address

* WIP: deployment script

* node: governor token list update (#4457)

Co-authored-by: djb15 <djb15@users.noreply.github.com>

* feat (watcher): add linea mainnet (#4464)

* feat (watcher): add linea mainnet

* chore: lint

* add linea mainnet tokenbridge address

* add linea to governor mainnet chains

* fix: correct funding logic in service script

* WIP: deployment script

* add readme

* update contract address in json

* remove extra file

* update contract address

* node(transfer verifier): Update TransferIsValid method to return results per Message rather than per Receipt (#4451)

* txverifier: independently process multiple messages in one receipt
- Update TransferIsValid method to support per-message validation
- Add msgID parameter (equivalent to VAA ID) to TransferIsValid method
  signature to enable validation of specific messages within transaction
  receipts. Update caching mechanism to store per-message validation
  results instead of per-transaction results. Modify receipt processing
  to track message-specific evaluations and validate transfer amounts on
  a per-message basis.

Key changes:
- Add msgID parameter to TransferIsValid method for targeted message validation
- Replace single Result field in evaluation struct with Results map keyed by message ID
- Update receipt summary to track transfers per message ID rather than aggregated amounts
- Modify invariant checking to validate each message's transfers individually
- Add MsgID method to generate unique message identifiers from LogMessagePublished events
- Add sequence field to LogMessagePublished struct for message identification

* fix(transfer verifier): Use Uint64() instead of parseUint for EVM chain ID conversion

* Add CODEOWNERS for Guardian Dependency Upgrades

Allows the security team to review dependencies for major components before being upgraded.

* node: change default ethereum testnet to sepolia from holesky (#4484)

* Update vaa.ChainIDEthereum testnet to use Sepolia instead of Goerli

* holesky, not goerli

* don't disable vaa.ChainIDSepolia

* Update chain_config.go

* Update tests

* fixes

* fixes

* fixes

* updates based on wh changes

* wh changes

* nolint for reobserver, not implemented in aztec

* nolint

* generate publicrpc.pb.go

* update deployment documentation

* add aztec-specific terms to cspell

* fix cspell-custom-words order

* fix cspell-custom-words order

* update Aztec core contract address

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Josh Klopfenstein <git@joshklop.com>
Co-authored-by: MBelegris <35403627+MBelegris@users.noreply.github.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>
Co-authored-by: bruce-riley <96066700+bruce-riley@users.noreply.github.com>
Co-authored-by: Nikhil Suri <nikhilsuri@comcast.net>
Co-authored-by: John Saigle <4022790+johnsaigle@users.noreply.github.com>
Co-authored-by: Csongor Kiss <kiss.csongor.kiss@gmail.com>
Co-authored-by: Dirk Brink <hello@dirk.tech>
Co-authored-by: a <edward9.lee@gmail.com>
Co-authored-by: Adam <20446095+aadam-10@users.noreply.github.com>
Co-authored-by: jorem321 <jorgearce321@gmail.com>
Co-authored-by: thunkar <gregojquiros@gmail.com>
Co-authored-by: Aaron Clark <51387046+aapclark@users.noreply.github.com>
Co-authored-by: Hernán Di Pietro <hernan.di.pietro@gmail.com>
Co-authored-by: André Claro <andre.claro@gmail.com>
Co-authored-by: djb15 <djb15@users.noreply.github.com>
Co-authored-by: Edgar Barrantes <edgar@barrantes.dev>
Co-authored-by: Jason Matthyser <jasonmatthyser@gmail.com>
Co-authored-by: Maxwell "ꓘ" Dulin <mdulin2@zagmail.gonzaga.edu>

* Aztec fixes

* comments deletion

* revert l1_verifier

* comments deletion

* comments deletion

* update version

* Small fixes

* migrate noir contracts to v2.0.3, make messaging fee optional

* contract cleanup

* contract cleanup

* remove hardcoded addresses; set access control and address change functions

* chore: update deployment addresses and instructions

* chore: update Wormhole contract addresses

* chore: remove old private keys from verification service, use .env instead

* fix: spellcheck lint error

* feat: migrate vaa-verification-service to Aztec v2.0.3

- Update dependencies to v2.0.3
- Fix import: getContractInstanceFromDeployParams → getContractInstanceFromInstantiationParams
- Recompile contracts with aztec-nargo and aztec-postprocess-contract
- Add mandatory 'from' parameter to contract method calls
- Remove problematic profiling call that caused errors
- Service now successfully connects to testnet and processes VAA verification requests

* fix: deployment instructions should target new testnet

* chore: update deployment contract addresses

* chore: update deployment addresses

* fix(watcher): replace io.ReadAll with common.SafeRead to prevent DoS

* chore: update Wormhole core contract artifact

* fix linter error

* fix linter error

* remove aztec relayer (should be in demo app repo)

* ci: fix cspell command to also run on subdirectories (#4425)

* ci: fix cspell command to also run on subdirectories
* remove unnecessary config specification and comments

* scripts: fixes `make clean` for SVM in contract-upgrade-governance (#4555)

* update deployment instructions to v3.0.0-devnet.2

* chore: update deployment addresses

---------

Signed-off-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: Stavros Vlachakis <89769224+svlachakis@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Josh Klopfenstein <git@joshklop.com>
Co-authored-by: MBelegris <35403627+MBelegris@users.noreply.github.com>
Co-authored-by: MBelegris <mikeybel98@gmail.com>
Co-authored-by: stavrosvl7 <stavrosvl7@gmail.com>
Co-authored-by: thunkar <gregojquiros@gmail.com>
Co-authored-by: Edgar Barrantes <edgar@barrantes.dev>
Co-authored-by: bruce-riley <96066700+bruce-riley@users.noreply.github.com>
Co-authored-by: Nikhil Suri <nikhilsuri@comcast.net>
Co-authored-by: John Saigle <4022790+johnsaigle@users.noreply.github.com>
Co-authored-by: Csongor Kiss <kiss.csongor.kiss@gmail.com>
Co-authored-by: Dirk Brink <hello@dirk.tech>
Co-authored-by: a <edward9.lee@gmail.com>
Co-authored-by: Adam <20446095+aadam-10@users.noreply.github.com>
Co-authored-by: Aaron Clark <51387046+aapclark@users.noreply.github.com>
Co-authored-by: Hernán Di Pietro <hernan.di.pietro@gmail.com>
Co-authored-by: André Claro <andre.claro@gmail.com>
Co-authored-by: djb15 <djb15@users.noreply.github.com>
Co-authored-by: Jason Matthyser <jasonmatthyser@gmail.com>
Co-authored-by: Maxwell "ꓘ" Dulin <mdulin2@zagmail.gonzaga.edu>
Co-authored-by: scnale <sebinale@gmail.com>
Jorge Arce-Garro 3 semanas atrás
pai
commit
7060126e9d

+ 0 - 1
.github/workflows/build.yml

@@ -306,7 +306,6 @@ jobs:
       # Pinned version of the v6 tag, which is a lightweight and hence mutable tag
       - uses: streetsidesoftware/cspell-action@214db1e3138f326d33b7a6a51c92852e89ab0618
         with:
-          # NOTE: Keep this command in sync with `scripts/lint.sh`
           # For now, only lint markdown files
           files: "**/*.md"
           inline: warning

+ 1 - 1
Tiltfile

@@ -235,7 +235,7 @@ def build_node_yaml():
                     "--aztecRPC",
                     "http://aztec-sandbox:8090",
                     "--aztecContract",
-                    "0x0e61ae3f9f51ae20042f48674e2bf1c19cde5c916ae3a5ed114d84c873cc9a8f",
+                    "0x240ca8722f92a439009fd185dddb4a315de26dd34c0067de2d8b9c58afd87432",
                 ]
 
             if sui:

+ 1 - 1
aztec/addresses.json

@@ -1,3 +1,3 @@
 {
-  "token": "0x08239f11b65e1c3034c344d4d6d83b9329bc0e6c72ccc43e8beb2566a84c27a4"
+  "token": "0x0f3031b11cba7a2f57b1ef122f495a8779a741cfc8b42c45745cb47e68659f2a"
 }

+ 20 - 9
aztec/contracts/DEPLOYMENT.md

@@ -36,10 +36,11 @@ If you prefer to deploy manually or need more control over the process, follow t
 ### 1. Set Environment Variables
 
 ```bash
-# Testnet configuration
-export NODE_URL=https://aztec-testnet-fullnode.zkv.xyz
-export SPONSORED_FPC_ADDRESS=0x299f255076aa461e4e94a843f0275303470a6b8ebe7cb44a471c66711151e529
-# FPC address valid as of v2.0.3, get the latest address via % aztec get-canonical-sponsored-fpc-address
+# Devnet configuration
+export VERSION=3.0.0-devnet.2
+export NODE_URL=https://devnet.aztec-labs.com/
+aztec-up # pull the devnet image
+export SPONSORED_FPC_ADDRESS=$(aztec get-canonical-sponsored-fpc-address | awk '{print $NF}')
 
 # Owner private key (32-byte)
 export OWNER_SK=<contract_owner_private_key>
@@ -108,27 +109,36 @@ aztec-wallet register-contract \
     --salt 0
 ```
 
+#### 3c. Register Sponsored FPC Contract in Local PXE Cache
+
+Before deploying accounts with sponsored fees, make sure your PXE knows about the canonical SponsoredFPC contract. This avoids simulation errors like `No contract instance found for address ...` when the CLI attempts to use the sponsored fee payer.
+
+```bash
+aztec-wallet register-contract \
+    $SPONSORED_FPC_ADDRESS SponsoredFPC \
+    --node-url $NODE_URL \
+    --alias sponsoredfpc
+```
 ## Account Deployment
 
 ### 4. Deploy Accounts
 
 > **Note**: You may encounter `Timeout awaiting isMined` errors, but this is normal. Continue with the next step.
+> **Aztec 3.0.0-devnet.2 update**: `aztec-wallet deploy-account` now expects the account alias (or address) as a positional argument instead of the `--from` flag used in earlier versions.
 
 #### 4a. Deploy Owner Wallet
 
 ```bash
-aztec-wallet deploy-account \
+aztec-wallet deploy-account owner-wallet \
     --node-url $NODE_URL \
-    --from owner-wallet \
     --payment method=fpc-sponsored,fpc=contracts:sponsoredfpc
 ```
 
 #### 4b. Deploy Receiver Wallet
 
 ```bash
-aztec-wallet deploy-account \
+aztec-wallet deploy-account receiver-wallet \
     --node-url $NODE_URL \
-    --from receiver-wallet \
     --payment method=fpc-sponsored,fpc=contracts:sponsoredfpc
 ```
 
@@ -200,9 +210,10 @@ aztec-wallet send mint_to_public \
 - Ownership can be transferred by the current owner
 
 ```bash
-# Compile the contract (v2.0.2+ requires two steps)
+# Compile the contract and generate artifacts
 aztec-nargo compile
 aztec-postprocess-contract
+aztec codegen ./src -o src/artifacts
 ```
 
 ### 9. Deploy Wormhole Contract

+ 3 - 3
aztec/contracts/addresses.json

@@ -1,5 +1,5 @@
 {
-  "receiver": "0x08239f11b65e1c3034c344d4d6d83b9329bc0e6c72ccc43e8beb2566a84c27a4",
-  "token": "0x04cdd48c7e047101c6e23d0284cd1bea6862be369e531098529848678079e191",
-  "wormhole": "0x0e61ae3f9f51ae20042f48674e2bf1c19cde5c916ae3a5ed114d84c873cc9a8f"
+  "receiver": "0x0f3031b11cba7a2f57b1ef122f495a8779a741cfc8b42c45745cb47e68659f2a",
+  "token": "0x0ad836f0a25c9d8eb3bdee1de337b283ac144d8c9d62024bcaea8c19e60de0d5",
+  "wormhole": "0x240ca8722f92a439009fd185dddb4a315de26dd34c0067de2d8b9c58afd87432"
 }

Diferenças do arquivo suprimidas por serem muito extensas
+ 29 - 38
aztec/contracts/src/artifacts/Wormhole.ts


+ 2 - 2
aztec/packages/deploy/src/addresses.json

@@ -1,4 +1,4 @@
 {
-  "wormhole": "0x0e61ae3f9f51ae20042f48674e2bf1c19cde5c916ae3a5ed114d84c873cc9a8f",
-  "token": "0x08239f11b65e1c3034c344d4d6d83b9329bc0e6c72ccc43e8beb2566a84c27a4"
+  "wormhole": "0x240ca8722f92a439009fd185dddb4a315de26dd34c0067de2d8b9c58afd87432",
+  "token": "0x0f3031b11cba7a2f57b1ef122f495a8779a741cfc8b42c45745cb47e68659f2a"
 }

+ 1 - 1
aztec/packages/deploy/src/token_address.json

@@ -1,3 +1,3 @@
 {
-  "token_address": "0x08239f11b65e1c3034c344d4d6d83b9329bc0e6c72ccc43e8beb2566a84c27a4"
+  "token_address": "0x0f3031b11cba7a2f57b1ef122f495a8779a741cfc8b42c45745cb47e68659f2a"
 }

+ 1 - 1
aztec/register-contract.mjs

@@ -3,7 +3,7 @@ import { createPXEClient, waitForPXE, loadContractArtifact, AztecAddress, Fr, Po
 import WormholeJson from "./contracts/target/wormhole_contracts-Wormhole.json" with { type: "json" };
 
 const PXE_URL = process.env.PXE_URL || 'http://localhost:8080';
-const CONTRACT_ADDRESS = process.env.CONTRACT_ADDRESS || '0x0e61ae3f9f51ae20042f48674e2bf1c19cde5c916ae3a5ed114d84c873cc9a8f';
+const CONTRACT_ADDRESS = process.env.CONTRACT_ADDRESS || '0x240ca8722f92a439009fd185dddb4a315de26dd34c0067de2d8b9c58afd87432';
 
 async function registerDeployedContract() {
   console.log('🔗 Connecting to PXE...');

+ 1 - 1
aztec/vaa-verification-service.mjs

@@ -22,7 +22,7 @@ const PORT = process.env.PORT || 3000;
 // TESTNET CONFIGURATION
 const NODE_URL = process.env.NODE_URL || 'https://aztec-testnet-fullnode.zkv.xyz/';
 const PRIVATE_KEY = process.env.PRIVATE_KEY; // owner-wallet secret key from .env
-const CONTRACT_ADDRESS = process.env.CONTRACT_ADDRESS || '0x0e61ae3f9f51ae20042f48674e2bf1c19cde5c916ae3a5ed114d84c873cc9a8f'; // Fresh Wormhole contract
+const CONTRACT_ADDRESS = process.env.CONTRACT_ADDRESS || '0x240ca8722f92a439009fd185dddb4a315de26dd34c0067de2d8b9c58afd87432'; // Fresh Wormhole contract
 const SALT = process.env.SALT || '0x0000000000000000000000000000000000000000000000000000000000000000'; // Salt used in deployment
 
 let pxe, nodeClient, wormholeContract, paymentMethod, isReady = false;

+ 5 - 1
node/pkg/watchers/aztec/utils.go

@@ -33,7 +33,11 @@ func GetJSONRPCError(body []byte) (bool, *ErrRPCError) {
 		} `json:"error,omitempty"`
 	}
 
-	if err := json.Unmarshal(body, &errorCheck); err != nil || errorCheck.Error == nil {
+	if err := json.Unmarshal(body, &errorCheck); err != nil {
+		// JSON parsing failed - this is not an RPC error, so return false, nil
+		return false, nil //nolint:nilerr // JSON parsing failure is not an RPC error, function contract requires nil for non-RPC errors
+	}
+	if errorCheck.Error == nil {
 		return false, nil
 	}
 

+ 1 - 1
scripts/contract-upgrade-governance.sh

@@ -464,7 +464,7 @@ elif [ "$chain_name" = "solana" ] || [ "$chain_name" = "fogo" ] || [ "$chain_nam
   cat <<-EOF >> "$instructions_file"
 	## Build
 	\`\`\`shell
-	wormhole/solana $ make clean
+	wormhole/solana $ make SVM=$chain_name clean
 	wormhole/solana $ make NETWORK=mainnet SVM=$chain_name artifacts
 	\`\`\`
 

+ 1 - 2
scripts/lint.sh

@@ -59,8 +59,7 @@ lint(){
     if ! command -v cspell >/dev/null 2>&1; then
         printf "%s\n" "cspell is not installed. Skipping spellcheck"
     else
-    # NOTE: Keep this command in sync with `.github/workflows/build.yml`
-        cspell -c cspell.config.yaml --dictionary cspell-custom-words.txt "**.*md"
+        cspell "*/**.*md"
     fi
     
     # === Go linting

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff