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

fix: broken replay files #1308

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

DavePearce
Copy link
Collaborator

This puts in place a simple fix for replay files which incorrectly include StorageSnapshots for accounts which are to be created. Such snapshots confuse BESU into thinking their storage is not empty which, in turn, prevents the accounts from being created (and then fails result checking because the txs in question fail).

In principle, this fix should not be necessary because the BlockCapturer has already been fixed to resolve this. However, we still have a number of older replay files in the repository and this fix resolves all of time right now (i.e. so we don't have to wait for them to be recaptured, etc).

@DavePearce DavePearce linked an issue Sep 25, 2024 that may be closed by this pull request
@DavePearce DavePearce force-pushed the 1307-simple-fix-for-problematic-replays branch 2 times, most recently from 8ec2712 to 0a567b2 Compare September 25, 2024 15:16
@DavePearce DavePearce changed the title Fix for broken replay files fix: broken replay files Sep 25, 2024
This puts in place a simple fix for replay files which incorrectly
include StorageSnapshots for accounts which are to be created.  Such
snapshots confuse BESU into thinking their storage is not empty which,
in turn, prevents the accounts from being created (and then fails result
checking because the txs in question fail).

In principle, this fix should not be necessary because the BlockCapturer
has already been fixed to resolve this.  However, we still have a number
of older replay files in the repository and this fix resolves all of
time right now (i.e. so we don't have to wait for them to be recaptured,
etc).
@DavePearce DavePearce force-pushed the 1307-simple-fix-for-problematic-replays branch from 0a567b2 to 8451539 Compare September 25, 2024 21:00
@DavePearce DavePearce enabled auto-merge (squash) September 25, 2024 21:00
@DavePearce DavePearce merged commit 61fb84d into arith-dev Sep 26, 2024
5 checks passed
@DavePearce DavePearce deleted the 1307-simple-fix-for-problematic-replays branch September 26, 2024 02:29
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.

Simple Fix for Problematic Replays
2 participants