Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix BlockCapturer Handling of Contract Creation #1289

Closed
DavePearce opened this issue Sep 23, 2024 · 0 comments · Fixed by #1291
Closed

Fix BlockCapturer Handling of Contract Creation #1289

DavePearce opened this issue Sep 23, 2024 · 0 comments · Fixed by #1291

Comments

@DavePearce
Copy link
Collaborator

The BlockCapturer is not always handling contract creation correctly. I believe this is the sequence where it fails:

  • Constract is created
  • Contract state is modified in some way

Then, the block capturer adds the account being created to the initial set of accounts in the conflation, along with storage values for the locations assigned (where each location is assigned 0x0 because it didn't exist before the conflation). This then results in BESU thinking the contract already exists at creation time, leading to a failure.

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

Successfully merging a pull request may close this issue.

1 participant