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

feat: storage bytecode stored in 31-bytes chunks from address 0 #838

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

enitrat
Copy link
Contributor

@enitrat enitrat commented Aug 20, 2024

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Resolves: #827

What is the new behavior?

  • Stores the bytecode of a contract in 31-bytes chunks, sequentially from address 0 of the contract's storage.
  • Packing / unpacking is transparent and handled in the Store trait.

Does this introduce a breaking change?

  • Yes
  • No

This change is Reviewable

@enitrat enitrat merged commit 4d7c7a2 into main Aug 20, 2024
4 checks passed
@enitrat enitrat deleted the feat/storage-bytecode branch August 20, 2024 14:21
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.

feat: store bytecode sequentially from address 0
1 participant