-
Notifications
You must be signed in to change notification settings - Fork 12
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
KIP-6: "gasleft" extern #6
base: master
Are you sure you want to change the base?
Conversation
kip-6.md
Outdated
|
||
## Specification | ||
|
||
After `FORK_BLOCK`, allow a new function to be imported via `env`, with host function id `230`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't function id is a implementation detail that is specific to wasmi
?
kip-6.md
Outdated
fn gasleft() -> i64; | ||
``` | ||
|
||
This function will return gas left in the current execution context (non-adjusted for Wasm, since the following call destiation might be EVM or Wasm) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/destiation/destination
Please, don't forget to update the docs https://paritytech.github.io/pwasm-ethereum/pwasm_ethereum/ (enable kip6 feature) when the KIP will be merged and fork will be enabled. |
KIP 6 will be activated on Kovan block 9_200_000, please finalize and merge spec. |
Can someone please teach me how I can buy kovan test network |
No description provided.