Commit Graph

180 Commits

Author SHA1 Message Date
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
tbjump e7abd1d968 node: unify environment config with common/mode.go 2023-05-25 11:11:33 -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
tbjump 91fd0e0517 node: fix linter warnings 2023-05-05 07:13:40 -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
bruce-riley 67c7c86419
Node: Add Sui mainnet support (#2826)
Change-Id: I6ea3e345c2e907f738fc82298d5497ce858f55fd
2023-05-02 09:24:57 -05: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
Paul Noel 40a638de4c node: add sui watcher for devnet and testnet only 2023-04-18 09:03:09 -04: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