Commit Graph

3552 Commits

Author SHA1 Message Date
bruce-riley a445287f38
Node/gwrelayer: Log wormchain txhash (#3746) 2024-01-26 09:13:46 -06:00
bruce-riley 0c15b07f32
Node/CCQ: Solana library not honoring min context slot (#3743) 2024-01-25 15:13:46 -06:00
Kevin Peters 33c25f208a sdk/js: 0.10.10 release 2024-01-25 14:43:59 -05:00
Bruce Riley 76b81ee1f8 CCQ/Mock: Solana min context slot is wrong 2024-01-25 14:43:02 -05:00
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
guibescos 55faa9ca1f
sdk/rust: use path dependency for `serde_wormhole` (#2992)
instead of an override. This makes it easier for downstream users to depend on this crate
2024-01-25 15:00:06 +00:00
bruce-riley a2bdc8d0c8
Docs/Testnet: Add P2P to bootstrap peers (#3737) 2024-01-25 08:29:39 -06:00
Evan Gray d8011bc6e8 sdk/js-query: add signaturesToEvmStruct utility 2024-01-23 16:49:35 -05:00
Evan Gray 79c1927a78 sdk/js-query: fix solana mock for dataSliceOffset == 0 2024-01-23 16:49:35 -05:00
Evan Gray da9d97f933 sdk/js-query: npm audit fix 2024-01-23 16:49:35 -05:00
bruce-riley 65abbde534
Node/CCQ: Add test to verify solana public key length (#3730) 2024-01-23 13:29:15 -06:00
Ben Guidarelli ded305ffab
prepare for sepolia chains for cctp (#3703) 2024-01-23 11:05:21 -05: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
Csongor Kiss 521cff4ae2
wormchain: only latest guardian set is exempt from expiry (#3714) 2024-01-17 17:01:05 +00: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
Pan chao 0c4c7f4918 complete transfer 2024-01-17 08:58:24 -06:00
Pan chao ce1da6e853 transaction 2024-01-17 08:58:24 -06:00
Pan chao d612588258 committed 2024-01-17 08:58:24 -06:00
Pan chao d911c59f20 govern 2024-01-17 08:58:24 -06:00
bruce-riley a6cc3b1ce5
Node/CCQ: Unmarshal should check for extra bytes (#3711) 2024-01-12 16:31:39 -06:00
Kevin Peters a7df605599 sdk/js: 0.10.9 release 2024-01-12 15:57:32 -05:00
Evan Gray e64db08af5 sdk/js-query: add EthCallByTimestamp mock support 2024-01-12 13:45:10 -05:00
Ben Guidarelli 43b34b18bd
algorand: prevent creation of unnecessary transactions (#3702) 2024-01-11 15:00:19 -05: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
bruce-riley 517c2f77c3
Client/JS: Add Holesky support (#3638) 2024-01-09 10:19:51 -06: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
Bing Yu 738a68a543
cosmwasm: accounting: change str.try_into().unwrap() to str.into() because conversion is infallible… (#3623)
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-01-04 00:39:00 +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
Jeff Schroeder da7716871e .github: update CODEOWNERS
Remove Ani, who is no longer working on wormhole.
2023-12-21 12:41:29 -06:00
Jeff Schroeder af5b100eeb .github: add docs/ to CODEOWNERS
I want to help with some of the low effort spellcheck PRs
2023-12-21 12:41:29 -06:00
bruce-riley 14144c8c10
Client/JS: Add new chains (#3610) 2023-12-20 14:11:12 -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