Skip to content

Commit

Permalink
Fixing admin rotation test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Chatham committed Dec 21, 2024
1 parent 12c9e04 commit e76100e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/user/admin/rotate_admin_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
--admin-address "$FIRST_ADMIN_ADDRESS" \
--eth-rpc-url "$RPC_URL" \
--network "$NETWORK" \
--ecdsa-private-key "$ACCOUNT_PRIVATE_KEY" \
--ecdsa-private-key "$ADMIN_PRIVATE_KEY" \
--broadcast
[ "$status" -eq 0 ]

Expand All @@ -18,6 +18,15 @@
--broadcast
[ "$status" -eq 0 ]

run $CLI_PATH user admin remove-admin \
--account-address "$ACCOUNT_ADDRESS" \
--admin-address "$ACCOUNT_ADDRESS" \
--eth-rpc-url "$RPC_URL" \
--network "$NETWORK" \
--ecdsa-private-key "$FIRST_ADMIN_PRIVATE_KEY" \
--broadcast
[ "$status" -eq 0 ]

run $CLI_PATH user admin list-admins \
--account-address "$ACCOUNT_ADDRESS" \
--eth-rpc-url "$RPC_URL" \
Expand Down

0 comments on commit e76100e

Please sign in to comment.