-
Notifications
You must be signed in to change notification settings - Fork 127
How to invoke a specified method of contract? #159
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
Comments
Currently it uses the same Contract ABI encoding design to be compatible with EVM. e.g. the |
Can i explicitly define the |
I agree, we're working on the documentation at https://github.com/ewasm/testnet which should include these. Here's an example contract in Rust: https://github.com/ewasm/ewasm-precompiles/blob/master/sha256/src/lib.rs |
So
is that right? |
Correct, it has to implement ABI handling on its own. Just like it is happening in EVM at the moment. We're exploring other options though, see the umbrella issue #1 |
Got that, thanks very much! |
Can we close in favor of #1? Let's continue the conversation there |
We'd need to document this for clarity though. |
Uh oh!
There was an error while loading. Please reload this page.
ECI spec tells us that every contract will export a
main
function with no parameters and returns. But i have two questions:main
function generally for?The text was updated successfully, but these errors were encountered: