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
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
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
bruce-riley
a3bc1d54bb
CCQ: Server use base networkID for logging ( #3531 )
2023-11-15 10:39:00 -06: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
140e8a08d7
CCQ: Query server logging ( #3508 )
...
* CCQ: Add additional logging to query server
* Code review rework
2023-11-08 20:47:28 -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
Evan Gray
85e785a132
node/watchers/solana: additional safety check
2023-11-08 13:46:43 -05:00
bruce-riley
0da1f37874
CCQ: Query server metrics ( #3503 )
...
* CCQ: Query server metrics
* Fix readiness port
* Fix readiness
* Fix testing script
2023-11-08 11:22:34 -06:00
bruce-riley
54a8fe784b
CCQ: Query server response channel too small ( #3502 )
2023-11-06 14:16:43 -06:00
bruce-riley
0c6dc18975
CCQ: Query server code cleanup ( #3496 )
2023-11-06 08:56:34 -06:00
bruce-riley
e9e4c0b69c
Node/EVM: Suppress unnecessary polling errors ( #3495 )
...
* Node/EVM: Suppress unnecessary polling errors
* Code review rework
2023-11-06 08:55:44 -06:00
bruce-riley
4f9400ca3d
Node/EVM: Fix race in network stats ( #3493 )
2023-11-02 16:05:07 -05:00
bruce-riley
36022b8873
Node/EVM: Add timestamp to block ( #3490 )
2023-11-02 11:43:04 -05: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
398f57498d
NODE/GACCT: Don't reload invalid transfers ( #3486 )
2023-11-01 12:13:05 -05:00
bruce-riley
3b17062869
NODE/IBC: Allow for a separate block height URL ( #3480 )
2023-11-01 09:45:54 -05:00
bruce-riley
b708f5ac5b
CCQ: eth_call_with_finality ( #3460 )
...
* CCQ: eth_call_with_finality
* Attempt to fix tilt error
2023-10-30 11:13:03 -05:00
Jeff Schroeder
50f51b41f1
node: update dependencies
...
Now that the google cloud logging support is removed, this is from:
go mod tidy -v
The output was:
unused cloud.google.com/go
unused cloud.google.com/go/logging
unused cloud.google.com/go/longrunning
unused github.com/googleapis/gax-go/v2
2023-10-27 21:28:53 -04:00
Jeff Schroeder
1960750fd0
node: remove gcp logging flags from guardiand
2023-10-27 21:28:53 -04:00
Jeff Schroeder
382cb9a0aa
node: remove google logs from pkg/telemetry
2023-10-27 21:28:53 -04:00
Paul Noel
b6a5245f89
node: Add get-and-observe-missing-vaas command
2023-10-27 14:44:09 -05: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
03dc4c5c7d
Node/EVM: Shouldn't publish safe block in hbs ( #3466 )
2023-10-26 10:22:02 -05:00
bruce-riley
90b3c3736e
Node: Update QUIC cutover time for testnet ( #3463 )
2023-10-24 14:26:19 -05:00
Jeff Schroeder
c6afdeeb86
Update golang version to 1.20.10
...
This feature release mitigates CVE-2023-39325
2023-10-24 13:34:19 -04:00
bruce-riley
5a5946e7c4
Node/Governor: Update token list ( #3456 )
2023-10-23 14:43:11 -05:00
bruce-riley
4324d08d62
Node/CCQ: Move watcher code ( #3458 )
2023-10-23 14:40:04 -05:00
bruce-riley
d2db1616c5
CCQ: eth_call_by_timestamp ( #3449 )
...
* CCQ: eth_call_by_timestamp
* CI: add CCQ sdk tests
* SDK test changes
* Add block parsing tests
* Code review rework
* More code review rework
* More rework
* Allow two blocks to have the same timestamps
* Restore timestamp check
* Restore timestamp check
* Minor code rework
---------
Co-authored-by: Evan Gray <battledingo@gmail.com>
2023-10-19 10:32:23 -05:00
bruce-riley
c991d991db
Node: QUIC Cut Over ( #3431 )
...
* Node: QUIC Cut Over
* New design
* Code review rework
2023-10-19 10:32:13 -05:00
bruce-riley
0cac01a739
CCQ: Server should check api key first ( #3443 )
...
* CCQ: Server should check api key first
* Add integration tests
2023-10-13 17:04:43 -05:00