Commit Graph

783 Commits

Author SHA1 Message Date
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
Dirk Brink 80f5b75e58
node: Updated governor token list update script (#3588)
* node: Updated governor token list update script

* node: Improved logging + PR comments
2023-12-13 08:08:45 -08:00
bruce-riley 1a2fbd5047
Node/EVM: Minor code cleanup (#3600) 2023-12-13 09:21:09 -06:00
Evan Gray 094a404902 tilt: remove additional root CA support 2023-12-12 14:22:05 -06:00
bruce-riley 7a2a19c31b
Node/CCQ/Server: Clean restart (#3598)
* Node/CCQ/Server: Clean restart

* Code review rework

* Code review rework
2023-12-11 16:00:46 -06:00
bruce-riley fd05cb0a48
Node/CCQ/Server: Add permissions file watcher (#3586) 2023-12-11 14:44:48 -06:00
bruce-riley 2a3d4c805c
Node/CCQ/Server: Add per user metrics (#3596) 2023-12-11 11:24:05 -06:00
bruce-riley a2cb2a1226
Deploy Mantle to testnet (#3438) 2023-12-11 10:26:56 -06:00
Paul Noel bf9660f75b node/pkg/proto: add wormchain 2023-12-08 10:06:55 -06:00
bruce-riley d09dc13918
Node/EVM: Another blocktime query retry reason (#3583) 2023-12-07 15:18:48 -06:00
Jonathan Claudius 10a3a65a47 governor: lower aptos governor limit to 1M 2023-12-07 13:34:27 -05:00
bruce-riley 0c0158ac13
Node/SDK: Add neutron support via IBC (#3563)
* Node/SDK: Add neutron support via IBC

* Set core addresses in SDK
2023-12-07 09:42:09 -06:00
bruce-riley 9ccf5e593e
Node/EVM: Retry block time read (#3577) 2023-12-06 16:54:03 -06:00
Paul Noel dee0d1532b node/pkg/telemetry: prometheus remote write 2023-12-06 10:01:37 -06:00
bruce-riley 75c6b94d79
CCQ/Node/EVM: Enable timestamp cache on all chains (#3575) 2023-12-05 08:56:11 -06:00
bruce-riley e89ebeb0cd
Node/GACCT: Drop bogus pending transfers from db (#3572) 2023-12-05 07:56:26 -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 4cb90bca40
Node/Gov: Update token list (#3566) 2023-12-01 09:43:33 -06:00
bruce-riley e0fbd51f77
Node/Solana: Process multiple wormhole instructions (#3527)
* Node/Solana: Process multiple wormhole insts

* Better error logging

* node/solana: consistency defense-in-depth check

* Fix formatting

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2023-12-01 08:56:59 -06:00
bruce-riley 36a82af4f0
CCQ/Node/EVM: Refactor (#3542)
* CCQ/Node/EVM: Refactor

* Code review rework
2023-11-28 08:51:30 -06:00
Bruce Riley 21a1129049 QUIC/Node: Set mainnet cut over time 2023-11-27 13:04:45 -05:00
Bruce Riley 05d7151007 CCQ/SDK/js-query: Make tests verify results 2023-11-27 12:55:48 -05:00
Bruce Riley 1152b5bd64 Node/EVM: Celo TimeOfBlockByHash is wrong 2023-11-21 22:52:32 -06:00
Bruce Riley 5ed7035532 CCQ/Node: Remove excessive logging 2023-11-21 21:53:29 -06:00
Paul Noel 9d3cad1ea8 node/pkg/adminrpc 2023-11-21 21:52:54 -06:00
Dirk Brink 630c5c3231
node: Add cache buster for CoinGecko price queries (#3528) 2023-11-21 11:40:11 -08:00
bruce-riley 37bd4b0ba4
CCQ/Node/EVM: Logger cleanup (#3524) 2023-11-17 11:52:50 -06:00
bruce-riley c9a0b0a691
CCQ/Node: P2P message filter is wrong (#3547) 2023-11-17 10:59:06 -06:00
Paul Noel 7384861384 node/pkg/watchers: cw decoding more robust 2023-11-16 10:44:49 -06:00