wormhole/devnet
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
..
algorand-devnet.yaml
aptos-localnet.yaml tilt: aptos startup dependency fix 2022-11-10 14:53:18 -05:00
btc-localnet.yaml WH-1903: snapshot of btc node work @ Closes #1903 2022-11-14 17:56:06 -06:00
eth-devnet.yaml Relayer: Ethereum folder Changes for Merging into Main (#3038) 2023-06-13 17:01:43 -04:00
eth-devnet2.yaml Relayer: Ethereum folder Changes for Merging into Main (#3038) 2023-06-13 17:01:43 -04:00
ibc-relayer.yaml tilt: devnet deployment for ibc generic messaging (#2593) 2023-05-18 18:56:18 -04:00
near-devnet.yaml ci: quieter near 2022-10-27 07:52:24 -04:00
node-metrics.yaml add Prometheus + Grafana for Guardian metrics 2022-08-04 16:03:56 -04:00
node.yaml node: Add config file support (#3710) 2024-01-20 02:05:23 +08:00
query-server.yaml Node/CCQ/Server: Clean restart (#3598) 2023-12-11 16:00:46 -06:00
redis-relayer.yaml Relayer/merge into wormhole relayer engine (#3042) 2023-06-14 15:08:28 -04:00
redis.yaml
relayer-engine.yaml Relayer/merge into wormhole relayer engine (#3042) 2023-06-14 15:08:28 -04:00
solana-devnet.yaml docker: build CLI in shared image 2023-06-01 15:33:07 +01:00
spy.yaml ci: quieter spy 2022-10-27 10:41:20 -04:00
sui-devnet.yaml sdk/js: add Sui support 2023-05-02 15:14:23 -04:00
terra-devnet.yaml terra: migrate to cosmwasm 1.1.0 (#3138) 2023-12-13 16:27:17 +00:00
terra2-devnet.yaml terra: migrate to cosmwasm 1.1.0 (#3138) 2023-12-13 16:27:17 +00:00
tests.yaml CCQ: eth_call_by_timestamp (#3449) 2023-10-19 10:32:23 -05:00
wormchain.yaml wormchain: contracts deploy to Tilt devnet (#2300) 2023-01-30 21:45:22 -05:00