Commit Graph

2947 Commits

Author SHA1 Message Date
tbjump 04bcfe3ed9 lint: upgrade golangci-lint to v1.52.2 2023-05-04 07:22:38 -07:00
tbjump fabbab52d5 node: go mod tidy 2023-05-04 07:22:38 -07:00
tbjump 335c83f080 upgrade to golang 1.19.8 2023-05-04 07:22:38 -07:00
tbjump c60812537d node: upgrade golang.org/x/net to v0.9.0 2023-05-04 07:22:38 -07:00
tbjump bdbe4d3602 clients/eth: upgrade go-ethereum to v1.11.6 2023-05-04 07:22:38 -07:00
A5 Pickle d99a0d8ee8 sdk/js: fix `publishTokenBridgeUpgradeContract` 2023-05-03 14:57:45 -04:00
A5 Pickle 0b0b9cea70 sdk/js: fix `publishAttestMeta` in mock 2023-05-03 14:57:45 -04:00
bruce-riley 95b48444f4
Client/js: Add cmds to edit and verify VAAs (#2838)
* Client/js: Add cmds to edit and verify VAAs

Change-Id: I23def5cd83a409b9ba1a9ae606e06e5b2869760b

* Update readme

Change-Id: Ie58b5fd8f337a02ebd947f8fb7c7fae19638625d

* Tweak wording in readme

Change-Id: Ife86b40cf1e4112b6945d4dd65081d79d25301d8
2023-05-03 13:55:42 -05:00
Evan Gray 0ed02a1391 clients/js: update terra gas url 2023-05-03 14:54:31 -04:00
Evan Gray d050ad1d67 sdk/js: sui support posting VAAs over 1024 2023-05-02 22:05:33 -04:00
Evan Gray 39369d3d2b sdk/js: version bump 2023-05-02 22:05:33 -04:00
heyitaki 04abafb03d ci: decrease build timeout to 20min 2023-05-02 15:14:23 -04:00
heyitaki 412680fba5 sui: update devnet addresses 2023-05-02 15:14:23 -04:00
Kevin Peters 6a1bb7bc78 sdk/js: sui get latest package from CurrentPackage 2023-05-02 15:14:23 -04:00
heyitaki ed733f8e73 sdk/js: add Sui support
Co-authored-by: Evan Gray <battledingo@gmail.com>
Co-authored-by: Kevin Peters <kpeters@jumptrading.com>
2023-05-02 15:14:23 -04:00
A5 Pickle 760db3c810 sui: redesign Wormhole and Token Bridge contracts 2023-05-02 12:34:41 -04:00
bruce-riley 67c7c86419
Node: Add Sui mainnet support (#2826)
Change-Id: I6ea3e345c2e907f738fc82298d5497ce858f55fd
2023-05-02 09:24:57 -05:00
bruce-riley d2e5d04486
Node: Add logging around DB writes (#2820)
Change-Id: I1c0da08a39ee1ebbd4d62ccb74d550ec8fb06e0c
2023-05-02 09:07:57 -05:00
Paul Noel 3eefb74bfb node/pkg/watcher: watcher audit change 2023-05-01 15:21:38 -04:00
A5 Pickle 75fe8cc9b9 update CODEOWNERS 2023-04-28 14:45:59 -07:00
bruce-riley e695fad0be
Node: Don't lock memory in testnet (#2780)
* Node: Don't lock memory in testnet

Change-Id: Id32ce1af82f50a947e80949a54232e11ee7c48ea

* Don't lock in ram for devnet either

Change-Id: I4e3817e726b535661727d05a0c5f65cd613c4900
2023-04-26 10:05:16 -05:00
bruce-riley 4ed89172cc
Node: Block height is always zero on Terra2 (#2762)
* Node: Block height is always zero on Terra2

Change-Id: Ie504139fa3cd9fcce78dd53ca9a0cfc797f3bf30

* Remove test logging

Change-Id: I273267171f7201818395f17d87592ae75f0ce5c8
2023-04-20 16:28:51 -05:00
bruce-riley 3dd4fe26b9
Client/js: Sepolia and Sei support (#2738)
* Client/js: Sepolia and Sei support

* Change references to terra to sei
2023-04-20 10:19:21 -05:00
Nikhil Suri c5df4dbfe6
cosmwasm: token bridge: add new CompleteTransferResponse struct as data to complete_transfer executions (#2653) 2023-04-20 07:13:49 -07:00
Evan Gray cf37919416 sdk/js: version bump 2023-04-18 16:37:05 -04:00
bruce-riley 240230bd36
Node/Gov: Use component logging (#2667) 2023-04-18 11:38:24 -05:00
tbjump 90dce6161b SECURITY.md: Update audit list 2023-04-18 09:35:35 -07:00
Nikhil Suri d7b6be7358
Cosmwasm package naming updates (#2641)
* sdk: update wormhole-core to wormhole-sdk and fix lib name to be wormhole_sdk

* cosmwasm: update wormhole and token bridge cosmwasm package/lib names

* Fix terra2 deployment script with new artifact names
2023-04-18 09:31:38 -07:00
bruce-riley c8e18ba72c
Node: RunWithScissors should not hang on error if no listener (#2649)
* Node: RunwithScissors should not hang

* Tests should check error text

* Fix data race in tests

* Add comments to explain the tests.
2023-04-18 09:05:20 -05:00
bruce-riley 8a866c3c1d
node: sei testnet support (#2660)
* Sei testnet support

* Set contract addresses

* node/pkg/watchers: add RunWithScissors

* SDK tweaks

* node: revert "node/pkg/watchers: add RunWithScissors" (#2620)

This reverts commit 9b8bed4dbf.

* Make Sei use IBC watcher

---------

Co-authored-by: Paul Noel <panoel007@gmail.com>
Co-authored-by: Paul Noel <35237584+panoel@users.noreply.github.com>
2023-04-18 09:34:01 -04:00
Paul Noel 40a638de4c node: add sui watcher for devnet and testnet only 2023-04-18 09:03:09 -04:00
Evan Gray 7640539a44 sdk/js: bump injective sdk 2023-04-17 21:45:00 -04:00
bruce-riley de16e0fd5d
Node/Governor: Regenerate token list and floor prices (#2465)
* node_update_governor_tokens_and_prices

Change-Id: If4e3b31c97ad85fd59ca8743458a2eef137a946a

* Node/Gov: Update token list

Change-Id: I2379d43afa7777488ae3f37e6d4227b4c966deab

* Add test for empty symbol back in

Change-Id: I6d5f1f55c1b7865144e7accc395e484b47381ef0
2023-04-17 14:43:14 -05:00
bruce-riley 53703d8ffc
Node: ibc watcher (#2566)
* Node: IBC watcher

* Rework event parsing, add tests

* Config changes

* Config changes

* Start converting to tendermint

* More functionality

* Minor test changes

* Formatting changes

* Code review rework

* Rework event parsing

* More rework

* More rework

* Tweak some log levels

* More rework

* More rework

* Don't enable Terra2 over IBC

* Fix issue with error reporting

* More review rework

* Switch from connection IDs to channel IDs

* Remove unused errC from go routines
2023-04-17 09:54:36 -05:00
Nikhil Suri 8837a9af50
cosmwasm: bump k256 dependency to 0.11 (#2630)
* cosmwasm: add test for keys_equal

* cosmwasm: bump k256 from 0.9.4 to 0.11

* Update bad_signature tests to use new error messages
2023-04-14 15:04:49 -05:00
bruce-riley 4f1feb3899
Node/Gov: Split up CoinGecko queries (#2573)
* Node/Gov: Split up CoinGecko queries

* Fix typos

* Minor logging change

* Add tests
2023-04-13 08:18:41 -05:00
Nikhil Suri 56b847c41d
cosmwasm: clean up unused dependencies (#2629) 2023-04-13 12:34:08 +01:00
Nikhil Suri 6fd43d11ae
terra: change nft-bridge name to nft-bridge-terra (#2607)
* terra: change nft-bridge name to nft-bridge-terra for compatibility with solana nft-bridge package

* change nft_bridge.wasm to nft_bridge_terra.wasm in deploy script
2023-04-11 18:48:23 -04:00
Alber 5a2fc6e1ef
clients/js: add worm info namespace (#2603)
This PR adds a new namespace worm info, which includes commands showing static data of chain-id, contract addresses and rpc endpoints.
2023-04-11 17:44:50 -05:00
Paul Noel 2016da7713
node: revert "node/pkg/watchers: add RunWithScissors" (#2620)
This reverts commit 9b8bed4dbf.
2023-04-11 17:55:43 -04:00
tbjump 58f55288f3 node: enforce msg.EmitterAddress != 0 2023-04-11 12:55:49 -07:00
Nikhil Suri f576dffcff
whitepapers: add ibc generic messaging whitepaper (#2588)
* whitepapers: add ibc generic messaging whitepaper

* Address review comments from SEJeff

* Added .md file extension

* Address review comments from evan-gray

* Update whitepaper number to 12
2023-04-11 14:53:11 -04:00
Csongor Kiss 9d971c2772 aptos: pin framework deps to `mainnet_20221115` 2023-04-11 14:47:34 -04:00
Nikhil Suri dcbca82c50
wormchain: updates to add ibc (#2589) 2023-04-11 09:33:50 -05:00
bruce-riley 199159b563
Node/Gov: Fix panic in public RPC (#2601)
* Node/Gov: Fix panic in public RPC

* governor: mitigate nil ptr deref

---------

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2023-04-10 16:47:23 -05:00
tbjump c7897e31b3
whitepapers: First version of integrity checkers and global accountant (#2406)
* whitepapers: First version of integrity checkers and global accountant

* whitepapers: revise accountant whitepaper

* whitepapers: updates for accountant papers

* Wormhole is connected to both L1 and L2 networks, so L1 was replaced
  with blockchain or network where appropriate.
* Change integrity checker "advantages" to "disadvantages" as that is
  what is trying to be explained
* Explain that a pre-observation is just a concept a bit more as
  the actual global-accountant contract function name is
  `send_observations()` not `submit_preobservations()`
* Removed a lot of passive voice and tries to shorten run-on sentences
* Removed the integrity checkers Todo and Caveats as they are empty
* Moved the Integrity Checkers `Detailed Design` section to just a
  terminology section, which is more appropriate for what it was.

* whitepapers: accountant clarifications

Addressing review feedback from: @conorpp and @hendrikhofstadt

This updates the Submitting Observations to Wormchain section to use
`transfer` in place of a mix of transfer and observation. This makes the
text easier to understand. Additionally, it moves the `Pending` status
line up one bullet point to make it more obvious.

* whitepapers: accountant further clarification

Last review comment from @conorpp

* whitepapers: update accountant nits

* whitepapers: addreses review feedback

Thanks @bruce-riley

---------

Co-authored-by: tbjump <unknown>
Co-authored-by: Conor Patrick <conorpp94@gmail.com>
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2023-04-10 15:24:58 -04:00
pongvin e7b606d8ef Update tracking issue
closes #2538
2023-04-10 14:04:04 -04:00
Paul Noel 9b8bed4dbf node/pkg/watchers: add RunWithScissors 2023-04-10 12:59:27 -04:00
bruce-riley a846036b6e
Node/Acct: Logging changes (#2574)
* Node/Acct: Logging changes

* Missed some!

* Switch to using logger.With()

* Still missed some.

* Missed one more

* Yet again

* Missed a few

* Don't need .With in AcctGetData
2023-04-06 13:32:00 -05:00
Paul Noel 048595f3da node/pkg/watchers: add doc 2023-04-06 13:56:49 +00:00