Commit Graph

858 Commits

Author SHA1 Message Date
Jeff Schroeder 6c408607cc node: update test root context teardown time
Otherwise things get really sad.
2024-04-19 14:08:19 -04:00
Jeff Schroeder 83c4186a46 Update go to 1.21.9
Automated via:

    scripts/update-go-version.sh 1.21.9
2024-04-19 14:08:19 -04:00
Jeff Schroeder 2f1d888f5d node: update logging 2024-04-19 14:08:19 -04:00
Jeff Schroeder bdb69c3e44 node: remove implicit memory aliasing in a loop
Caught by an upgraded golangci-lint with the gosec linter:

    ::medium file=node/pkg/watchers/evm/connectors/batch_poller.go,line=226,col=8::G601: Implicit memory aliasing in for loop. (gosec)
    ::medium file=node/pkg/watchers/evm/connectors/batch_poller.go,line=285,col=8::G601: Implicit memory aliasing in for loop. (gosec)
    ::medium file=node/pkg/watchers/evm/connectors/batch_poller_test.go,line=128,col=37::G601: Implicit memory aliasing in for loop. (gosec)

See also: https://husni.dev/beware-of-implicit-memory-aliasing-in-go-foor-loop/
2024-04-19 14:08:19 -04:00
Jeff Schroeder 350271259c node: update dockerfiles to use go 1.21.8
This was done with scripts/update-go-version.sh
2024-04-19 14:08:19 -04:00
Jeff Schroeder 223875a481 node: fallout from the go upgrade in the go.sum
Run via:

    go mod tidy

This updates the go.sum and removes unnecessary indirect references.
2024-04-19 14:08:19 -04:00
Ryan Hamphrey 5c875ab17e node: upgrade libp2p-go
Ran via:

    go get github.com/libp2p/go-libp2p@v0.33.1

Refs: #3863
2024-04-19 14:08:19 -04:00
Jeff Schroeder 01df12da64 node: update mongo-drive dependency
Ran via:

    go get go.mongodb.org/mongo-driver@latest
2024-04-19 14:08:19 -04:00
Jeff Schroeder d5c9f9f2f4 node: update quic-go
Ran via:

    go get github.com/quic-go/quic-go@v0.42.0
2024-04-19 14:08:19 -04:00
Nikhil Suri 8ed75c9bfe
node: add emitters to ntt allowlist (#3884)
* node: add emitters to ntt allowlist

* node: tests: update TestNttVerifyMainnetEmitters
2024-04-16 17:40:43 -04:00
Jeff Schroeder 44a8453ee6
deployments: add RockawayX as a new Guardian (#3880)
* deployments: update for guardian set index v4

Wormholescan returns vaas base64 encoded, but guardianSetVAAs.csv
has them in hex format. This is the correct command to download a
guardian set upgrade vaa and convert it to hex in one go:

    curl -sq 0000000000000000000000000000000004/18252082506122526004 | \
        jq .vaaBytes -r | \
        base64 -d | \
        xxd -p | \
        tr -d '\n'
    echo

Refs: wormhole-foundation/wormhole-networks#53

* node: update admin template gsti to 4

Refs: wormhole-foundation/wormhole-networks#53
2024-04-16 13:02:37 -04:00
bruce-riley 85afd5d1f9
node,sdk: add support for Provenance over IBC (#3879) 2024-04-16 12:21:21 -04:00
djb15 40c51b29dd node: governor token list update 2024-04-16 09:52:23 -04:00
bruce-riley 005c649018
eth,node,sdk: XLayer, Linea and Berachain to testnet (#3871)
* Deploy XLayer and Linea to testnet

* Add Berachain support
2024-04-15 22:45:43 -04:00
Nikhil Suri b18a7e61eb node: Fix NTT V1 testnet emitters 2024-04-12 18:30:14 -04:00
Nikhil Suri d4821808a0
node: update ntt_config.go (#3875) 2024-04-12 15:14:20 -04:00
Evan Gray 77b4ddc812 ci: switch from ganache to anvil 2024-04-12 10:13:27 -04:00
Evan Gray fcabf0c99e node: Don't accept replayed heartbeats from other peers 2024-04-11 13:59:36 -04:00
djb15 b78317b9b5 node: governor token list update 2024-04-04 16:48:37 -07:00
Dirk Brink a648515d68
node: Throttle CoinGecko queries (#3867)
* node: Throttle CoinGecko queries

* Make sure we terminate the goroutine with child context

* Continuous loop rather than loop on channel ticker
2024-04-03 14:49:14 -07:00
Martin Vejmelka b6afbd7154 fix: lifted gossip address override our of AddrsFactory hook
This runs validity checks on the gossip address override only once and avoids spamming the log.
2024-03-31 15:42:04 -04:00
Jeff Schroeder 683c5dfb59 node: a few minor spelling cleanups 2024-03-31 15:42:04 -04:00
Jeff Schroeder c76e247647 node: update GuardianOptionP2P()
Review feedback from @bruce-riley
2024-03-31 15:42:04 -04:00
Jeff Schroeder a4882e12be node: override the p2p advertised address
When behind a private network such as in the case of a guardian running
in Kubernetes, or behind a NAT, the default p2p setup doesn't work. It
looks at all addresses that it is listening on and advertises them on p2p
as the addresses for contacting the guardian. This patch is the first
step towards allowing specifying a custom ip address to be advertised on
the gossip p2p network.

For example, a guardian running inside kubernetes can post a reserved ip
address of the incoming ingress/load balancer that sends the traffic in
to their guardian.
2024-03-31 15:42:04 -04:00
bruce-riley 5077045bb0
Node/EVM: Make it log the message ID (#3865) 2024-03-29 14:11:10 -05:00
bruce-riley 428920acb8
Deploy Blast testnet (#3859)
* Deploy Blast testnet

* Update contract addresses
2024-03-29 09:20:31 -05:00
bruce-riley aa22a2b950
Node/CCQ: Load testing tweaks (#3857) 2024-03-26 13:02:41 -05:00
bruce-riley 2d680058cf
Node/spy: Adds optional VAA signature verification (#3854)
* Node/Spy: VAA Verifier

* Don't use parseAndVerifyVM

* Only verify if VAA will be published
2024-03-25 14:19:46 -05:00
bruce-riley d036e70740
Node/P2P: Add default bootstrap peers (#3852)
* Node/P2P: Add default bootstrap peers

* Rework

* Update ccqlistener
2024-03-22 14:27:03 -05:00
Jeff Schroeder b175dd43c8
docs: quit the spelling spam typo fix PRs with cspell magic (#3845)
* Add cspell configuration and custom dictionary

The goal is to cut down on both incoming tyops, and well meaning but
spammy tyop fix PRs.

To run cspell locally install it and run:

    cspell '**/*.md' \
        --config cspell.config.yaml \
        --words-only \
        --unique \
        --quiet | sort --ignore-case

* docs: cspell updates

* wormchain: cspell updates

* aptos: cspell updates

* node: cspell updates

* algorand: cspell updates

* whitepapers: cspell updates

* near: cspell updates

* solana: cspell updates

* terra: cspell updates

* cosmwasm: cspell updates

* ethereum: cspell updates

* clients: cspell updates

* cspell updates for DEVELOP document

* github: run cspell github action

* sdk: cspell updates

* github: only run cspell on markdown files

* algorand: EMMITTER --> EMITTER

Suggested-by: @evan-gray

* cspell: removed from dictionary

Suggested-by: @evan-gray

* aptos and node: cspell updates

Suggested-by: @evan-gray

* cosmowasm: doc updates for terra2

Suggested-by: @evan-gray

* algorand: cspell updates

Suggested-by: @evan-gray

* algorand: cspell updates

Suggested-by: @evan-gray

* cspell: updated custom word dictionary

This resorts the dictionary and adds a few new words from the
algorand/MEMORY.md document around varints and integers.

* cspell: sort the dictionary how vscode does it

On macOS the sorting is locale dependent. To do this on macOS, you have
to invert the case, do a character insensitive sort, and then invert the
case again:

    LC_COLLATE="en_US.UTF-8" cspell '**/*.md' --config cspell.config.yaml \
        --words-only \
        --unique \
        --no-progress \
        --quiet \
    | tr 'a-zA-Z' 'A-Za-z' \
    | sort --ignore-case \
    | tr 'a-zA-Z' 'A-Za-z'

This requires the `LC_COLLATE` variable to be set to `en_US.UTF-8`, or it
will not do the right thing.

* docs: grammar clean up

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2024-03-20 15:40:02 -04:00
bruce-riley 21eea8c2ed
Node/EVM: Remove obsolete field in logs (#3851)
* Node/EVM: Remove obsolete field in logs

* Rework

* More rework

* More rework
2024-03-20 12:49:10 -05:00
bruce-riley 9514b3562c
Node/CCQ: Concurrent queries (#3844)
* Node/CCQ: Concurrent queries

* Substantial rework
2024-03-20 08:42:31 -05:00
Bruce Riley 281a3514ad Node/NTT/Acct: Add tests to verify emitter config 2024-03-19 12:35:05 -04:00
bruce-riley 3b0233d50c
Node/NTT/Acct: Defense in depth (#3843) 2024-03-18 13:22:12 -05:00
Bruce Riley 9c645933d6 Tilt: Gateway deployment 2024-03-18 10:51:32 -04:00
bruce-riley fa187bcf73
CCQ/Node/EVM: Backfill cache (#3558)
* CCQ/Node/EVM: Backfill cache

* Code review rework

* Make backfilling configurable

* Code review rework
2024-03-15 14:26:11 -05:00
bruce-riley 62d4ec899b
Node/EVM: Batch poller refactor (#3823) 2024-03-14 14:41:00 -05:00
bruce-riley 5700b3cf8f
Node/CCQ: Listening tool (#3538)
* CCQ/Hack: Mainnet test

* Add listen only option

* Clean up tool so it can be merged

* Code review rework
2024-03-14 10:58:02 -04:00
bruce-riley 456d2ab54e
Node/CCQ: Track concurrent queries (#3834)
* Node/CCQ: Track concurrent queries

* Code review rework
2024-03-14 09:39:07 -05:00
bruce-riley b385f64ff7
Deploy Mantle to Sepolia (#3830) 2024-03-13 11:22:09 -05:00
bruce-riley 68b47090ec
Node/NTT/Acct: Set testnet emitters (#3831)
* Node/NTT/Acct: Set testnet emitters

* New emitter values
2024-03-12 17:57:33 -05:00
bruce-riley a883b7f351
Deploy Polygon Sepolia Testnet (#3723)
* Deploy Polygon Sepolia Testnet

* Code review rework
2024-03-12 09:46:28 -05:00
bruce-riley c751af3ea3
Node/CCQ/Solana: Add sol_pda query (#3782)
* Node/CCQ/Solana: Add sol_pda query

* Attempting to fix bigint serialize error in tests

* Try backing out sol_pda tests

* Put some of solana.test.ts changes back

* Add more stuff back

* Add more stuff to solana.test.ts

* Add more solana.test.ts stuff

* Whatever

* More sol_pda test debugging

* Code review rework

* More rework
2024-03-08 11:57:24 -06:00
djb15 ecc61b799d node: governor token list update 2024-03-08 10:26:35 -05:00
bingyuyap 5f52aa841a node: upgrade grpc to v1.57.1
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-03-08 10:17:52 -05:00
bruce-riley 3a9dfd968b
NTT / Acct / Node: Guardian support (#3815)
* NTT/Acct/Node: Guardian changes

* Add per-emitter enforcement

* complete ntt accountant integration tests and run in parallel

* Minor tweaks

* Increase delay in tests

* fix accountant ci check

* Add CI AR address

* update prefixes

* increase timeout

* update ntt transfer wire format

* Code review rework from PR #3800

* Up tilt timeout

* Allow NTT accountant without base accountant

* Define known automatic relayer emitters

* Code review rework

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2024-03-08 07:52:12 -06:00
bruce-riley 2c9703670e
Node/Watcher/EVM: Debug logging (#3813) 2024-03-05 16:39:33 -06:00
bruce-riley 67466838bf
Node/Gov: Add target to db (#3791)
* Node/Gov: Add target to db

* Code review rework

* Switch tests to use ErrorContains
2024-03-05 09:46:50 -06:00
Bing Yu eee4641f55
telemetry: add 204 as success status code (#3772)
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
2024-02-08 23:26:00 +08:00
bruce-riley 3f75eca90e
Node/Solana: Allow reobservation of confirmed messages (#3769)
* Node/Solana: Allow reobservation of confirmed messages

* Add check for finalized watcher

* Tweak finalized change
2024-02-07 16:01:41 +00:00