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

Add is_account_empty #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add is_account_empty #50

wants to merge 1 commit into from

Conversation

s1na
Copy link
Collaborator

@s1na s1na commented May 22, 2019

Related: ewasm/design#138, axic/runevm#18, ewasm/hera#539

Alternatively this method could be added as part of an "experimental" namespace.

@axic
Copy link
Member

axic commented May 28, 2019

Alternatively this method could be added as part of an "experimental" namespace.

I like that idea. Please have a look at how I've updated debug.rs (and #48).

src/experimental.rs Outdated Show resolved Hide resolved
@axic axic force-pushed the empty-account branch 2 times, most recently from 64ec5a7 to 0f92c10 Compare May 28, 2019 19:26

mod native {
extern "C" {
pub fn experimental_isAccountEmpty(addressOffset: *const u32) -> u32;
Copy link
Member

Choose a reason for hiding this comment

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

Should this be under experimental namespace in the EEI? I think this particular one is under ethereum, just this whole file would collect the non-final methods.

Copy link
Member

@axic axic left a comment

Choose a reason for hiding this comment

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

Please document the file.

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.

2 participants