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

feat: Have ExecutionManager pass data up #342

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

smartcontracts
Copy link
Collaborator

Description
Ensures that OVM_ExecutionManager will pass data upwards. Also modifies OVM_ProxyEOA and OVM_SequencerEntrypoint to pass data upwards and out of the EM.

Additional context
Vastly simplifies the process of giving users relevant return data in Geth. Cuts a lot of code out of evm.go.

Metadata

  • Fixes roadmap728

@smartcontracts
Copy link
Collaborator Author

smartcontracts commented Mar 23, 2021

Tests might fail, will fix if they do. Want CI to run in the background while I work on some other stuff. Tests passing.

@@ -355,10 +372,6 @@ library Lib_SafeExecutionManagerWrapper {
assembly {
revert(add(returndata, 0x20), mload(returndata))
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know it's outside of scope, but why does this need assembly?

Copy link
Collaborator

@maurelian maurelian left a comment

Choose a reason for hiding this comment

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

LGTM.

@tynes
Copy link
Collaborator

tynes commented Mar 25, 2021

@smartcontracts Can you confirm that this PR is fully backwards compatible?

@smartcontracts
Copy link
Collaborator Author

@smartcontracts Can you confirm that this PR is fully backwards compatible?

I do not think this PR is fully backwards compatible. So we're going to have to keep this one open for a little.

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

Successfully merging this pull request may close these issues.

None yet

3 participants