Skip to content
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

Dump devchain state on demand #11229

Open
wants to merge 1 commit into
base: release/core-contracts/12
Choose a base branch
from

Conversation

pahor167
Copy link
Contributor

Description

We needed to wait n seconds to be sure that state was properly saved. This PR changes it to on demand state dump.

@pahor167 pahor167 requested a review from a team as a code owner September 27, 2024 12:05
cast rpc anvil_dumpState --rpc-url $ANVIL_RPC_URL > $TMP_FOLDER/tmp_state
hex_data=$(cat $TMP_FOLDER/tmp_state)
echo "Saving state to $TMP_FOLDER/$1.gz"
echo $hex_data | xxd -r -p > $TMP_FOLDER/$1.gz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems that this command is causing test script to fail on CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants