Skip to content

Commit

Permalink
Conditionally set URLs for sequencer_rpc, eth_rpc and eth_ws by envir…
Browse files Browse the repository at this point in the history
…onment variable
  • Loading branch information
aajimal committed Sep 19, 2024
1 parent eb466d9 commit 98b46e8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions charts/deploy.just
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ sequencer_base_amount := "1000000000"
rollup_multiplier := "1000000000"
# 10 RIA
sequencer_transfer_amount := "10"
sequencer_rpc_url := "http://rpc.sequencer.localdev.me"
# Set environment variable: SEQUENCER_RPC_PR to point to a remote preview environment
sequencer_rpc_url := if env_var_or_default("SEQUENCER_RPC_PR", "localdev") == "localdev" { "http://rpc.sequencer.localdev.me" } else { replace("http://rpc.sequencer.pr-#.dev.astria.org", "#", env_var("SEQUENCER_RPC_PR")) }
sequencer_bridge_address := "astria13ahqz4pjqfmynk9ylrqv4fwe4957x2p0h5782u"
sequencer_bridge_pkey := "dfa7108e38ab71f89f356c72afc38600d5758f11a8c337164713e4471411d2e0"
sequencer_chain_id := "sequencer-test-chain-0"
Expand Down Expand Up @@ -240,8 +241,10 @@ init-ibc-bridge privateKey asset feeAsset rollupName=defaultRollupName:
--fee-asset {{ feeAsset }} \
--asset {{ asset }}

eth_rpc_url := "http://executor.astria.localdev.me/"
eth_ws_url := "ws://ws-executor.astria.localdev.me/"
# Set env var: ETH_RPC_PR to point to a remote preview environment
eth_rpc_url := if env_var_or_default("ETH_RPC_PR", "localdev") == "localdev" { "http://executor.astria.localdev.me/" } else { replace("http://executor.astria.pr-#.dev.astria.org/", "#", env_var("ETH_RPC_PR")) }
# Set env var: ETH_WS_PR to point to a remote preview environment
eth_ws_url := if env_var_or_default("ETH_WS_PR", "localdev") == "localdev" { "ws://ws-executor.astria.localdev.me/" } else { replace("ws://ws-executor.astria.pr-#.dev.astria.org/", "#", env_var("ETH_WS_PR")) }
bridge_tx_bytes := "0xf8f280843c54e7f182898594a58639fb5458e65e4fa917ff951c390292c24a15880de0b6b3a7640000b884bab916d00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002d617374726961313777306164656736346b7930646178776432756779756e65656c6c6d6a676e786c333935303400000000000000000000000000000000000000820a96a086b85348c9816f6d34533669db3d3626cf55eecea6a380d4d072efb1839df443a04b8b60c8b91dd30add1ca4a96097238d73bab29b0a958322d9a51755d5a5f287"
bridge_tx_hash := "0x67db5b0825e8f60b926234e209d54e0336cd94defe6720e7acadf871e0377150"
run-smoke-test:
Expand Down

0 comments on commit 98b46e8

Please sign in to comment.