bruce-riley
a2d09dad4b
Node: Base watcher support for testnet ( #2424 )
...
* Node: Base watcher support for testnet
* Add a comment
* Add base to rpc dump command
2023-02-23 18:37:35 -05:00
Conor Patrick
bbec427145
accountant: minor cleanup
2023-02-16 18:03:47 -05:00
Conor Patrick
b35480f966
accountant: address review comments for modify governance vaa
2023-02-15 06:23:25 -08:00
Conor Patrick
4640b6ae73
node: add modify governance vaa for token bridge
2023-02-15 06:23:25 -08:00
Conor Patrick
aac92a19e7
wormchain: add migrating contracts with vaa
2023-02-07 12:15:11 -06:00
tbjump
5323453b81
node: add channel read/write type constraints ( #1931 )
2023-01-20 13:15:13 -08:00
Chris Sentman
0f066614b3
sdk: tests for vaa.UnmarshalBody()
...
Full coverage save for a non-empty payload read error.
2023-01-03 09:59:56 -05:00
Chris Sentman
66c8399dcb
sdk: test ChainID.String()
...
Completing coverage for method.
2023-01-03 09:59:56 -05:00
Jeff Schroeder
bc1edba32c
sdk: full test coverage of ChainID.FromString()
...
The optimism coverage was a lie as it wasn't explicitly tested.
2023-01-03 09:59:56 -05:00
Jeff Schroeder
2b6ede0d54
sdk: test vaa.Address.UnmarshalJSON()
...
Full coverage including the error condition.
2023-01-03 09:59:56 -05:00
Jeff Schroeder
6ea4cf054a
sdk: test BodyWormchainInstantiateContract.Serialize()
...
This completes full test coverage of sdk/vaa/payloads.go!
2023-01-03 09:59:56 -05:00
Jeff Schroeder
a2857e3b1d
sdk: test BodyWormchainStoreCode.Serialize()
2023-01-03 09:59:56 -05:00
Jeff Schroeder
1cc177bf64
sdk: cleanup vaa payloads test
...
Less duplication of the addr.
2023-01-03 09:59:56 -05:00
Jeff Schroeder
7a439e4cfd
sdk: BodyTokenBridgeRegisterChain.Serialize() test
...
* Switch the BodyTokenBridgeRegisterChain.Serialize() test to table driven
and add coverage for the panic condition.
2023-01-03 09:59:56 -05:00
Jonathan Claudius
98c843e85d
sdk: Add unit-tests for quorum calculation ( #2127 )
...
* sdk: Add unit-tests for quorum calculation
* sdk: fix go imports error
* node: remove duplicate sdk unit-test
2022-12-27 13:27:47 -05:00
Nikhil Suri
eff4eb2ebd
wormchain: add accounting contract bindings
2022-12-16 08:51:41 -05:00
jumpsiegel
82651e4c55
Node fix register chain vaa format error ( #2100 )
...
* Node: Fix register chain VAA format error
Change-Id: If60ae2e072da025029b8a817272d8175585baa7d
* sdk_tests: adding sdk vaa tests
* sdk/vaa: share governance serialization
Co-authored-by: Bruce Riley <briley@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-12-12 13:58:38 -06:00
Nikhil Suri
235fb59d05
wormchain: move governance consts to sdk ( #2086 )
2022-12-07 09:20:11 -08:00
Nikhil Suri
0e7c085d71
node: inject wormchain cosmwasm governance messages ( #2057 )
...
* node: inject wormchain cosmwasm governance messages
* Use nested hash for defense in depth
* Use keccak.Reset() instead of creating new hash objects
* fix msg_server_wasmd_test
* Updated based on jynnantonix comments
* Check return value of binary.Write
* Include actual error in binary.Write panic case
2022-12-06 11:10:32 -08:00
bruce-riley
b38dfc015f
sdk/go: Add unmarshal for vaa.Address ( #2076 )
...
* sdk/go: Add unmarshal for vaa.Address
Change-Id: I1beb99f82673d1fc3225a8c6628a0019648d7e01
* sdk/go: review rework
Change-Id: I7c9179e674c019f46eebff13a071f997f20572f3
2022-12-06 07:18:16 -06:00
Nikhil Suri
88293f36eb
sdk: enforce single canonical VerifySignatures method ( #1995 )
2022-11-30 10:42:07 -08:00
bruce-riley
95fd892bec
Node: Support for EVM watcher safe blocks ( #1727 )
...
* Node: Support for EVM watcher safe blocks
* Fix merge error
* Add check of publishSafeBlocks if not useFinalized
2022-11-28 07:55:35 -06:00
Josh Siegel
3413f09b8f
WH-1921: stub out btc chain @ Closes #1921
2022-11-15 14:45:55 -06:00
bruce-riley
51eac5104c
Node: Add Optimism chainID ( #1867 )
...
Change-Id: Ic86d9ff02c8ab486e8fae077f21c833de156a9d8
2022-11-08 13:54:08 -06:00
bruce-riley
61454a39bd
Node: remove support for Ropsten ( #1818 )
...
* Node: Remove support for Ropsten
* Node: Remove support for Ropsten
* Fix build error
2022-10-31 09:14:01 -05:00
Justin Schuldt
e4096297ae
add BatchVAA structs to Go sdk( #1700 )
...
* go sdk - BatchVAA structs
* make VAA body unmarshaling DRY
* implement binary encoding interfaces for VAAs
* validate observation length before unmarshaling
* move shared VerifySignatures logic to new function
* make SigningMsg a delegate call
* normalize ID of vaa types
* add BatchVAA version to signingBody
* add Attestation interface with shared VAA methods
* add data integrity checks to batchVAA unmarshal
2022-10-28 13:50:49 -05:00
Paul Noel
b0f424b4d2
sdk/vaa: add verify function to vaa
2022-10-27 14:10:18 -04:00
Evan Gray
4c25a96731
sdk: do not require a payload in vaa Unmarshal
2022-10-26 07:12:21 -04:00
Conor Patrick
91bd9a5c36
rename all wormholechain and wormhole-chain references
2022-10-24 17:59:52 -04:00
Josh Siegel
1a7098553c
aptos/watcher: aptos and sui were missing from a bunch of spots
2022-10-15 15:17:36 +01:00
Josh Siegel
daf689cf2a
node: aptos watcher
2022-10-15 15:17:36 +01:00
Paul Noel
9657f41561
node: XPLA watcher ( #1676 )
2022-10-05 08:05:31 -05:00
Chirantan Ekbote
7f4b0d1a09
Wormhole chain integration
...
This is a squashed commit of all the changes needed to integrate
wormhole chain into the main repo.
2022-10-03 17:34:42 +09:00
bruce-riley
7fcbabe720
node: eth publish immediately ( #1664 )
...
* node: eth publish immediately
Change-Id: I242f02d0ed5bcced5ed366a512c07d5757b300e8
* testing: immediate publish test
* Move magic number to the sdk
Change-Id: I806f73d4442af4736aa6e5fc1c8e48e434c4a6d4
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-09-30 11:03:01 -05:00
Bruce Riley
0b6cc9ab44
Basic guardian support
2022-09-29 22:38:27 -04:00
Chirantan Ekbote
12459c4a2a
Add a wormhole go sdk
...
The wormhole sdk is a new go module in the sdk/ directory. This
initially contains the *_consts.go files from the common package in the
top-level sdk package and the entire vaa package as a sub-package.
For go reasons this needs to be in the sdk directory itself (rather than
a sdk/go subdir). To prevent the go tooling from looking into the other
non-go subdirs, add an empty go.mod file in each one. See
golang issue 42965 for more details on why we can't have nice
things (I'm deliberately not linking to stop github from spamming that
issue).
2022-09-15 14:35:46 +01:00