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

Allow setting block number for off-chain testing #1805

Closed
1 task
ltfschoen opened this issue Jun 13, 2023 · 0 comments
Closed
1 task

Allow setting block number for off-chain testing #1805

ltfschoen opened this issue Jun 13, 2023 · 0 comments

Comments

@ltfschoen
Copy link
Contributor

ltfschoen commented Jun 13, 2023

Escalated from this StackExchange question: https://substrate.stackexchange.com/questions/8867/how-to-stub-ink-contract-environment-to-produce-fake-values-for-use-in-tests.

ToDo

  • Add a method Engine::set_block_number(value: BlockNumber).
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