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

fix: block height increment in sdk mine_block #1466

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

hugocaillard
Copy link
Collaborator

Description

In sdk.mine_block, session.advance_chain_tip(1); must be called before executing the contract calls.

This PR includes other minor fix

@hugocaillard
Copy link
Collaborator Author

Thanks @BowTiedRadone for reporting this issue

Copy link

codecov bot commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40.71%. Comparing base (1635f68) to head (bbbb98f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1466   +/-   ##
=======================================
  Coverage   40.71%   40.71%           
=======================================
  Files          87       87           
  Lines       32404    32404           
=======================================
  Hits        13193    13193           
  Misses      19211    19211           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hugocaillard hugocaillard merged commit 156058c into main Jun 4, 2024
19 checks passed
@hugocaillard hugocaillard deleted the fix/mine-block-chaintip branch June 4, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants