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
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
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
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
Kevin Peters
c7a7d1a56b
node: Added RecoverChainId governance support
2024-02-06 16:49:20 -05:00
Dirk Brink
cfe1ec40a8
node: governor token list update ( #3762 )
...
Co-authored-by: djb15 <djb15@users.noreply.github.com>
2024-02-06 13:15:10 -08:00
Ben Guidarelli
7f0a2a29c9
constants: Add Dymension to cosmwasm chains ( #3763 )
2024-02-01 14:40:37 -05:00
Evan Gray
937af99b94
node: remove batchVAA remnants
2024-01-30 18:05:56 -05:00
Nikhil Suri
9f0892d579
sdk: add stargaze and seda chain IDs ( #3726 )
2024-01-30 14:40:34 -05:00
Jonathan Claudius
e9431ab3c3
governor: update base limits
2024-01-30 11:23:34 -05:00
bruce-riley
3f074f30ee
Node/CCQ: Solana min context slot fix ( #3751 )
...
* Node/CCQ: Solana min context slot fix
* Node/CCQ: retry not updating timeout
2024-01-29 12:09:23 -06:00
bruce-riley
10b83f78f5
Node/CCQ: Solana min context slot support ( #3747 )
...
* Node/CCQ: Solana min context slot support
* Code review rework
* Add port number to solana test URL
2024-01-26 18:34:17 -06:00
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
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
bruce-riley
65abbde534
Node/CCQ: Add test to verify solana public key length ( #3730 )
2024-01-23 13:29:15 -06: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
bruce-riley
a858d76ef5
Node: Always cut over to quic-v1 ( #3715 )
2024-01-17 10:12:00 -06:00