Commit Graph

3456 Commits

Author SHA1 Message Date
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 d5cd42f05f sdk/js-query: add mock 2023-11-08 13:52:26 -05: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
Csongor Kiss 6168dd8ab3 near/contracts: clamp upgrade repayment delta to 0
This ensures that the refund amount is at most the attached deposit when
upgrading the contract.
2023-11-08 09:06:04 -05:00
cs 446cbaaa53 near/Dockerfile.build: fix paths in docker builder 2023-11-08 09:06:04 -05:00
Jonathan Claudius 68ccd92bc1
security: add new solana audit (#3507) 2023-11-07 20:13:15 -05: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
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