Jeff Schroeder
683c5dfb59
node: a few minor spelling cleanups
2024-03-31 15:42:04 -04:00
Jeff Schroeder
a4882e12be
node: override the p2p advertised address
...
When behind a private network such as in the case of a guardian running
in Kubernetes, or behind a NAT, the default p2p setup doesn't work. It
looks at all addresses that it is listening on and advertises them on p2p
as the addresses for contacting the guardian. This patch is the first
step towards allowing specifying a custom ip address to be advertised on
the gossip p2p network.
For example, a guardian running inside kubernetes can post a reserved ip
address of the incoming ingress/load balancer that sends the traffic in
to their guardian.
2024-03-31 15:42:04 -04:00
bruce-riley
428920acb8
Deploy Blast testnet ( #3859 )
...
* Deploy Blast testnet
* Update contract addresses
2024-03-29 09:20:31 -05:00
bruce-riley
d036e70740
Node/P2P: Add default bootstrap peers ( #3852 )
...
* Node/P2P: Add default bootstrap peers
* Rework
* Update ccqlistener
2024-03-22 14:27:03 -05:00
bruce-riley
fa187bcf73
CCQ/Node/EVM: Backfill cache ( #3558 )
...
* CCQ/Node/EVM: Backfill cache
* Code review rework
* Make backfilling configurable
* Code review rework
2024-03-15 14:26:11 -05:00
bruce-riley
b385f64ff7
Deploy Mantle to Sepolia ( #3830 )
2024-03-13 11:22:09 -05:00
bruce-riley
a883b7f351
Deploy Polygon Sepolia Testnet ( #3723 )
...
* Deploy Polygon Sepolia Testnet
* Code review rework
2024-03-12 09:46:28 -05:00
bruce-riley
3a9dfd968b
NTT / Acct / Node: Guardian support ( #3815 )
...
* NTT/Acct/Node: Guardian changes
* Add per-emitter enforcement
* complete ntt accountant integration tests and run in parallel
* Minor tweaks
* Increase delay in tests
* fix accountant ci check
* Add CI AR address
* update prefixes
* increase timeout
* update ntt transfer wire format
* Code review rework from PR #3800
* Up tilt timeout
* Allow NTT accountant without base accountant
* Define known automatic relayer emitters
* Code review rework
---------
Co-authored-by: Evan Gray <battledingo@gmail.com>
2024-03-08 07:52:12 -06:00
bruce-riley
a10aab1c6d
Node: Remove Neon support ( #3732 )
...
* Node: Remove Neon support
* Code review rework
2024-01-25 12:55:02 -06:00
Bing Yu
7acbacd0ea
node: Add config file support ( #3710 )
...
* node: Add logic to read file config and bind flags
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: add guardian node config to node.yaml
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: fix path typo
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: modularize initFileConfig
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: update ethRPC to the correct url
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: update config file path
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: add initial config file testing data
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: add test for flag precedence over config file
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: add test cases for flag, env var and config file precedence
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: use backticks as expected output
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: update comments
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: handle binding errors
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: create separate test functions
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: absolute filepath -> relative filepath
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* docs: Add guardian config file usage
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: update config file name and env var prefix
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
---------
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-01-20 02:05:23 +08:00
Bing Yu
3d16cca785
node: Fix url verification bug where <ip>:<port> is not supported ( #3719 )
...
* node: update url verification logic to support ip:port format
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: add test case for ip:port
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: change neon rpc scheme from websocket to HTTP
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: update comment to be more accurate
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: remove neon from devmode
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: ignore internal xlabs testing file
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: add ws:// prefix to Sui
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: add ws:// and wss:// prefixes to Sui schemes
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: update testnet yaml naming
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
---------
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-01-19 03:14:59 +08:00
Bruce Riley
da3828354a
Upgrade to libp2p v0.32.2
2024-01-17 10:08:14 -06:00
Bing Yu
81af52a2c7
node: Add URL scheme verification along flag registration ( #3627 )
...
* node: Add valid schemes for each RPC/WS
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: add function to validate rpc/ws url
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Add function to generate formats based on schemes input
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Add function to register and validate flag
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Change cobra flag register to register and verify
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: registerFlagWithValidation -> registerRPCFlagWithValidationOrFail
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Fix minor formatting error
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Format node.go
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Remove default parameter
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Fix accoutantWS accepted schemes
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Remove expectedSchemes to use validSchemes[rpcName] instead
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Fix typos
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: map -> inline param
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Add unit test for validateURL
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
---------
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-01-10 00:19:15 +08:00
bruce-riley
b7631bfbba
Deploy Holesky Testnet ( #3630 )
2024-01-08 16:42:10 -06:00
Bing Yu
8513e7dd22
node: sync dump-rpcs ( #3632 )
...
* node: Add suiWS to rpcMap
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Add missing RPC/WS to rpcMap
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
---------
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-01-09 03:57:02 +08:00
Bing Yu
cd579d0100
node: Add accepted formats and examples for rpc and ws parameter desc ( #3622 )
...
* node: Add accepted formats and examples for rpc and ws parameter description
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Add wss and https to the accepted formats to reduce confusion
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
* node: Add wss and https to the accepted format to reduce confusion
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
---------
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-01-06 00:35:06 +08:00
bruce-riley
818038ef80
Deploy Sepolia based L2s ( #3606 )
...
* Deploy Sepolia based L2s
* Code review rework
2023-12-20 08:56:14 -06:00
bruce-riley
a2cb2a1226
Deploy Mantle to testnet ( #3438 )
2023-12-11 10:26:56 -06:00
Paul Noel
dee0d1532b
node/pkg/telemetry: prometheus remote write
2023-12-06 10:01:37 -06:00
bruce-riley
62e7801cfa
Node/EVM: Remove obsolete polygon parameters ( #3571 )
2023-12-04 10:05:29 -06:00
bruce-riley
e308b87062
Node: Add cosmos chains over IBC ( #3562 )
...
* Node: Add cosmos chains over IBC
* Avoid data race in watcher
* Add Osmosis as an IBC chain
2023-12-01 10:21:07 -06:00
bruce-riley
37691c1bad
Node/EVM: Polygon finality change ( #3569 )
2023-12-01 10:19:02 -06:00
bruce-riley
0a89e23589
Deploy scroll to testnet ( #3429 )
...
* Deploy scroll to testnet
* Don't allow scroll in mainnet
* Add scroll to ccq, use batch poller
2023-11-08 14:14:47 -06:00
bruce-riley
9be9a564b6
Node/EVM: Track latest block ( #3470 )
...
* Make finality an enum rather than a bool
* Significant code review rework
* Fix merge errors
* Code review rework
2023-11-02 11:59:40 -04:00
bruce-riley
3b17062869
NODE/IBC: Allow for a separate block height URL ( #3480 )
2023-11-01 09:45:54 -05:00
Jeff Schroeder
1960750fd0
node: remove gcp logging flags from guardiand
2023-10-27 21:28:53 -04:00
bruce-riley
bd7262d819
Node/EVM: More nodes support finalized and safe ( #3467 )
...
* Node/EVM: More nodes support finalized and safe
* Remove unused finalizers
2023-10-26 14:26:15 -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
06d8f2d268
Node: Keygen changes ( #3401 )
2023-09-27 12:06:12 -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
Reisen
0de011cb42
node/pkg/guardiand: require pythnetWS argument ( #3342 )
2023-08-30 16:49:51 -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
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
tbjump
c5280d5c3a
node: Fix skipPrivateLogs option in Loki telemetry
2023-08-10 14:09:31 -04:00
bruce-riley
1721fef95a
Node: Gateway Relayer ( #3243 )
2023-08-03 10:26:50 -05: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
c8fca0f5b9
node/p2p: Enforce connection to bootstrap node on startup
2023-07-14 11:35: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
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
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
tbjump
26d849b58a
node: Wait for bootstrap guardian in devnet
2023-06-16 07:44:58 -07: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
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
e432378fbb
node: move adminrpc from guardiand into own package
2023-06-06 09:13:48 -07:00