Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Prevent EM from calling SM after applyTransaction() #364

Merged
merged 3 commits into from
Apr 7, 2021

Conversation

maurelian
Copy link
Collaborator

Fixes: https://github.com/ethereum-optimism/roadmap/issues/817

This disallows an evil state manager attack.

@@ -33,7 +33,7 @@ import { Abs_FraudContributor } from "./Abs_FraudContributor.sol";
* This contract controls the State Manager and Execution Manager, and uses them to calculate the
* post-state root by applying the transaction. The Fraud Verifier can then check for fraud by comparing
* the calculated post-state root with the proposed post-state root.
*
*
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Lots of little white space fixes to ignore due to the addition of an .editorConfig.

Copy link
Collaborator

@ben-chain ben-chain left a comment

Choose a reason for hiding this comment

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

LGTM!

@ben-chain ben-chain merged commit b91443d into master Apr 7, 2021
@ben-chain ben-chain deleted the fix/817/disablePostexecEmAuth branch April 7, 2021 01:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants