Skip to content

Commit

Permalink
ci: locating files for agoric relayer
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Jul 19, 2024
1 parent 6823ba4 commit f1850d0
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/emerynet-devnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Install Agoric globally
run: npm install -g agoric

- name: Locating files for Agoric Relayer
run: mkdir -p ~/.ibc-setup && cp -r ibc-setup/* ~/.ibc-setup/

- name: Start Testnet Docker Services
run: docker-compose -f docker-compose-testnet.yaml up -d

Expand Down
5 changes: 5 additions & 0 deletions ibc-setup/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
src: emerynet
dest: devnet
mnemonic: guess congress coast rifle frown tumble skin whisper cream february identify today
srcConnection: connection-64
destConnection: connection-53
6 changes: 6 additions & 0 deletions ibc-setup/last-queried-heights.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"packetHeightA": 6185954,
"packetHeightB": 4223845,
"ackHeightA": 6185956,
"ackHeightB": 4223846
}
43 changes: 43 additions & 0 deletions ibc-setup/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version: 1

chains:
emerynet:
chain_id: agoric-emerynet-8
# Bech32 prefix for addresses
prefix: agoric
# This determines the gas payments we make (and defines the fee token)
gas_price: 0.25ubld
# The path we use to derive the private key from the mnemonic
# Note: The hd paths shown have no meaningful relationship to the existing chains.
# It is recommended practice to use a different hd_path than those commonly used for user accounts.
hd_path: m/44'/1234'/0'/1'
# If you include an optional faucet, it will load the relayer with tokens in `ibc-setup init`
#faucet: https://faucet.malaga-420.cosmwasm.com:443
# You can optionally define a default ics20_port that will be used instead of transfer if no flags set
ics20_port: 'transfer'
estimated_block_time: 6000
estimated_indexer_time: 100
# You can include multiple RPC endpoints and it will rotate through them if
# one is down (TODO)
rpc:
- https://emerynet.rpc.agoric.net:443
devnet:
chain_id: agoricdev-23
# Bech32 prefix for addresses
prefix: agoric
# This determines the gas payments we make (and defines the fee token)
gas_price: 0.25ubld
# The path we use to derive the private key from the mnemonic
# Note: The hd paths shown have no meaningful relationship to the existing chains.
# It is recommended practice to use a different hd_path than those commonly used for user accounts.
hd_path: m/44'/1234'/0'/2'
# If you include an optional faucet, it will load the relayer with tokens in `ibc-setup init`
#faucet: https://faucet.malaga-420.cosmwasm.com:443
# You can optionally define a default ics20_port that will be used instead of transfer if no flags set
ics20_port: 'transfer'
estimated_block_time: 6000
estimated_indexer_time: 100
# You can include multiple RPC endpoints and it will rotate through them if
# one is down (TODO)
rpc:
- https://devnet.rpc.agoric.net:443

0 comments on commit f1850d0

Please sign in to comment.