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

EVM-C requires non-const reference to evm_context #32

Closed
jakelang opened this issue Jan 11, 2018 · 1 comment
Closed

EVM-C requires non-const reference to evm_context #32

jakelang opened this issue Jan 11, 2018 · 1 comment

Comments

@jakelang
Copy link
Member

error: invalid conversion from ‘const evm_context*’ to ‘evm_context*’ [-fpermissive]
       context.fn_table->get_balance(result, &context, address);
                                             ^~~~~~~~

The evm_context singleton cannot be a constant reference, because EVM-C functions will not accept this.

@jakelang
Copy link
Member Author

now fixed in #37

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

No branches or pull requests

1 participant