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

New off-chain engine: Implement utility methods #787

Closed
6 tasks
cmichi opened this issue May 10, 2021 · 0 comments · Fixed by #1143
Closed
6 tasks

New off-chain engine: Implement utility methods #787

cmichi opened this issue May 10, 2021 · 0 comments · Fixed by #1143
Assignees
Labels
good first issue Good for newcomers

Comments

@cmichi
Copy link
Collaborator

cmichi commented May 10, 2021

Needed for #565.

  • random
  • weight_to_fee
  • minimum_balance
  • gas_left
  • block_number
  • And copy/pasted from here:
    For the test API we should additionally add an additional count_reads and count_writes over HashMap<Vec<u8>, usize> that mirrors the number of read and writes to every storage database cell agnostic to an account ID. Multiple contracts may share some storage space through runtime chain extensions etc. or balance changes etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant