-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[movevm] improve automatic creation of account for sponsored txn
* If an account is created during sponsored transaction and the txn aborts. * The transaction is now kept but aborted. * The state associated with account creation is wiped and The account is no longer created. * During epilogue, we then hit a invariant violation, because the sequence number for the account cannot be incremented. This ensures that we create an account even on transaction failure in the epilogue: * during validation, sponsored transactions on sequence number 0, must have sufficient gas to create an account * if the transaction aborts, call create account and charge gas appropriately
- Loading branch information
Showing
10 changed files
with
449 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.