Skip to content

Conversation

@ltfschoen
Copy link
Contributor

@ltfschoen ltfschoen commented Jun 13, 2023

Adding a Engine::set_block_number function to solve issue #1805

Added a test accordingly.

Similar to this PR that added Engine::set_block_timestamp #1721

Verified that it works in my project https://github.com/ltfschoen/InkTemplate/pull/16/files#diff-ba24f44bc113244a08fc1781375fa5aab36b7587d656c925ee251ff42ac4de3fR362

@ltfschoen ltfschoen marked this pull request as ready for review June 13, 2023 10:56
Copy link
Collaborator

@ascjones ascjones left a comment

Choose a reason for hiding this comment

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

LGTM

@ascjones ascjones merged commit 2eba99e into use-ink:master Jun 13, 2023
@SkymanOne SkymanOne mentioned this pull request Mar 4, 2024
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.

2 participants