From 7fc6b0790d72cfc2f7b8a161f89ca5a6ed284f75 Mon Sep 17 00:00:00 2001 From: Dan Kanefsky Date: Wed, 24 Jan 2024 11:25:33 -0800 Subject: [PATCH] update sample configs --- config/sample-app-config.yaml | 39 ---------------------- config/{sample.yaml => sample-config.yaml} | 14 ++++---- config/sample-integration-config.yaml | 13 ++++++-- 3 files changed, 17 insertions(+), 49 deletions(-) delete mode 100644 config/sample-app-config.yaml rename config/{sample.yaml => sample-config.yaml} (78%) diff --git a/config/sample-app-config.yaml b/config/sample-app-config.yaml deleted file mode 100644 index c1ececd..0000000 --- a/config/sample-app-config.yaml +++ /dev/null @@ -1,39 +0,0 @@ -networks: - source: - ethereum: - enabled: true - domain-id: 0 - rpc: "wss://goerli.infura.io/ws/v3/" - message-transmitter: "0x26413e8157CD32011E726065a5462e97dD4d03D9" - request-queue-size: 1000 - start-block: 0 # set to 0 to default to latest block - lookback-period: 20 # historical blocks to look back on launch - destination: - noble: - domain-id: 4 - api: "https://lcd.testnet.noble.strange.love:443" - rpc: "https://rpc.testnet.noble.strange.love:443" - chain-id: "grand-1" - gas-limit: 200000 - broadcast-retries: 5 # number of times to attempt the broadcast - broadcast-retry-interval: 5 # time between retries in seconds - filter-forwards-by-ibc-channel: false - forwarding-channel-whitelist: - - "channel-10" # osmo-test-5 - - "channel-15" # dydx-testnet-2 - # source domain id -> destination domain id - enabled-routes: - 0: 4 # ethereum to noble - # destination domain -> minter metadata - minters: - 4: - minter-address: "noble1...." - minter-mnemonic: "12345" # hex encoded, no prepended 0x -circle: - attestation-base-url: "https://iris-api-sandbox.circle.com/attestations/" - fetch-retries: 10 # additional times to fetch an attestation - fetch-retry-interval: 10 # time between retries in seconds -processor-worker-count: 16 -api: - trusted-proxies: - - "1.2.3.4" # add trusted proxy IPs here \ No newline at end of file diff --git a/config/sample.yaml b/config/sample-config.yaml similarity index 78% rename from config/sample.yaml rename to config/sample-config.yaml index 1c8bd1d..d6169e4 100644 --- a/config/sample.yaml +++ b/config/sample-config.yaml @@ -1,21 +1,22 @@ chains: ethereum: chain-id: 5 - rpc: "https://goerli.infura.io/v3/apiKey" - ws: "wss://goerli.infura.io/ws/v3/apiKey" + domain: 0 + rpc: # Ethereum RPC + ws: # Ethereum Websocket message-transmitter: "0x26413e8157CD32011E726065a5462e97dD4d03D9" - start-block: 9737196 + start-block: 0 # set to 0 to default to latest block lookback-period: 5 # historical blocks to look back on launch broadcast-retries: 5 # number of times to attempt the broadcast broadcast-retry-interval: 10 # time between retries in seconds - minter-private-key: "privateKey" + minter-private-key: # private key noble: - rpc: "https://rpc.testnet.noble.strange.love:443" + rpc: #noble RPC; for stability, use a reliable private node chain-id: "grand-1" start-block: 0 # set to 0 to default to latest block @@ -27,8 +28,7 @@ chains: broadcast-retries: 5 # number of times to attempt the broadcast broadcast-retry-interval: 5 # time between retries in seconds - # hex encoded - minter-private-key: "hexEncodedPrivateKey" + minter-private-key: # hex encoded privateKey # source domain id -> destination domain id enabled-routes: diff --git a/config/sample-integration-config.yaml b/config/sample-integration-config.yaml index b7ca432..467a0c1 100644 --- a/config/sample-integration-config.yaml +++ b/config/sample-integration-config.yaml @@ -1,5 +1,12 @@ +# This file is for integration testing. +# These extra wallets keep the relayer wallet separate from the wallet used to send test transactions + networks: ethereum: - rpc: "https://goerli.infura.io/v3/" - address: "noble1...." - private_key: "..." # hex encoded, no 0x prefix \ No newline at end of file + # Sepolia + address: + private_key: + + noble: + address: + private_key: \ No newline at end of file