Closed kariy closed 1 month ago
Ohayo, sensei! The changes in this pull request primarily involve replacing HashMap
with BTreeMap
across various modules in the codebase. This transition affects data structures used for managing state updates, contract storage, and related functionalities. Additionally, the field contract_updates
has been renamed to deployed_contracts
in multiple locations, reflecting a shift in how deployed contracts are tracked and processed.
Files | Change Summary |
---|---|
crates/saya/core/src/prover/* |
Replaced instances of HashMap with BTreeMap for managing storage updates and modified references from contract_updates to deployed_contracts . Updated serialization tests accordingly. |
crates/saya/provider/src/rpc/state.rs |
Changed contract_entry to use BTreeMap instead of HashMap and updated the output structure from out.contract_updates to out.deployed_contracts . |
HashMap
and BTreeMap
in the main PR.FieldElement
to Felt
, which is unrelated to the changes made to the StateUpdates
struct and its fields in the main PR.Attention: Patch coverage is 88.88889%
with 12 lines
in your changes missing coverage. Please review.
Project coverage is 68.46%. Comparing base (
b598b07
) to head (d9cb0a4
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
Release Notes
New Features
HashMap
toBTreeMap
for various state updates, improving order and performance.contract_updates
todeployed_contracts
for clarity in state management.Bug Fixes
deployed_contracts
field.Documentation