witnet-solidity-bridge icon indicating copy to clipboard operation
witnet-solidity-bridge copied to clipboard

On `Request`, turn `bytecode` and `id` into immutable fields

Open guidiaz opened this issue 3 years ago • 1 comments

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

Note: immutable keyword was introduced in Solidity 0.6.5.

guidiaz avatar May 06 '21 16:05 guidiaz

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

aesedepece avatar Sep 06 '21 12:09 aesedepece

Stale issue

Tommytrg avatar Sep 09 '24 08:09 Tommytrg