Skip to content

Commit

Permalink
update e2e config
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeddes committed Dec 5, 2024
1 parent 010282e commit add1e4b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 8 additions & 1 deletion web/packages/test/config/beefy-relay.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@
},
"descendants-until-final": 3,
"contracts": {
"BeefyClient": null
"BeefyClient": null,
"Gateway": null
}
},
"on-demand-sync": {
"asset-hub-channel-id": "0xc173fac324158e77fb5840738a1a541f633cbec8884c6a601c567d2b376a0539",
"max-tokens": 5,
"refill-amount": 1,
"refill-period": 3600
}
}
4 changes: 4 additions & 0 deletions web/packages/test/scripts/start-relayer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ config_relayer() {
# Configure beefy relay
jq \
--arg k1 "$(address_for BeefyClient)" \
--arg k2 "$(address_for GatewayProxy)" \
--arg eth_endpoint_ws $eth_endpoint_ws \
--arg eth_gas_limit $eth_gas_limit \
--arg assetHubChannelID $ASSET_HUB_CHANNEL_ID \
'
.sink.contracts.BeefyClient = $k1
.sink.contracts.Gateway = $k2
| .sink.ethereum.endpoint = $eth_endpoint_ws
| .sink.ethereum."gas-limit" = $eth_gas_limit
| ."on-demand-sync"."asset-hub-channel-id" = assetHubChannelID
' \
config/beefy-relay.json >$output_dir/beefy-relay.json

Expand Down

0 comments on commit add1e4b

Please sign in to comment.