Skip to content

Conversation

cmichi
Copy link
Contributor

@cmichi cmichi commented Aug 29, 2025

Part of closing #8572.

Introduces a new Storage pre-compile and migrates:

  • clear_storage
  • take_storage
  • contains_storage

The new Storage pre-compile is introduced, as it requires implementing the BuiltinPrecompile::call_with_info function, which cannot be implemented together with BuiltinPrecompile::call (implemented by the System pre-compile).

I've added the sol_utils as I (on admittedly quick glance) couldn't find a crate that supports those encodings (Solidity's bytes) without requiring an allocator.

cc @athei @pgherveou

- name: pallet-revive-fixtures
bump: major
- name: pallet-revive-uapi
bump: major
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The prdoc CI check is complaining about the format of this file. I don't see any issue here though.

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