Skip to content

Ar/psr 85 implement test of storage and hashing#1615

Open
allanbrondum wants to merge 4 commits intoar/psr-84-use-smart-contract-trie-for-key-value-storefrom
ar/psr-85-implement-test-of-storage-and-hashing
Open

Ar/psr 85 implement test of storage and hashing#1615
allanbrondum wants to merge 4 commits intoar/psr-84-use-smart-contract-trie-for-key-value-storefrom
ar/psr-85-implement-test-of-storage-and-hashing

Conversation

@allanbrondum
Copy link
Copy Markdown
Collaborator

@allanbrondum allanbrondum commented Apr 10, 2026

Purpose

Tests snapshots/fixtures for hashing and storage of PLT block state.

Changes

Implemented tests on both Rust and Haskell side, with same hash snapshots and storage fixtures (using P9/P10).

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2026

Codecov Report

❌ Patch coverage is 89.47368% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.87%. Comparing base (2f0b3db) to head (a4731f0).

Files with missing lines Patch % Lines
...lobalstate/GlobalStateTests/ProtocolLevelTokens.hs 89.18% 0 Missing and 8 partials ⚠️
Additional details and impacted files
@@                                    Coverage Diff                                    @@
##           ar/psr-84-use-smart-contract-trie-for-key-value-store    #1615      +/-   ##
=========================================================================================
+ Coverage                                                  63.81%   63.87%   +0.05%     
=========================================================================================
  Files                                                        354      354              
  Lines                                                      70742    70809      +67     
  Branches                                                    3015     3023       +8     
=========================================================================================
+ Hits                                                       45147    45229      +82     
+ Misses                                                     22580    22557      -23     
- Partials                                                    3015     3023       +8     
Files with missing lines Coverage Δ
...ate/src/block_state/state/protocol_level_tokens.rs 87.04% <100.00%> (-0.20%) ⬇️
...lobalstate/GlobalStateTests/ProtocolLevelTokens.hs 74.16% <89.18%> (+7.25%) ⬆️

... and 4 files with indirect coverage changes

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.

1 participant