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

state/write_log: refactor temp key-vals for better type-safety #3110

Merged
merged 2 commits into from Apr 27, 2024

Conversation

tzemanovic
Copy link
Member

@tzemanovic tzemanovic commented Apr 23, 2024

Describe your changes

closes #2915

Indicate on which release or other PRs this topic is based on

v0.33.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

tzemanovic added a commit that referenced this pull request Apr 23, 2024
@tzemanovic tzemanovic marked this pull request as ready for review April 23, 2024 14:58
@tzemanovic tzemanovic requested a review from grarco April 23, 2024 14:58
Copy link

codecov bot commented Apr 23, 2024

Codecov Report

Attention: Patch coverage is 84.44444% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 59.40%. Comparing base (97ec5b4) to head (db5f425).
Report is 10 commits behind head on main.

Files Patch % Lines
crates/namada/src/vm/host_env.rs 0.00% 3 Missing ⚠️
crates/namada/src/ledger/vp_host_fns.rs 75.00% 2 Missing ⚠️
crates/state/src/wl_state.rs 50.00% 1 Missing ⚠️
crates/state/src/write_log.rs 96.55% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3110   +/-   ##
=======================================
  Coverage   59.39%   59.40%           
=======================================
  Files         298      298           
  Lines       92771    92717   -54     
=======================================
- Hits        55104    55077   -27     
+ Misses      37667    37640   -27     

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

@brentstone brentstone mentioned this pull request Apr 23, 2024
grarco
grarco previously approved these changes Apr 23, 2024
Copy link
Contributor

@grarco grarco left a comment

Choose a reason for hiding this comment

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

Minor comment but looks good to me, thank you!

@brentstone
Copy link
Contributor

let me know if this is rdy for merge or will have another change

@tzemanovic
Copy link
Member Author

let me know if this is rdy for merge or will have another change

should be good to go now

grarco
grarco previously approved these changes Apr 24, 2024
brentstone added a commit that referenced this pull request Apr 25, 2024
* tomas/write-log-t-safety:
  changelog: add #3110
  state/write_log: refactor temp key-vals for better type-safety
brentstone added a commit that referenced this pull request Apr 25, 2024
* tomas/write-log-t-safety:
  changelog: add #3110
  state/write_log: refactor temp key-vals for better type-safety
@brentstone brentstone merged commit a8ac9b0 into main Apr 27, 2024
19 of 20 checks passed
@brentstone brentstone deleted the tomas/write-log-t-safety branch April 27, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type safety for block_write_log
3 participants