diff --git a/e2e_test/run_all_tests.sh b/e2e_test/run_all_tests.sh index 952c18d6e3..8141cac8e6 100755 --- a/e2e_test/run_all_tests.sh +++ b/e2e_test/run_all_tests.sh @@ -31,7 +31,7 @@ cd "$SCRIPT_DIR" || exit 1 # To work around this, send a transaction before running tests cast send --json --private-key "$ACC_PRIVKEY" "$TOKEN_ADDR" 'transfer(address to, uint256 value) returns (bool)' 0x000000000000000000000000000000000000dEaD 100 > /dev/null || true -sleep 5 +sleep 5 # Wait for the account nonce to be updated failures=0 tests=0 diff --git a/e2e_test/test_base_fee_recipient.sh b/e2e_test/test_base_fee_recipient.sh index 030c130bf2..02ee0fe97e 100755 --- a/e2e_test/test_base_fee_recipient.sh +++ b/e2e_test/test_base_fee_recipient.sh @@ -8,6 +8,7 @@ source shared.sh # Send token and check balance tx_json=$(cast send --json --private-key $ACC_PRIVKEY $TOKEN_ADDR 'transfer(address to, uint256 value) returns (bool)' 0x000000000000000000000000000000000000dEaD 100) block_number=$(echo $tx_json | jq -r '.blockNumber' | cast to-dec) +sleep 5 # Wait for a block to be confirmed block=$(cast block --json --full $block_number) gas_used=$(echo $block | jq -r '.gasUsed' | cast to-dec) base_fee=$(echo $block | jq -r '.baseFeePerGas' | cast to-dec)