-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: l2 to L1 withdrawal #126
Conversation
504f420
to
b6ab5f0
Compare
else | ||
local comp_gas_price=$(bc -l <<< "$gas_price * 1.5" | sed 's/\..*//') | ||
if [[ $? -ne 0 ]]; then | ||
echo "Failed to calculate gas price" >&3 | ||
exit 1 | ||
fi | ||
|
||
echo "cast send --legacy --gas-price $comp_gas_price --rpc-url $l2_rpc_url --private-key $sender_private_key $bridge_addr \"$claim_sig\" \"$in_merkle_proof\" \"$in_rollup_merkle_proof\" $in_global_index $in_main_exit_root $in_rollup_exit_root $in_orig_net $in_orig_addr $in_dest_net $in_dest_addr $in_amount $in_metadata" >&3 | ||
cast send --legacy --gas-price $comp_gas_price --rpc-url $l2_rpc_url --private-key $sender_private_key $bridge_addr "$claim_sig" "$in_merkle_proof" "$in_rollup_merkle_proof" $in_global_index $in_main_exit_root $in_rollup_exit_root $in_orig_net $in_orig_addr $in_dest_net $in_dest_addr $in_amount $in_metadata | ||
echo "cast send --legacy --gas-price $comp_gas_price --rpc-url $destination_rpc_url --private-key $sender_private_key $bridge_addr \"$claim_sig\" \"$in_merkle_proof\" \"$in_rollup_merkle_proof\" $in_global_index $in_main_exit_root $in_rollup_exit_root $in_orig_net $in_orig_addr $in_dest_net $in_dest_addr $in_amount $in_metadata" >&3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not needed but I prefer to leave it for convenience, wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make Checking PR semantic rule pass.
- L2 to L1 withdrawal test - Refactor tests to reduce complexity - Bump kurtosis-cdk version to v0.2.15 - Improve CI by dumping enclave logs + files in kurtosis
test: l2 to L1 withdrawal * L2 to L1 withdrawal test * Refactor tests to reduce complexity * Bump kurtosis-cdk version to v0.2.15 * Improve CI by dumping enclave logs + files in kurtosis
ci: dump the enclave test: apply feedback
b6ab5f0
to
fd450a6
Compare
Quality Gate passedIssues Measures |
kurtosis-cdk
version tov0.2.15