Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Jul 16, 2024
1 parent 7c8ce27 commit 0ba4ae0
Showing 1 changed file with 8 additions and 4 deletions.
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 \
--sequencer-asset-to-withdraw 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

0 comments on commit 0ba4ae0

Please sign in to comment.