Commit Graph

3445 Commits

Author SHA1 Message Date
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
derpy-duck 33c0adbf82
relayer: Improve IWormholeReceiver docstring (#3488)
* IWormholeReceiver docs good

* note to verify
2023-11-02 13:05:05 -04: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
M-Picco 61f34510f8 Add new chain id for Celestia 2023-11-01 22:05:59 -04:00
Csongor Kiss 2e31789c70
dockerfile: update nodesource installer (#3487)
* aptos/Dockerfile: update nodesource installer

This is the recommended installation procedure following 4f746d991e (installation-instructions)

* solana/Dockerfile.client: update nodesource installer

This is the recommended installation procedure following 4f746d991e (installation-instructions)

* sui/Dockerfile.base: update nodesource installer

This is the recommended installation procedure following 4f746d991e (installation-instructions)
2023-11-01 15:32:19 -04:00
bruce-riley 398f57498d
NODE/GACCT: Don't reload invalid transfers (#3486) 2023-11-01 12:13:05 -05:00
Evan Gray 70ae80ac83 sdk/js-query: package bump 2023-11-01 10:47:57 -04:00
bruce-riley b29f70d1b1
NODE/IBC: Allow for a separate block height URL (#3480) 2023-11-01 09:46:05 -05:00
bruce-riley 3b17062869
NODE/IBC: Allow for a separate block height URL (#3480) 2023-11-01 09:45:54 -05:00
Csongor Kiss d6a410d7b2 ethereum/relayer: fix comment about storage slot derivation 2023-10-31 19:06:40 -04:00
bruce-riley af8138d4fb
CCQ/EVM: eth_call_by_timestamp and eth_call_with_finality support (#3468)
* CCQ/EVM: ethCallByTimestamp & ethCallWithFinality

* Code rework

* Code review rework
2023-10-31 17:05:19 -04:00
Jonathan Claudius 1b250a8091 Add Neodyme audit 2023-10-31 17:04:10 -04:00
Evan Gray 1a378c31f8 ci: rely on jest timeout for vaa retry 2023-10-31 16:26:16 -04:00
Evan Gray b13ec6a9ab sdk/js/relayer: tests respect num_guardians 2023-10-31 13:01:02 -04:00
derpy-duck bb6892dfe3
correct urls (#3474) 2023-10-30 15:37:33 -04:00
derpy-duck ae1e4b32e3
base is domain 6 (#3471)
* base is domain 6

* explicit CCTP domain to name mapping
2023-10-30 14:25:40 -04: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 ab4e415f2f github: update proto owners 2023-10-27 16:47:01 -05:00
Paul Noel b6a5245f89 node: Add get-and-observe-missing-vaas command 2023-10-27 14:44:09 -05:00
Nikhil Suri ff970b5cad cosmwasm: ibc-translator: increase packet timeout to 1 year 2023-10-27 00:25:14 -04: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 5afd9eab2d Code review rework 2023-10-26 12:59:24 -04:00
Jeff Schroeder e613486b92 ethereum: QueryDemo updates
* Use custom errors in place of require() to match the error handling
style overall of QueryResponse.
2023-10-26 12:59:24 -04:00
Jeff Schroeder 1eb481b2c9 ethereum: QueryDemo updates
* Gas bad
* Natspec updates
* Some address(0) checks in the constructor
2023-10-26 12:59:24 -04:00
Jeff Schroeder 50f6ca9fc7 ethereum: more QueryResponse tests 2023-10-26 12:59:24 -04:00
Jeff Schroeder f3b44e322b ethereum: move custom errors out in QueryResponse
If you don't do this, in the tests you have to do:

    vm.expectRevert(bytes4(keccak256("UnsupportedQueryType()")));

Whereas with this change, you can simply import the contract and do:

    vm.expectRevert(UnsupportedQueryType.selector);
2023-10-26 12:59:24 -04:00
Jeff Schroeder e219e2fd8c ethereum: QueryResponse test tyop fix 2023-10-26 12:59:24 -04:00
Jeff Schroeder 841f041c7e ethereum: update QueryResponse tests
Instead of the test contract inheriting directly from the QueryResponse
contract, it instantiates an instance of it and uses that for the
testing. This seems to work much nicer with the forge coverage tools.

With this commit, the coverage for QueryResponse shows 85.1% line
coverage, 100% function coverage, and 50% branch coverage.
2023-10-26 12:59:24 -04:00
Jeff Schroeder 15e1dcd3dd ethereum: update the QueryResponse contract
By moving the structs out of the abstract contract, you can use them
directly in any contract that imports QueryResponse.sol *without*
requiring that contract to inherit from the QueryResponse contract. This
seems to work much better with forge's coverage tooling.
2023-10-26 12:59:24 -04:00
Jeff Schroeder b4a27f4aed ethereum: Query.t.sol --> QueryResponse.t.sol
To follow standard forge testing practice, you use the same filename
for a test contract as for the file it is testing, but make the
extension .t.sol.
2023-10-26 12:59:24 -04:00
Jeff Schroeder c40323828b ethereum: limit deps in the QueryDemo contract
- Context is generally a worthless import
- Ownable is totally unused and a worthless import
2023-10-26 12:59:24 -04:00
Bruce Riley faea3bab8d CCQ: EVM Library and Demo Contract 2023-10-26 12:59:24 -04:00
cs fc39351b71 Makefile: set CGO_ENABLED=1
This is required for building the guardiand binary
2023-10-26 12:29:56 -04:00
bruce-riley 03dc4c5c7d
Node/EVM: Shouldn't publish safe block in hbs (#3466) 2023-10-26 10:22:02 -05:00
Nikhil Suri a04e8a386c
Update gateway.yml (#3464) 2023-10-25 23:07:02 +02: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
Evan Gray e3471a952e sdk/ccq: refine dependencies 2023-10-23 15:43:21 -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 ab6828454a
Github: Update code owners for node/hack (#3457) 2023-10-23 11:08:54 -05:00
Ben Guidarelli c682706ccd
SDK: write to the correct index (#3454) 2023-10-20 14:28:22 -04:00
Ben Guidarelli cbb570c0a7
set branch to develop from master (#3452) 2023-10-19 11:48:14 -04: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