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

EEI: clarify return and selfdestruct #52

Merged
merged 1 commit into from
Oct 9, 2016
Merged

EEI: clarify return and selfdestruct #52

merged 1 commit into from
Oct 9, 2016

Conversation

axic
Copy link
Member

@axic axic commented Oct 8, 2016

No description provided.

@axic axic force-pushed the halt branch 2 times, most recently from 8af3ed4 to 4a1dbac Compare October 8, 2016 11:40
Halt execution returning output data.
Set the returning output data for the execution.

*Note*: multiple invocations will overwrite the previous data.
Copy link
Member

Choose a reason for hiding this comment

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

We could make it halt also. Is there a reason to have multiple invocations?

Copy link
Member Author

Choose a reason for hiding this comment

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

How can you halt it?

Copy link
Member

Choose a reason for hiding this comment

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

throw Error('return') I assumed that is the same way we would halt selfDestuct.

Copy link
Member Author

Choose a reason for hiding this comment

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

That seems like a bad workaround. I think it is better to make it clear in the interface.

@axic
Copy link
Member Author

axic commented Oct 8, 2016

@wanderer added clarifications

@wanderer
Copy link
Member

wanderer commented Oct 9, 2016

ok lgmt

@axic axic merged commit e79eeef into master Oct 9, 2016
@axic axic deleted the halt branch October 9, 2016 17:31
@axic axic removed the in progress label Oct 9, 2016
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.

3 participants