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 contract storage readable kv state slot values #10480

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kselveliev
Copy link
Contributor

Description:
This PR fixes slot values in ContractStorageReadableKVState and expand the slot values to 32 bytes.

Partially completes #10430

Notes for reviewer:

Tests that this pr fixes

Then I call function with update and I expect return of the updated value
Then I call function that makes N times state update

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
@kselveliev kselveliev added enhancement Type: New feature web3 Area: Web3 API modularizedEVM labels Feb 24, 2025
@kselveliev kselveliev self-assigned this Feb 24, 2025
Copy link

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ Complexity Δ
...state/keyvalue/ContractStorageReadableKVState.java 100.00% <ø> (ø) 5.00 <0.00> (ø)

... and 994 files with indirect coverage changes

Signed-off-by: Kristiyan Selveliev <kristiyan.selveliev@limechain.tech>
@kselveliev kselveliev marked this pull request as ready for review February 25, 2025 08:58
@kselveliev kselveliev requested a review from a team as a code owner February 25, 2025 08:58
Copy link
Contributor

@bilyana-gospodinova bilyana-gospodinova left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature modularizedEVM web3 Area: Web3 API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants