Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions charts/deploy.just
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,12 @@ run-smoke-cli:

CURRENT_BLOCK_HEX=$(just evm-get-block-by-number latest | jq -r '.number')
CURRENT_BLOCK=$(just hex-to-dec $CURRENT_BLOCK_HEX)
echo {{sequencer_bridge_pkey}} > test_se

withdrawals_dst="$(mktemp)"
# uncomment this line if you want to inspect `withdrawals_dst`
trap "rm -f ${withdrawals_dst@Q}" EXIT

echo "passing ${withdrawals_dst} to astria-cli"

astria-cli bridge collect-withdrawals \
--rollup-endpoint {{eth_ws_url}} \
Expand All @@ -390,13 +395,12 @@ run-smoke-cli:
--to-rollup-height $CURRENT_BLOCK \
--rollup-asset-denom nria \
--bridge-address {{sequencer_bridge_address}} \
--output ./withdrawals.json
--output "${withdrawals_dst}"
astria-cli bridge submit-withdrawals \
--signing-key <(printf "%s" "{{sequencer_bridge_pkey}}") \
--sequencer-chain-id {{sequencer_chain_id}} \
--sequencer-url {{sequencer_rpc_url}} \
--input ./withdrawals.json

--input "${withdrawals_dst}"

CHECKS=0
EXPECTED_BALANCE=$(echo "1 * {{sequencer_base_amount}}" | bc)
Expand Down