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
2c9703670e
Node/Watcher/EVM: Debug logging ( #3813 )
2024-03-05 16:39:33 -06:00
bruce-riley
67466838bf
Node/Gov: Add target to db ( #3791 )
...
* Node/Gov: Add target to db
* Code review rework
* Switch tests to use ErrorContains
2024-03-05 09:46:50 -06:00
Bing Yu
eee4641f55
telemetry: add 204 as success status code ( #3772 )
...
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-02-08 23:26:00 +08:00
bruce-riley
3f75eca90e
Node/Solana: Allow reobservation of confirmed messages ( #3769 )
...
* Node/Solana: Allow reobservation of confirmed messages
* Add check for finalized watcher
* Tweak finalized change
2024-02-07 16:01:41 +00:00
Kevin Peters
c7a7d1a56b
node: Added RecoverChainId governance support
2024-02-06 16:49:20 -05:00
Dirk Brink
cfe1ec40a8
node: governor token list update ( #3762 )
...
Co-authored-by: djb15 <djb15@users.noreply.github.com>
2024-02-06 13:15:10 -08:00
bruce-riley
ed53cd8797
Node/CCQServer: Metrics publish exiting ( #3766 )
2024-02-05 17:28:24 +00:00
bruce-riley
b48cb6607c
Node/CCQServer: Quorum not met ( #3758 )
...
* Node/CCQServer: Quorum not met
* Better track failed queries
* Add total responses by chain and peer ID
2024-02-02 15:10:51 -05:00
Ben Guidarelli
7f0a2a29c9
constants: Add Dymension to cosmwasm chains ( #3763 )
2024-02-01 14:40:37 -05:00
Evan Gray
937af99b94
node: remove batchVAA remnants
2024-01-30 18:05:56 -05:00
Nikhil Suri
9f0892d579
sdk: add stargaze and seda chain IDs ( #3726 )
2024-01-30 14:40:34 -05:00
bruce-riley
82f18209da
Node/CCQServer: Enhance response logging ( #3754 )
2024-01-30 11:18:35 -06:00
Jonathan Claudius
e9431ab3c3
governor: update base limits
2024-01-30 11:23:34 -05:00
bruce-riley
e98bb64436
Node/CCQServer: log responses ( #3752 )
2024-01-29 14:00:54 -06:00
bruce-riley
3f074f30ee
Node/CCQ: Solana min context slot fix ( #3751 )
...
* Node/CCQ: Solana min context slot fix
* Node/CCQ: retry not updating timeout
2024-01-29 12:09:23 -06:00
bruce-riley
10b83f78f5
Node/CCQ: Solana min context slot support ( #3747 )
...
* Node/CCQ: Solana min context slot support
* Code review rework
* Add port number to solana test URL
2024-01-26 18:34:17 -06:00
bruce-riley
a445287f38
Node/gwrelayer: Log wormchain txhash ( #3746 )
2024-01-26 09:13:46 -06:00
bruce-riley
0c15b07f32
Node/CCQ: Solana library not honoring min context slot ( #3743 )
2024-01-25 15:13:46 -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
Dirk Brink
6655a4250d
Node: Update governor limit for Polygon ( #3739 )
2024-01-25 08:39:10 -08:00
bruce-riley
65abbde534
Node/CCQ: Add test to verify solana public key length ( #3730 )
2024-01-23 13:29:15 -06:00
bruce-riley
846c2e9c9d
CCQ: Solana mock should support min_context_slot ( #3728 )
...
* CCQ: Solana mock should support min_context_slot
* Minor tweaks from PR 3637
2024-01-23 07:39:27 -06:00
bruce-riley
59dff67821
Node/CCQ: Solana query support ( #3637 )
...
* Node/CCQ: Solana query support
* Add mock stuff
* Add mock stuff
* Code review rework
* Code review rework
* Only allow "finalized", not "confirmed"
* Code review rework
* Change SolanaAccount query type to 4
* Code review rework
* Fix sdk tests
2024-01-22 18:59: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
Bing Yu
c7756f88c4
node: add "none" to disable watcher ( #3718 )
2024-01-18 04:29:49 +08:00
Dirk Brink
60a9370d6d
node: governor token list update ( #3713 )
...
Co-authored-by: djb15 <djb15@users.noreply.github.com>
2024-01-17 11:37:53 -08:00
bruce-riley
a858d76ef5
Node: Always cut over to quic-v1 ( #3715 )
2024-01-17 10:12:00 -06:00
Bruce Riley
da3828354a
Upgrade to libp2p v0.32.2
2024-01-17 10:08:14 -06:00
Jeff Schroeder
a255adb1e3
node: update some go dependencies
...
Courtesy of:
$ go mod tidy
We needed to update a few more dependencies for the guardian to build.
This also fixes the slices.SortFunc() function signature from returning
a bool to an int.
2024-01-17 10:08:14 -06:00
Jeff Schroeder
f8915e6c25
node: update gomega
...
Courtesy of:
$ go get -u github.com/onsi/gomega
2024-01-17 10:08:14 -06:00
Jeff Schroeder
395590d627
node: update otelhttp
...
Courtesy of:
$ go get -u go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
The old otel libraries won't build with the latest deps of go-libp2p-kad-dht.
2024-01-17 10:08:14 -06:00
Jeff Schroeder
8cfa516c23
node: update go-libp2p-kad-dht
...
@barnjamin thinks this will make magic for some issues with the spy in
docker being sad.
Automated via:
$ go get github.com/libp2p/go-libp2p-kad-dht
2024-01-17 10:08:14 -06:00
bruce-riley
a6cc3b1ce5
Node/CCQ: Unmarshal should check for extra bytes ( #3711 )
2024-01-12 16:31:39 -06:00
Nikhil Suri
e70f215311
sdk: vaa: add missing chain IDs for gnosis and rootstock ( #3624 )
...
* sdk: vaa: add missing chain IDs for gnosis and rootstock
* Add chain IDs to structs_test.go
* Regerate publicrpc protobuf with rootstock chain ID
2024-01-10 15:16:43 -05:00
Dirk Brink
cc0cd9fc52
node: governor token list update ( #3626 )
2024-01-09 09:27:45 -08: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
Jonathan Claudius
838566e518
governor: increase avax governor limits ( #3635 )
2024-01-08 14:17:45 -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
Dirk Brink
1a187d6c1d
node: Fix governor token list script for new chains ( #3625 )
2024-01-04 08:03:16 -08:00
alex
8b39c1a9bf
docs: fix typos with spell checker
2023-12-21 15:24:20 -06:00
bruce-riley
8590089b0d
Node/CCQ: Server auto reconnect ( #3611 )
2023-12-21 14:28:15 -06:00
bruce-riley
818038ef80
Deploy Sepolia based L2s ( #3606 )
...
* Deploy Sepolia based L2s
* Code review rework
2023-12-20 08:56:14 -06:00
djb15
ac1716ea01
node: governor token list update
2023-12-15 18:15:36 -06:00
bruce-riley
ebd1802956
Node/CCQ: Allow subscribes from bootstrap peers ( #3604 )
2023-12-14 13:24:31 -06:00
bruce-riley
ef408a9f71
Node/EVM: Celo not setting timestamp in blocks ( #3603 )
2023-12-14 12:16:32 -06:00
Csongor Kiss
bd62e27789
terra: migrate to cosmwasm 1.1.0 ( #3138 )
...
* terra/contracts: migrate to cosmwasm 1.1.0
use `classic-bindings` crate instead of terra-cosmwasm.
This is the updated version that calls the correct query post chain upgrade
* terra/Dockerfile: update workspace optimizer
* terra: label is now required on instantiate
* terra: accept either 32 or 20 byte addresses
* terra: update devnet terra classic
* node/cosmwasm: always CW >1
* tilt: re-introduce terra classic tests
* terra: make get_address support both 20 and 32 byte addresses
* terra: fix tests to account for burn tax
Since the tests are now ran against the new LocalTerra which has burn
tax, the transaction results are different from before
* terra/token-bridge: check first 12 bytes to determine native denoms
* terra/token-bridge: simplify conditional
---------
Co-authored-by: Evan Gray <battledingo@gmail.com>
2023-12-13 16:27:17 +00:00