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

KIP-6: "gasleft" extern #6

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

NikVolf
Copy link

@NikVolf NikVolf commented Aug 17, 2018

No description provided.

@NikVolf NikVolf changed the title KIP-5: "gasleft" extern KIP-6: "gasleft" extern Aug 20, 2018
kip-6.md Outdated

## Specification

After `FORK_BLOCK`, allow a new function to be imported via `env`, with host function id `230`.

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)

Choose a reason for hiding this comment

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

s/destiation/destination

@lexfrl
Copy link

lexfrl commented Aug 22, 2018

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.

@5chdn
Copy link

5chdn commented Sep 30, 2018

KIP 6 will be activated on Kovan block 9_200_000, please finalize and merge spec.

@Kalo101
Copy link

Kalo101 commented Dec 14, 2021

Can someone please teach me how I can buy kovan test network

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.

6 participants