Commit Graph

3692 Commits

Author SHA1 Message Date
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
Ben Guidarelli d87024c9df
CI: Change chain id for evm devnet node (#3864)
* CI: Change chain id for evm devnet node

* Set env file to match devnet configured ethereum chain id

* set evm chain id to ganache default

* update test evm chain ids in evm tests
2024-03-29 15:13:45 -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
A5 Pickle 22e31affe2
sdk/rust: prepare to publish crate (#3849)
* sdk/rust: organize workspace

* sdk/rust: add serde_wormhole to deps

* sdk/rust: serde_wormhole -> wormhole-raw-serde

* sdk/rust: add supported-chains; serde_wormhole -> wormhole-vaas-serde

* cosmwasm: fix deps

* sdk/rust: fix fmt

* sdk/rust: jk

* sdk/rust: add desc

* sdk/rust: rm Cargo.lock

* .github: fix workflow

---------

Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
2024-03-25 14:09:54 -04: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
scnale 9634d59035
clients/js: fixes hardcoded Near deployer implicit account id. (#3248)
* clients/js: fixes hardcoded Near deployer implicit account id.

* clients/js: remove near deployerAccount

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2024-03-21 17:08:12 -04: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
Evan Gray 3da6ca2a56 sdk/js: uniform test timeouts 2024-03-19 11:55:34 -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
Evan Gray 3a8aec6217 ntt-accountant: update comment and add test 2024-03-15 20:49:23 -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 d7b647589f Github: Update code owners 2024-03-14 16:30:26 -04:00
bruce-riley 62d4ec899b
Node/EVM: Batch poller refactor (#3823) 2024-03-14 14:41:00 -05:00
Hamza Khalid 098e75d007
sdk/js: Replace deprecated function with signSendAndConfirmTransaction (#3239)
* sdk/js/solana: Replace deprecated function with signSendAndConfirmTransaction

* chore: prettier formatting

* sdk/js: deprecate postVaaWithRetry in favor of postVaa
2024-03-14 10:59:23 -04: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 d7a4a2af0d Client/JS: Add new changes 2024-03-14 10:15:01 -04:00
Evan Gray 4805183b4c ethereum/contracts/query: relocate to wormhole-solidity-sdk 2024-03-13 14:35:07 -04: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
Evan Gray 6ccf9f41b8 ci: install vim to fix foundry (cache bust) 2024-03-12 18:27:43 -04: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 65c4dc4177
CCQ/EVM: sol_pda support (#3790)
* CCQ/EVM: sol_pda support

* Code review rework

* Code review rework
2024-03-11 16:13:43 -05:00
Evan Gray 405bd58580 sdk/js-query: fix SolanaPda mock for bad rentEpoch parsing 2024-03-11 11:22:38 -04:00
Evan Gray 2d141a1247 codeowners: update sdk/js-query 2024-03-11 10:21:29 -04:00
Evan Gray 579b06de44 sdk/js-query: bump 2024-03-11 10:21:29 -04:00
Nikhil Suri 21bbc28bb3
sdk/js: update Neutron testnet core bridge (#3796) 2024-03-11 08:40:07 -04: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
Csongor Kiss 66f8e85158
CONTRIBUTING.md: add note about typo fixes (#3820) 2024-03-08 17:48:28 +01: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
GoodDaisy 2fc2bb577b
docs: fix some typos (#3628)
* fix typo in whitepapers/0013_ccq.md

* fix typo in scripts/

* fix typo in clients

* fix typo in sdk/

* fix typo in testing/
2024-03-08 10:17:16 -05:00
Evan Gray d6b758f693 bitcoin: rm 2024-03-08 09:41:49 -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 b31bec73e2 GitHub: Update code owners for relayers 2024-03-07 23:16:08 -05:00
bruce-riley 58a01e7425
GitHub: Update code owners for wormchain/devnet (#3816) 2024-03-07 15:21:38 -06:00
Kevin Peters 8c1edaf12b sdk/js: 0.10.11 release 2024-03-07 11:40:28 -05:00
Evan Gray 8ca620b81e ntt-accountant: clean up and add normalize test 2024-03-07 11:04:06 -05:00
Evan Gray 71120245f1 ntt-accountant: update readme 2024-03-07 11:04:06 -05:00
Evan Gray 41e0b9accd ntt-accountant: improved relayer parsing test 2024-03-07 11:04:06 -05:00
Evan Gray fca76d14f5 ntt-accountant: remove commented tests, leave TODOs 2024-03-07 11:04:06 -05:00
Evan Gray dbc1bf6955 sdk/rust: shared accountant ModificationKind 2024-03-07 11:04:06 -05:00
Evan Gray 7539c1d1d8 ci: ntt-accountant integration test 2024-03-07 11:04:06 -05:00