Commit Graph

614 Commits

Author SHA1 Message Date
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