Commit Graph

623 Commits

Author SHA1 Message Date
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
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
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 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 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
bruce-riley 9e27b73e43
CCQ/Node: Query request ID may not be unique (#3536) 2023-11-16 09:32:16 -06:00
Kevin Peters 0cf298cabe node/pkg/p2p: Add GossipSub configuration to Components struct
This is useful for tweaking the gossip sub params for lower network
egress for example
2023-11-16 09:03:31 -06:00
Evan Gray b9b368540a node/ccq: allow guardian peers 2023-11-15 11:40:01 -05:00
Kevin Peters dfbdc9afb4 node/pkg/p2p: Prevent potential nil pointer dereference when processing heartbeats
Resolves the problem occurring when dereferencing a nil `gk *ecdsa.PublicKey`
during heartbeat processing. This issue arises when non-guardian processes
utilizing the p2p package set the key to `nil`.
2023-11-14 17:00:26 -06:00
bruce-riley 8c7d52f7fd
CCQ: Change network ID (#3523) 2023-11-14 10:46:38 -06:00
Paul Noel f897196f62 node/pkg/adminrpc: Need to decode hex string. 2023-11-14 10:02:37 -06:00
bruce-riley 5c39c8dfde
CCQ/Node: Metrics (#3517) 2023-11-14 08:47:40 -06:00
bruce-riley 3f0abc727c
Node/EVM: Scroll finality (#3518) 2023-11-13 09:47:12 -06:00
Paul Noel 38f02fa2fc node/pkg: fix json unmarshalling 2023-11-10 10:06:18 -05:00
Evan Gray 22bf5f6987 ccq: better proxy peering 2023-11-09 15:47:14 -05:00
Evan Gray 4bfcb89d4c node/watchers/solana: pythnet safety carve out 2023-11-09 12:26:46 -05:00
bruce-riley 3ba2a46671
CCQ/Node/EVM: Cache timestamps (#3491)
* NODE/EVM: Cache timestamps

* Code review rework

* Code review rework
2023-11-08 16:21:30 -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