Commit Graph

844 Commits

Author SHA1 Message Date
bruce-riley ea70610e46
CCQ: Testing (#3424)
* CCQ: Testing

* Use new p2p.NewHost function

* More rework

* More rework
2023-10-12 16:23:51 -05:00
bruce-riley ad696d2f3c
CCQ: Query Server (#3422)
* CCQ: Query Server

* More rework

* Clean up p2p code

* Health check change

* node: support http PUT or POST for new ccq queries

---------

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2023-10-12 14:29:21 -05:00
bruce-riley 669e2bc40e
CCQ/Node: Guardian Changes (#3423)
* CCQ/Node: Guardian Changes

* Code review rework
2023-10-12 13:20:42 -05:00
bruce-riley 7b41d1c468
Node: Minor P2P refactor to share init code (#3435) 2023-10-11 08:34:16 -05:00
Ben Guidarelli 251e6c4a64
clients/js: replace wormscan with wormholescan in urls (#3298) 2023-09-29 11:57:17 -04:00
bruce-riley 41fa0ecc0e
Node: Don't request reobservation on reobservations (#3397)
* Node: Don't request reobservation on reobservation

* Acct should handle reloading old pending transfers
2023-09-29 10:42:44 -05:00
bruce-riley 06d8f2d268
Node: Keygen changes (#3401) 2023-09-27 12:06:12 -05:00
Evan Gray be96073494 node/evm: fix Base safe block support 2023-09-25 09:44:39 -04:00
bruce-riley bf61813f48
Node: Obs incorrectly ignored when marked settled (#3394) 2023-09-25 08:43:40 -05:00
Ben Guidarelli 3ecc620eed
node/evm: Fix shadowed variable in Optimism case (#3390)
* EVM Watcher: Fix shadowed variable in Optimism case

* move metric setter into special case
2023-09-22 13:08:16 -04:00
Ben Guidarelli a3df706b8a Solana Watcher: filter transactions to those including a log from the wormhole core contractact prior to resolving account table references 2023-09-18 10:17:06 -04:00
Ben Guidarelli 7a75b46597 Solana Watcher: resolve account table lookups for transactions that include v0 account tables 2023-09-18 10:17:06 -04:00
Paul Noel 546ccac3c4 node/pkg/watcher: update terra 2023-09-13 13:30:24 -05:00
tbjump 8c1f7d2eda upgrade to golang 1.20.8 2023-09-13 07:17:31 -07:00
bruce-riley 846deb2f40
Node/Watcher: Update solana min accounts check (#3367) 2023-09-11 10:55:06 -05:00
bruce-riley c1ff1e1d1c
Node/Gateway: Relay attestations (#3350) 2023-09-07 14:11:15 -05:00
Kevin Peters 957f3307de node: Removed support for writing attestation events to bigtable
The Spy can be modified to listen to attestation events on the p2p
network and write them to a database instead.
2023-09-07 12:41:36 -05:00
tbjump ac1c20dfd5 node/node_test: Add RSA to crypto benchmark 2023-09-01 14:05:19 -04:00
tbjump c16540cb37 node/node_test: Use guardian 1 instead of 0 to query for VAA 2023-09-01 07:09:20 -07:00
tbjump e08f620e81 node/processor: Avoid goroutine in fast path for own sig if possible 2023-09-01 07:09:20 -07:00
tbjump 59aa71d039 node/proessor: Early return if no quorum (performance improvement) 2023-09-01 07:09:20 -07:00
tbjump 68f6cf8e6c node/processor: improve handleObservation performance 2023-09-01 07:09:20 -07:00
tbjump 5ca5b53cd8 node: buffer gossipSendC 2023-09-01 07:09:20 -07:00
tbjump 4550dd179d node: increase buffer sizes 2023-09-01 07:09:20 -07:00
Reisen 0de011cb42
node/pkg/guardiand: require pythnetWS argument (#3342) 2023-08-30 16:49:51 -05:00
Paul Noel c8abfd7333
node/pkg/watcher: sui json parsing fix (#3331) 2023-08-28 14:16:11 -05:00
Bruce Riley fdeb53273e Node/Gateway: Relayer handle VaaAlreadyExecuted 2023-08-25 14:38:15 -05:00
tbjump 1d2e26c081 node: (cleanup) remove injectC in favor of using msgC directly 2023-08-25 11:02:21 -07:00
bruce-riley 1d7976917a
Node: Add StartRunnable to scissors (#3322) 2023-08-25 11:52:16 -05:00
bruce-riley 753185e042
Node: don't protect from self (#3318) 2023-08-23 16:20:57 -05:00
bruce-riley e4fc44771a
Node/Gateway: Wormconn chainID wrong for testnet (#3316) 2023-08-23 09:12:58 -05:00
bruce-riley 782111e528
Node: Clean up wormchain parameters (#3310) 2023-08-22 14:49:49 -05:00
bruce-riley 910d20340e
Node/Gateway: Relayer not detecting error (#3312) 2023-08-22 14:46:27 -05:00
tbjump a1d5ac2b46 node/p2p: increase TESTNET_BOOTSTRAP_DHI to 350 2023-08-22 12:11:13 -07:00
tbjump b780b3dab2 node/processor: Remove dead code 2023-08-22 11:54:51 -07:00
tbjump dcb720309b node: implement haveSignedVAA 2023-08-22 11:54:51 -07:00
Jonathan Claudius 567e98b750 governor: increase limits on arbitrum and optimism 2023-08-22 14:40:19 -04:00
Jonathan Claudius 67b5cf23ba governor: increase governor limits on Sei 2023-08-22 14:40:19 -04:00
tbjump e75848de66 node/p2p: Increase gossipParams.Dhi to 50 for testnet bootstrap node 2023-08-22 11:36:07 -07:00
tbjump a9a0912f96 node/p2p: set WithValidateQueueSize 1024 2023-08-22 10:02:24 -07:00
bruce-riley 153ee5514c
Node/Gateway: Watcher shouldn't drop recv_packet (#3304) 2023-08-21 16:46:01 -05:00
tbjump 795ea8a7e7 node/proc: increase retryLimitOurs to 30h 2023-08-21 06:54:28 -07:00
tbjump 4e1cb5d2c3 node: upgrade go-libp2p to v0.29.2 2023-08-17 12:04:31 -07:00
tbjump 07268b96da node: upgrade github.com/grafana/loki to v2.8.3 2023-08-17 12:04:31 -07:00
Jonathan Claudius 36a5e14916 governor: add limit increases for arbitrum and optimism 2023-08-17 09:50:35 -04:00
Jonathan Claudius 3f469a0e9e governor: increase sei governor limits 2023-08-17 09:50:35 -04:00
Steve 6b3819cc41
wormchain: add upgrade vaa and upgrade handler. Removes set params vaa. (#3292)
* Add chain upgrade vaa and upgrade handler. Removes set params vaa.

* Update node package

* Fix vaa payload test
2023-08-16 20:24:57 -04:00
Nikhil Suri 6aa80d459c
wormchain: setparams gov vaa (#3285)
* node: add new governance VAA for setting default tokenfactory and packet forward middleware params on Gateway

* wormchain: add msg_server handler to set default tokenfactory and pfm params

* node: add gateway template command

* node: fix lint errors

* Update goverance message to be generic

* x/wormhole: add RunInPlaceUpgrade tx cli command

* Merge gateway governance VAAs into a single rpc handler

* update admin client naming for gateway governance messages
2023-08-14 20:37:50 -04:00
tbjump 793abe62a9 node/gov: Adjust mainnet_chains based on discussion #3259 2023-08-14 17:07:47 -07:00
tbjump 954868b7d5 node/gov: sort chainConfigEntrys by chainId 2023-08-14 17:07:47 -07:00
tbjump cbfa1f3923 node/gov: Clean-up chainConfigEntry 2023-08-14 17:07:47 -07:00
tbjump 2a06fd4668 node/node_test: Test governance vaa injection 2023-08-14 11:18:53 -07:00
bruce-riley 86e905e1e8
node: Gateway watcher support (#3275)
* Gateway/Node: Watcher support

* Fix prettier error

* Work around duplicate VAA error
2023-08-14 11:13:20 -04:00
Steve 3337783c6d
wormchain: add ibc-composability-mw to gateway (#3273)
* Add ibc-composability-mw to gateway along with updates to node for
ibc-composability-mw and ibc-translator.

* Move governance action to new GatewayModule

---------

Co-authored-by: Nikhil Suri <nikhilsuri@comcast.net>
2023-08-14 10:49:02 -04:00
Steve 21fc11f5bc
wormchain: add PFM (#3271)
* Add PFM to wormchain

* Run go mod tidy on node package
2023-08-11 10:16:10 -04:00
tbjump c5280d5c3a node: Fix skipPrivateLogs option in Loki telemetry 2023-08-10 14:09:31 -04:00
tbjump 445d19c519
node: update various dependencies (#3277)
* node: update go-libp2p to v0.27.8

* node: update grpc-related dependencies

* node: update gjson

---------

Co-authored-by: tbjump <>
2023-08-09 13:41:52 -04:00
Nikhil Suri 1d10fc9788
wormchain: upgrade IBC version (#3237) 2023-08-08 12:57:44 -07:00
Nikhil Suri aa44e82f7c
Instantiate allowlist (#3181)
* sdk: add wormchain instantiate allowlist governance VAA

* wormchain: add wasm instantiate allowlist msg handler

* Add cli for instantiate allowlist (#3199)

* Add cli for instantiate allowlist and fix
vaa.BodyWormchainAllowlistInstantiateContract deserialization

* Lint fixes

* Add instantiate allowlist to codec and genesis

* Add MsgDeleteWasmInstantiateAllowlist, update naming to be consistent across all types

* Fix key prefix for GetAllWasmInstiateAllowedAddresses

* Update wasmd tag version

* Fix 5 bit encoding bug

* Add query cli and rpc handler

* Add query cli and rpc files

* use cosmos-sdk method for computing bech32

---------

Co-authored-by: Steve <1848680+misko9@users.noreply.github.com>
2023-08-07 11:18:40 -07:00
tbjump 5ce1a42c0b node: update delve 2023-08-03 09:58:14 -07:00
tbjump 256e67df9a upgrade to golang 1.20.7 2023-08-03 09:58:14 -07:00
bruce-riley 1721fef95a
Node: Gateway Relayer (#3243) 2023-08-03 10:26:50 -05:00
bruce-riley 9f450c1a93
Node/Gov: Update floor prices (#3255)
* Prettying the script

* Node/Gov: Update floor prices
2023-08-03 09:07:43 -05:00
tbjump 5028600a1c node/node_test: prePopulateVAA 2023-07-19 08:32:00 -07:00
tbjump 940a906e19 node/node_test: Test automatic re-observation requests 2023-07-19 08:32:00 -07:00
tbjump 761c917427 node/processor: Make time configs public 2023-07-19 08:32:00 -07:00
bruce-riley bd89e4e3ab
Node: Processor delay metrics (#3210) 2023-07-19 10:23:16 -05:00
tbjump 590cd562bb node/node_test: Rename helper functions 2023-07-18 11:39:32 -07:00
tbjump d6f2e61861 node/node_test: cleanup guardianConfig 2023-07-18 11:39:32 -07:00
tbjump 0896d028bd node/p2p: fix capitalization of error messages 2023-07-18 11:39:32 -07:00
tbjump ef555ba78e node/node: Address review nits 2023-07-18 11:39:32 -07:00
tbjump a62edfbdc0 node: output logs only for failed tests 2023-07-18 11:39:32 -07:00
tbjump 42866295f8 node/node_test: count amount of generated logs 2023-07-18 11:39:32 -07:00
tbjump b60472cb52 node/db: use provided logger for badgerDb 2023-07-18 11:39:32 -07:00
tbjump 336cc3f9bc node/node_test: Update BenchmarkConsensus numbers 2023-07-18 11:39:32 -07:00
tbjump 7a0c03c846 node/node_test: Capture logs at INFO level instead of DEBUG 2023-07-18 11:39:32 -07:00
tbjump d73bce429a node/node_test: count amount of generated logs 2023-07-18 11:39:32 -07:00
tbjump ddeb78ceb7 node: increase inboundObservationBufferSize to 5000 2023-07-18 11:39:32 -07:00
tbjump fe09eb5099 node/db: use provided logger for badgerDb 2023-07-18 11:39:32 -07:00
tbjump 2429f51ee3 node: Add benchmarks 2023-07-18 11:39:32 -07:00
tbjump 9c668072ef node/p2p: Warn about channel overflows in GoTest mode 2023-07-18 11:39:32 -07:00
bruce-riley d1cfbdf46c
Node: Base deployment (#3213)
* Node: Base deployment

Change-Id: I9ccd5cbc6c44d1891acb9d443e9e2b29b25afa3c

* Add governance VAAs

Change-Id: I426107fd7ad2e6bef063b8f178c1683a6590a54e

* Update contract addresses

Change-Id: I1cf92bb08d1c45b22dec195e2d076e7aabf3e369

* Update URL in repair script

* Add baseRPC to devnet/node.yaml
2023-07-18 08:17:27 -04:00
tbjump 03bf786b47 node/db: Support in-memory DB and use in tests 2023-07-17 06:32:19 -07:00
tbjump cf29f6c410 node: Gracefully shutdown accountant on exit 2023-07-17 06:32:19 -07:00
tbjump e07a750f90 node/p2p: graceful shutdown on context cancel 2023-07-17 06:32:19 -07:00
tbjump e464260246 node: gracefully shutdown status server 2023-07-17 06:32:19 -07:00
tbjump 96c6cc2b32 node/watchers/mock: log digest 2023-07-15 07:53:51 -07:00
tbjump 45d417019e node/node_test: improve log handling 2023-07-15 07:53:51 -07:00
tbjump 6f06b7fd29 node/gov: do not log tokens on startup during gotest 2023-07-15 07:53:51 -07:00
tbjump d8b642c0d9 node/db: Add prom metric wormhole_db_vaa_ctr 2023-07-15 07:53:51 -07:00
tbjump 4d0ea744f1 node/node: Move options to options.go 2023-07-14 15:50:48 -04:00
tbjump 81b0c2a335 node/p2p: Cleanup bootstrappers generation 2023-07-14 11:35:49 -07:00
tbjump c8fca0f5b9 node/p2p: Enforce connection to bootstrap node on startup 2023-07-14 11:35:49 -07:00
tbjump 372beb01fe node/p2p: Send first heartbeat after 2s to minimize test runtime 2023-07-14 11:35:49 -07:00
tbjump c37bdca23d
node/processor: exponential backoff for reobservation requests (#3207)
* node/processor: exponential backoff for reobservation requests

---------

Co-authored-by: tbjump <>
2023-07-14 08:01:47 -07:00
Paul Noel 7423be52c1 watcher: add sui logging 2023-07-14 09:23:39 -05:00
bruce-riley 0fdc03eb4d
Node: Reduce auto reobservation requests (#3203) 2023-07-14 08:34:24 -05:00
tbjump ce66e631c2 node/node_test: comment governedMsg 2023-07-13 22:00:49 -07:00
tbjump 5e21d7d468 node/node_test: properly close resp.Body 2023-07-13 22:00:49 -07:00
tbjump e0cdf6d8d3 node/watchers/mock: add l1finalizer 2023-07-13 22:00:49 -07:00
tbjump 0d8bf5d3fe node/node_test: Add test double-configuration 2023-07-13 22:00:49 -07:00
tbjump 49a3fa44aa node/node_test: add test for l1finalizer 2023-07-13 22:00:49 -07:00
tbjump 5b33b047a0 node/node: improve error reporting 2023-07-13 22:00:49 -07:00
tbjump b443926d87 node/node_test: Add coverage for Governor 2023-07-13 22:00:49 -07:00
tbjump e240477798 node/node_test: add TestWatcherConfig 2023-07-13 22:00:49 -07:00
tbjump 670117f601 node/node: add GuardianOptionNoAccountant 2023-07-13 22:00:49 -07:00
tbjump 8e72f1200d node/node: move wormchainConn to GuardianOptionAccountant 2023-07-13 22:00:49 -07:00
tbjump 4274115cc3 node/node: Make processor optional 2023-07-13 22:00:49 -07:00
tbjump 6d86ee1b5c node/node: Add DB as a GuardianOption 2023-07-13 22:00:49 -07:00
tbjump 0988fd9320 node/node_test: add waitForHeartbeatsInMetrics 2023-07-13 22:00:49 -07:00
tbjump c3ec2206a2 node/node_test: generalize testConsensus() 2023-07-13 22:00:49 -07:00
bruce-riley 8120772e95
Node: Loki logging (#3183)
* Node: Loki logging

* Node: clean up loki stuff

* fix go.mod

* Code review rework

* Add reference to metrics used by loki

* Minor tweak

---------

Co-authored-by: tbjump <unknown>
2023-07-12 14:51:01 -05:00
Jeff Schroeder b09a644dac node: fix a small tyop in the sui watcher
Reported-By: @panoel
2023-07-11 16:19:02 -04:00
Jeff Schroeder 8767ffadc0 node: fix url handling of the value to --suiWS
Fixes: #2827

Previously, it prepended `ws://` to the address unlike any of the other
websocket flags. This allows specifying it the same was as guardiand
v2.16.0 or like the rest. In the future, we can remove the "legacy"
way and make them all consistent.
2023-07-11 16:19:02 -04:00
tbjump d2abd90c0e node/db: Add benchmark 2023-07-11 10:58:42 -07:00
Ben Guidarelli 2d9af4d018
Node: Increase subscription buffer size from 32 to 1024 (#3185) 2023-07-11 13:55:50 -04:00
bruce-riley 83c5893283
Node: Fix reobservation limits (#3177) 2023-07-11 10:59:15 -05:00
tbjump f8e118d07e node/go.mod: update github.com/tidwall/gjson 2023-07-10 07:09:16 -07:00
tbjump 5f8f2dddb6 node/go.mod: update github.com/grpc-ecosystem/grpc-gateway/v2 2023-07-10 07:09:16 -07:00
tbjump ac934a0766 node/go.mod: update github.com/grpc-ecosystem/go-grpc-middleware 2023-07-10 07:09:16 -07:00
tbjump f9bb947fb1 node/go.mod: update google.golang.org/grpc
go get -u google.golang.org/grpc
2023-07-10 07:09:16 -07:00
tbjump 32524700ad node/telemetry: fix test 2023-07-10 07:09:16 -07:00
Kevin Peters b350918214 spy: Removed batch VAA functions, fixed race in tests 2023-07-06 10:16:15 -05:00
bruce-riley c9c5fa0598
Node: Remove more info logging (#3171) 2023-07-06 09:33:12 -05:00
bruce-riley cb418bf7b8
Node: Reduce info logging (#3165)
* Node: Reduce info logging

Change-Id: I1ad80304a59ccd50e675765ef1f648be02e0d7ce

* Node: Remove a couple of more info logs

Change-Id: I7944446b73b140f4a8fbae21dee5baa9e9c5d9d0
2023-07-05 14:02:29 -05:00
bruce-riley a35bec0003
Node: Make Terra Class watcher handle old blocks (#3159) 2023-07-03 10:12:52 -05:00
Kevin Peters c882a6e062 spy: fixed deadlock on subscriber disconnects
Added the "sendTimeout" flag that specifies the timeout duration for sending
messages to subscribers.
2023-06-30 09:58:58 -05:00
bruce-riley c7ef120806
Node: Drop inbound signed vaas with quorum faster (#3150)
Change-Id: I1ec23694031ecf8474ca2d4da5280eef39dd8edb
2023-06-30 09:38:08 -05:00
bruce-riley 589c2e53b7
Node: Remove unnecessary debug logging (#3149)
Change-Id: Id56d0863a0c2bfcf428ee836ae924f286f11661e
2023-06-29 09:07:12 -05:00
tbjump 375dd08a3f node/hack: add guardian_vaa_stats.go 2023-06-28 11:39:33 -04:00
tbjump 149d898ac6 node: refactor guardiand/node.go 2023-06-26 07:07:37 -07:00
tbjump a1ce981b49 node: cleanup buffer size configuration 2023-06-26 07:07:37 -07:00
bruce-riley 73bd1abe0a
Node/Watcher: Terra Classic fix (#3116)
* Node/Watcher: Terra Classic fix

Change-Id: Icc47e3727f75b0d8a7e74fa7195b6aa404fbcaf4

* Use the old format for tilt

Change-Id: I67495d55c899b627ba06890085201b47db30fb14
2023-06-23 10:29:49 -05:00
derpy-duck 21276f7f75
Fix relay provider to delivery provider (#3104) 2023-06-16 15:14:38 -04:00
tbjump 26d849b58a node: Wait for bootstrap guardian in devnet 2023-06-16 07:44:58 -07:00
Ben Guidarelli 7f6213019a
Node/Watcher/Algorand: Handle Algorand inner transactions (#3072) 2023-06-14 12:19:48 -04:00
derpy-duck 3c0fecc3fa
Relayer: Generic Relayer Guardian Changes for Merging into Main (#3041)
* gRelayer: surrounding files

* modification to get compilation

* restore devnet

* remove generic relayer docker

* remove wait for relayer engine

* keep build time 20

* sh -> bash

* sh -> bash

* Remove comment

* bash -> sh

* Revert "bash -> sh"

This reverts commit 5c37e92fa1.

* bash->sh

* gRelayer: ethereum folder changes for generic-relayer-merge

* add eth-devnet

* Adds .github because workflow needs to install forge

* sdk-ci-tests need to install forge

* don't wait for nonexistent relayer engine

* update package.json and package-lock.json

* Remove unnecessary types from package.json

* ts-node

* gRelayer: ethereum folder changes for generic-relayer-merge

* sdk-ci-tests need to install forge

* don't wait for nonexistent relayer engine

* update package.json and package-lock.json

* remove these changes

* Relayer: Natspec documentation in IWormholeRelayer (#3032)

* WIP

* Fixes

* Updated interfaces

* remove bash

* Forward uses same refund chain id and refund address (#3034)

* WIP

* Fixes

* Forward uses same refund chain id and refund address

* Updated interfaces

* Adds .github because workflow needs to install forge

* sdk-ci-tests need to install forge

* don't wait for nonexistent relayer engine

* SDK minus payload tests

* Rename sdk relayer folder and file

* modify index.ts

* modify path

* sdk-ci-tests need to install forge

* don't wait for nonexistent relayer engine

* Add three governance VAA actions for generic relayers

* demandOption and const

* Remove forge build warnings

* Add note to interface for resend

* Verify additional VAAs in SDK

* via-ir on unless in Tilt

* Correct IWormholeReceiver interface

* Wormhole message fee now part of quoteDeliveryPrice (#3043)

* Fix to PR 3043

* Remove compiler warning

* Remove files

* remove generic relayer docker

* Fix typo

* Relayer/address drew review (#3060)

* Fix typo in Create2Factory

* Add event for contract upgrades

* Prevent registering contract if it is already registered

* Prevent allowing unset chainId for default delivery provider governance VAA

* memory to calldata for external functions in WormholeRelayerSend

* continue memory to calldata for external functions

* Fix pricing in delivery provider

* Sanity check new default delivery provider isn't 0 address

* Don't save vaaKey as local variable

* cache the length of array rather than iterate every time for vaaKeys

* Replacing memory with calldata in few locations

* Remove stale file DeliveryProviderMessages

* Remove batch VAA sender script

* Remove batch VAA from WormholeSimulator

* Wait for a confirmation in deploy scripts

* remove unnecessary comments

* Fix Delivery Provider Pricing and add a test

* remove console logs

* Revert "continue memory to calldata for external functions"

This reverts commit f322afb6c0.

* Revert "memory to calldata for external functions in WormholeRelayerSend"

This reverts commit 42fcaad884.

* Revert "Don't save vaaKey as local variable"

This reverts commit a9172379c5.

* Revert "cache the length of array rather than iterate every time for vaaKeys"

This reverts commit d61380a9b0.

* Revert "Replacing memory with calldata in few locations"

This reverts commit 94e47b6e72.

* Revert "Fix typo in Create2Factory"

This reverts commit a9f7bdf461.

* Update contract addresses for via-ir

* Update register chain test to only do one registration

* Slight improvements to delivery provider implementation

* typed errors for delivery provider

* Update SDK to have via-ir devnet address

* Fix test

* enable VIA-IR in CI and not in Tilt

* Fix chain id

* get register chain test to work

* correct contract address for via ir

* update sdk consts for via ir address

* base 32 address

* merge

* -f to -r

* relay provider -> delivery provider

* fix await

* Readme changes
2023-06-14 10:27:00 -04:00
bruce-riley 4ce7099b4a
Node: Make IBC watcher publish wormchain version (#3080)
* Node: Make IBC watcher publish wormchain version

Change-Id: I9c43bbd3032181a03e53b3f145e53669bce3eb9f

* Minor comment change

Change-Id: I1333578d2303a4fe8c18abd72cb392988b245c3f

* Minor tweak to feature string format

Change-Id: I061f718fb0eb032b4264e996c2bc30747feb79bc
2023-06-13 12:38:29 -05:00
tbjump e5c8214fa9 node/watchers: Log each watcher's config on startup 2023-06-13 13:38:01 -04:00
tbjump 51877302eb node: address review feedback from #2983 2023-06-13 11:15:09 -04:00
tbjump 697767d3a5 node: rm dep github.com/test-go/testify 2023-06-13 11:07:43 -04:00
Bruce Riley 6b85c08b53 Node: Remove unused shutdown switch auth cmd
Change-Id: I08a2f3c24756639e91216f3f2b8c6b9d4acd7442
2023-06-13 08:57:12 -04:00
Paul Noel a66d208af6 node: remove pre-bedrock optimism code 2023-06-13 08:51:50 -04:00
bruce-riley ee676b28d1
Node: Remove wormchain watcher (#3074)
Change-Id: I498099496791859f6f5a39cc0642a49239a09972
2023-06-12 13:49:43 -05:00
tbjump 7f74b92721 node/tools: Update dlv to 1.20 2023-06-08 13:42:46 -07:00
bruce-riley f5f5817015
Node: Fix Injective watcher decode failures (#3057)
* Node: Fix Injective watcher decode failures

Change-Id: Ie85267d07c54a4b5f76bb09483596f4d2d5f07a9

* Address review comment

Change-Id: I3295870914c86f00b5ef2a46ddd2c88e4a4ef1e5
2023-06-07 15:50:14 -05:00
tbjump 89a054cdfb node: update golang to 1.20.5 from 1.20.4 2023-06-07 13:16:31 -07:00
tbjump e432378fbb node: move adminrpc from guardiand into own package 2023-06-06 09:13:48 -07:00
bruce-riley 07a01b6511
Node: Add wormchain deploy admin commands (#2964)
* Node: Add wormchain deploy admin commands

Change-Id: Id9c7fa75acf545ba8bb5be5184690f14b66bbe49

* Node: Fix parsing of WasmHash

Change-Id: If44badaecf96df8aed2625a99cecdcb4a09ef6ce

* Fix lint error

Change-Id: Ic4822034b66724203f021883e583dec61244cbd7
2023-06-02 10:06:34 -05:00
bruce-riley 49a183a147
Node/Watcher: Fix intermittent poller test failure (#2991)
Change-Id: Iaca9011ce06b7d415ce2f849f653988adbbb8474
2023-05-26 09:17:52 -05:00
tbjump e7abd1d968 node: unify environment config with common/mode.go 2023-05-25 11:11:33 -07:00
tbjump 821d66eae6 node/near: improve logging per reviewer feedback 2023-05-25 10:15:14 -07:00
tbjump 6cd3af30ab node/near: bugfix return err in processTx if processOutcome fails 2023-05-25 10:15:14 -07:00
tbjump 9af2796790 node/near/test: improve test case 2023-05-25 10:15:14 -07:00
tbjump 4396443167 node/near: improve debug logging in poll.go 2023-05-25 10:15:14 -07:00
tbjump 220f61c630 node/near/test: improve test case 2023-05-25 10:15:14 -07:00
tbjump 73d24fc670 node/near: fix comment 2023-05-25 10:15:14 -07:00
tbjump b827301ce6 node/near: prevent transactionProcessingQueue from growing too large 2023-05-25 10:15:14 -07:00
tbjump c20c3c667d node/near/test: bugfix don't write to testCase.doneC from setupAndRun 2023-05-25 10:15:14 -07:00
tbjump 42e8121d7d node/near: improve error handling in mock_server 2023-05-25 10:15:14 -07:00
tbjump 51dd2875f7 node/near: re-organize test cases 2023-05-25 10:15:14 -07:00
tbjump f52b123586 node/near: add timeouts to tests 2023-05-25 10:15:14 -07:00
tbjump a5a37495bb node: log golang version on startup 2023-05-24 09:52:58 -07:00
tbjump db462668a6 node: bugfix: inverted meaning of publicRpcLogToTelemetry 2023-05-24 09:52:58 -07:00
tbjump 6a231e8149 node: add options --telemetryServiceAccountFile and --telemetryProject 2023-05-24 09:52:58 -07:00
bruce-riley f5b96ecb4e
Node/SDK: Mainnet Sei deploy (#2969)
Change-Id: I18491c36963e44791c688d1b14fb2c8062eb6544
2023-05-23 17:14:26 -05:00
bruce-riley 5aa99a959f
Node: IBC Watcher channel query broken (#2950) 2023-05-17 17:04:46 -05:00
Jonathan Claudius 4903fe8313 node: lower governor limit for solana 2023-05-16 09:16:55 -04:00
Nikhil Suri ee7d0765f9
sdk: add new governance VAA for IbcReceiverUpdateChainConnection (#2590)
* sdk: add new governance VAA for IbcReceiverUpdateChainConnection

* Enforce connectionId to be 64 bytes, add tests in rust sdk

* Update PrependBufferBytesFixed to LeftPadBytes, add template function + command for IBC governance VAA

* Add >64 length check for ibcReceiverUpdateChainConnectionConnectionId in runIbcReceiverUpdateChainConnectionTemplate command

* Update naming of governance VAA to reflect new mapping of channelId -> chainId

* Add TargetChainID to admin commands

* Node: Add IBC update channel to admin verify cmd

---------

Co-authored-by: Bruce Riley <briley@jumptrading.com>
2023-05-12 06:11:21 -04:00
tbjump d9d5481092 node: update golang to 1.20 from 1.19 2023-05-12 05:59:53 -04:00
tbjump d22cf3d7d2 node/gov: Add tBTC to manual_tokens.go 2023-05-11 15:47:41 -07:00
tbjump 3a2fb8b47d
node/gov: change Sui parameters to M/00k (#2914)
Co-authored-by: tbjump <>
2023-05-11 14:19:54 -04:00
Nikhil Suri b8b425263b
node/watcher: filter recv_packet events (#2883) 2023-05-05 14:55:09 -07:00
tbjump a5092db982 node/governor: handle type assertion error 2023-05-05 07:13:40 -07:00
tbjump ff413a2068 node: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump ab1378d744 node/watchers/sui: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump adde6213f5 node/watchers/solana: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump b2ae264928 node/watchers/ibc: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump 555b304f46 node/watchers/cosmwasm: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump c33ceadebf node/processor: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump b5f1622129 node/watchers/algorand: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump 91fd0e0517 node: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump e420d26356 node/accountant: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump 8f1ab74b53 hack/: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump 28fb0f0ec8 node/adminserver: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump 990f8d1dbe node/governor: fix linter warnings 2023-05-05 07:13:40 -07:00
tbjump 8de708193b node/watchers/wormchain: linter fixes 2023-05-05 07:13:40 -07:00
tbjump e979d20ccd node/watchers/near: linter fixes 2023-05-05 07:13:40 -07:00
tbjump c718834021 node/acct/test: prealloc keys 2023-05-05 07:13:40 -07:00
tbjump 03c0190277 node/watchers/evm: do not allow finalizer == nil (TOB-WORMGUWA-17) 2023-05-04 11:07:07 -07:00
tbjump 3e1b31e7db node/watchers/evm: comment TOB-WORMGUWA-8 2023-05-04 11:07:07 -07:00
tbjump 5d137b6d88 node/watchers/polygon: implement unsubscribe (TOB-WORMGUWA-7) 2023-05-04 11:07:07 -07:00
tbjump 100a01b4b1 node/watchers/evm: fix potential resource leak due to wrong context usage (TOB-WORMGUWA-6) 2023-05-04 11:07:07 -07:00
tbjump f60a5c81cc node/governor: don't log payload during err in reloadPendingTransfer 2023-05-04 11:04:14 -07:00
tbjump 670bfdedbe node/governor: add type assertion in queryCoinGecko 2023-05-04 11:04:14 -07:00
tbjump d436ac2166 node/governor fix potential nil ptr deref in reloadPendingTransfer 2023-05-04 11:04:14 -07:00
tbjump 9e522ace16 node/governor: document usage of mutex (TOB-WORMGUWA-2) 2023-05-04 11:04:14 -07:00
bruce-riley cfeda55cce
Node/Gacct: Fix deadlock when publishing xfers (#2843)
* Node/Gacct: Fix deadlock when publishing xfers

Change-Id: Ia4dd4eebb9c02fa81a98f368c527e15cca8574ac

* Fix lint errors

Change-Id: Iaef3fefca87de298edbbf43009584c30252b9fe7
2023-05-04 09:57:30 -05:00
tbjump a88982e43d upgrade to golang 1.19.9 2023-05-04 07:22:38 -07:00
tbjump fabbab52d5 node: go mod tidy 2023-05-04 07:22:38 -07:00