Commit Graph

816 Commits

Author SHA1 Message Date
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
bruce-riley ea70610e46
CCQ: Testing (#3424)
* CCQ: Testing

* Use new p2p.NewHost function

* More rework

* More rework
2023-10-12 16:23:51 -05:00
bruce-riley ad696d2f3c
CCQ: Query Server (#3422)
* CCQ: Query Server

* More rework

* Clean up p2p code

* Health check change

* node: support http PUT or POST for new ccq queries

---------

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2023-10-12 14:29:21 -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 7b41d1c468
Node: Minor P2P refactor to share init code (#3435) 2023-10-11 08:34:16 -05:00
Ben Guidarelli 251e6c4a64
clients/js: replace wormscan with wormholescan in urls (#3298) 2023-09-29 11:57:17 -04:00
bruce-riley 41fa0ecc0e
Node: Don't request reobservation on reobservations (#3397)
* Node: Don't request reobservation on reobservation

* Acct should handle reloading old pending transfers
2023-09-29 10:42:44 -05:00
bruce-riley 06d8f2d268
Node: Keygen changes (#3401) 2023-09-27 12:06:12 -05:00
Evan Gray be96073494 node/evm: fix Base safe block support 2023-09-25 09:44:39 -04:00
bruce-riley bf61813f48
Node: Obs incorrectly ignored when marked settled (#3394) 2023-09-25 08:43:40 -05:00
Ben Guidarelli 3ecc620eed
node/evm: Fix shadowed variable in Optimism case (#3390)
* EVM Watcher: Fix shadowed variable in Optimism case

* move metric setter into special case
2023-09-22 13:08:16 -04:00
Ben Guidarelli a3df706b8a Solana Watcher: filter transactions to those including a log from the wormhole core contractact prior to resolving account table references 2023-09-18 10:17:06 -04:00
Ben Guidarelli 7a75b46597 Solana Watcher: resolve account table lookups for transactions that include v0 account tables 2023-09-18 10:17:06 -04:00
Paul Noel 546ccac3c4 node/pkg/watcher: update terra 2023-09-13 13:30:24 -05:00
tbjump 8c1f7d2eda upgrade to golang 1.20.8 2023-09-13 07:17:31 -07:00
bruce-riley 846deb2f40
Node/Watcher: Update solana min accounts check (#3367) 2023-09-11 10:55:06 -05:00
bruce-riley c1ff1e1d1c
Node/Gateway: Relay attestations (#3350) 2023-09-07 14:11:15 -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
tbjump ac1c20dfd5 node/node_test: Add RSA to crypto benchmark 2023-09-01 14:05:19 -04:00
tbjump c16540cb37 node/node_test: Use guardian 1 instead of 0 to query for VAA 2023-09-01 07:09:20 -07:00
tbjump e08f620e81 node/processor: Avoid goroutine in fast path for own sig if possible 2023-09-01 07:09:20 -07:00
tbjump 59aa71d039 node/proessor: Early return if no quorum (performance improvement) 2023-09-01 07:09:20 -07:00
tbjump 68f6cf8e6c node/processor: improve handleObservation performance 2023-09-01 07:09:20 -07:00
tbjump 5ca5b53cd8 node: buffer gossipSendC 2023-09-01 07:09:20 -07:00
tbjump 4550dd179d node: increase buffer sizes 2023-09-01 07:09:20 -07:00
Reisen 0de011cb42
node/pkg/guardiand: require pythnetWS argument (#3342) 2023-08-30 16:49:51 -05:00
Paul Noel c8abfd7333
node/pkg/watcher: sui json parsing fix (#3331) 2023-08-28 14:16:11 -05:00
Bruce Riley fdeb53273e Node/Gateway: Relayer handle VaaAlreadyExecuted 2023-08-25 14:38:15 -05:00
tbjump 1d2e26c081 node: (cleanup) remove injectC in favor of using msgC directly 2023-08-25 11:02:21 -07:00