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

On Request, turn bytecode and id into immutable fields #161

Closed
guidiaz opened this issue May 6, 2021 · 2 comments
Closed

On Request, turn bytecode and id into immutable fields #161

guidiaz opened this issue May 6, 2021 · 2 comments

Comments

@guidiaz
Copy link
Collaborator

guidiaz commented May 6, 2021

This way, reading from storage is avoided when calling to bytecode() or id().

Note: immutable keyword was introduced in Solidity 0.6.5.

@aesedepece
Copy link
Member

Hasn't this already made it to 0.4.x?

@Tommytrg
Copy link
Member

Tommytrg commented Sep 9, 2024

Stale issue

@Tommytrg Tommytrg closed this as completed Sep 9, 2024
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

No branches or pull requests

3 participants