Commit Graph

312 Commits

Author SHA1 Message Date
Hendrik Hofstadt fc64658ce8
node: add admin command to sign existing VAAs (#2183)
* node: add admin command to sign existing VAAs

Change-Id: Ia59c077db1817a3f35ec30544c307448e01455ca

* node: add tests for signing of existing VAAs

Change-Id: I16fca1181fc9d96abb4ebdfad91bc686da517090
2023-01-10 17:54:35 +01:00
bruce-riley f41eebe0b3
Node: EVM watcher tests, phase1 (#1915)
* Node: EVM watcher tests, phase1

Change-Id: I8bbcebc52e3a4e70dda8ea5b53001a2b913c7f9a

* Update optimism tests to match latest code

Change-Id: Ib19c815e80d821c2df7ffc416ab3b8b6f2b91b18

* Clean up poller test

Change-Id: I4176ceacefe781d22174e91815309188b31ccf6a

* Node: rework for evm watcher tests

Change-Id: Idc7bbe4a95402e8af536cef53a4dd2daaa181de1

* Node: More evm watcher test rework

Change-Id: Ibb6466cf425b07bb771a51a3d2131bce73e0dd97

* Node: fix lint errors in evm watcher tests

Change-Id: I6d62cb35c43b20d36c72824fb17a0b4c912fe504

* Node: Fix lint errors in evm tests

Change-Id: Iadd08bd294dc2c6206e04217ef06836507edf1ec
2023-01-05 07:39:33 -06:00
Josh Siegel 0872f4ff16 algorand/recover: format fix 2023-01-05 05:05:40 -06:00
Josh Siegel b3d2f838cd algorand/recover: Address #2192 2023-01-05 05:05:40 -06:00
Josh Siegel 04ed27cb3f node: Simplify WrapWithScissors and make AlgorandWatcher use it 2023-01-05 05:05:40 -06:00
Josh Siegel 4ddeca4dbd node: switch to use recovery and cleanly restart watcher 2023-01-04 13:49:32 -06: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
kev1n-peters f39acdbe1c
node: Terra Classic Governor Limits Change (#2090)
See discussion: https://github.com/wormhole-foundation/wormhole/discussions/2087
2022-12-08 11:46:09 -06:00
kev1n-peters c94ad13c8c
node: Injective mainnet support (#2084) 2022-12-07 13:43:44 -06: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
jumpsiegel 759550715a
near/fix-stats: Fix network stats for near (#2077)
* near/fix-stats: Fix network stats for near
2022-12-05 07:24:44 -06:00
Bruce Riley 16e8bb347e Node: Polygon checkpoint logging
Change-Id: I31305812cc784845aa98497ada24b2a2041cad71
2022-12-02 10:18:06 -05:00
Josh Siegel 133523bd57 algo/fix: switch to using last round 2022-12-02 09:51:51 -05:00
Paul Noel 976d8430c6
Optimism finality (#2037)
* node/pkg: update optimism finality

* node/pkg: fix tilt test

* node/pkg: CI changes
2022-12-02 07:38:45 -06:00
Hendrik Hofstadt 56645faaad watcher: fix near typos / docs
Change-Id: I7e271945e8d636b08e384f09359ad8aebf708103
2022-11-30 09:36:07 -05:00
Hendrik Hofstadt 97f302e7d8 watcher: simplify near watcher
Change-Id: If1f646de29c04ab58f5b5ae90b8cbb1f2803fcc0
2022-11-30 09:36:07 -05:00
Hendrik Hofstadt ff186e441a rename dev.v2 to main
Change-Id: Idfc6f88de7ee3c190a01c2196dc0bc4da91cbe4c
2022-11-29 10:43:07 -05:00
tbjump e2f3f69e2b
node/p2p: separate governor config and status message prefix (#1956)
Co-authored-by: tbjump <unknown>
2022-11-28 10:58:26 -06:00
tbjump 17e732c741
node/p2p: enforce ObservationRequest signature payload >= 34 bytes (#1992)
Co-authored-by: tbjump <>
2022-11-28 10:42:39 -06:00
tbjump 200fee61a8
node/p2p: enforce minimum heartbeat message length (#1958)
Co-authored-by: tbjump
2022-11-28 10:23:34 -06: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
jumpsiegel 091ee0877d
WH-1934: upgrade golang to 1.19 (#1941)
* upgrade to golang 1.19.3

Co-authored-by: tbjump <>
Co-authored-by: tbjump <unknown>
2022-11-28 07:48:27 -06:00
jumpsiegel 402a2d1a30
Basic Sui watcher support (#1951) 2022-11-18 08:14:22 -06:00
Josh Siegel 3413f09b8f WH-1921: stub out btc chain @ Closes #1921 2022-11-15 14:45:55 -06:00
bruce-riley ee1868205d
Node: Rework min/max confs for EVM watchers (#1849)
* Node: Rework max/min confs for EVM

* Increase maxWaitConfirmations
2022-11-14 20:38:04 -05:00
bruce-riley 6de97de242
Node: Neon Watcher Redesign (#1899)
* Node: Neon Watcher Redesign: Issue #1898

* Minor code tweaks

* Get rid of log message

* Updated a comment
2022-11-14 08:07:45 -06:00
tbjump 29e764d013
node: NEAR watcher rewrite (#1673)
add unit tests
make the code more readable
make it more robust to various error conditions
report errors and performance metrics appropriately
Co-authored-by: tbjump jumpsiegel
2022-11-11 07:24:55 -08:00
bruce-riley ce1ca0b155
Node: Polygon watcher redesign (#1858) 2022-11-11 08:12:16 -06:00
bruce-riley 074c98a952
Optimism mainnet deploy (#1869)
* Optimism mainnet deploy

* node: added OP token to manual_tokens

* Add to readiness

* File should not have been committed

* Remove readiness since it goes with watcher

* Allow optimism watcher in mainnet

* Add to devnet config

Co-authored-by: Christine Eun <ceun@jumptrading.com>
2022-11-10 13:56:38 -06:00
bruce-riley cea87d344c
Node: Increase bigtable writer channel size (#1889)
* Node: Increase bigtable writer channel

Change-Id: I981e80b771a68aee744ff5109be2d299004fd1a9

* Change message wording

Change-Id: I4af6dbc3b77c6133c8a129e0b20b6aebbbe39ab3
2022-11-10 12:41:47 -06:00
bruce-riley bc1a740cfa
node: optimism watcher support (#1746) 2022-11-10 07:50:08 -06:00
Justin Schuldt 1b3590b9ce
BatchVAA protos and Spy updates (#1691)
* gossip.proto - add nonce to SignedBatchObservation

* publicrpc.proto - add nonce to BatchID

* spy.proto - filters for BatchVAA, new VAA endpoint

* node - spy.go allow subscribing to BatchVAAs

* add built Go protos to node/pkg/proto

* improve & simplify Publish logic

* simplify filter match logic

* update protos - consistent naming & types for transaction identifiers

* add Spy unit & e2e tests
2022-11-09 10:39:57 -06:00
claudijd 9d042dadb5 governor: increase aptos limit to fix #1839 2022-11-08 09:22:37 -05:00
bruce-riley b129fcb52d
Node: Disable more PythNet logging (#1829)
* Node: Disable more PythNet logging

* Node: Undo governor change caused by rebase
2022-11-03 11:09:20 -05:00
bruce-riley 8bbf8a19b5
Governor: Reworking manual token handling (#1844)
* Governor: Reworking manual token handling

Change-Id: Ic674fb95e89b9cb94c4fe1f9acbd0c5b114f2ebb

* Remove unnecessary comments

Change-Id: I786381d71cb5b01c266ec9ee07f57eb4b20d8adb
2022-11-03 10:45:16 -05:00
bruce-riley 7d53c68aad
Node: Arbitrum poller failling without details (#1836)
* Node: Arbitrum poller failling without details

Change-Id: Id067d0be18a7c391ef90a82cc78f0684c72ab2ad

* Add a comment.

Change-Id: I4d2ef2ea44febc2a1462ac22a3a3e977b09e6545
2022-11-02 08:24:58 -05:00
bruce-riley 2ae9f65a76
Governor: Increase the CoinGecko interval (#1837)
* Governor: Increase the CoinGecko interval

Change-Id: I4f97a012284c75d544a1fe7d43e5914210c4b441

* Suppress a chatty message for pythnet

Change-Id: I2149b056bfc430b6dedd180e951f345180e8a56d
2022-11-01 10:13:19 -05:00
bruce-riley a7d79407f4
Node: Don't log "Transaction failed" in solana (#1835)
Change-Id: I31ed7c57102dbdcd5956270e99859b9bdeaafb13
2022-11-01 10:13:00 -05:00
Evan Gray f60e6669ec node: commit proto and matching test fixes #1769 2022-10-31 12:45:30 -04:00
Evan Gray 9fa943eecd node: support for heartbeat spying fixes #1768 2022-10-31 11:40:55 -04: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
Bruce Riley 346b68582a Node: Just delete the PYTHNET messages 2022-10-28 14:38:03 -04:00
Bruce Riley 391781d7f7 Node: Disable PYTHNET log messages 2022-10-28 14:38:03 -04:00
bruce-riley 914aa99a60
node: arbitrum watcher fix (#1812)
* node: arbitrum watcher fix

* Add comment

* Update the comment
2022-10-28 08:15:01 -04:00
bruce-riley a99c4a1a7c
node: arbitrum mainnet deploy changes (#1786)
* arbitrum mainnet deploy changes

* Change test for no governed tokens on Arbitrum

* Add arbitrum to to devnet guardian config
2022-10-27 14:50:01 -04:00
bruce-riley e1a6a1f85a
Node: governor not handling duplicates properly (#1772)
* Node: governor not handling duplicates properly

* Minor tweaks

* Logging changes to help debugging
2022-10-27 14:32:09 -04:00
Paul Noel b0f424b4d2 sdk/vaa: add verify function to vaa 2022-10-27 14:10:18 -04:00
Bruce Riley 6a6c258015 Node: arbitrum watcher redesign 2022-10-27 12:43:01 -04:00
bruce-riley ea50bee9d2
Node: Upgrade to solana-go v1.7.1 (#1799)
Change-Id: Ia83b193d524e4c8571bfb8f3dd3075da8b5581cf
2022-10-27 11:14:42 -05:00
Josh Siegel 9fd4c7d6e1 minimal-tilt-fix: Lets make this ready even if the chain is not ticking 2022-10-27 07:52:24 -04:00