Skip to content
Discussion options

You must be logged in to vote

constant and immutable variables do not take a storage slot, as their value is imprinted in the bytecode of the smart contract, so the WAGE_L1 will be stored in the bytecode of the implementOne contract and not in any storage slot and I think that is why you are unable to retrieve it through the proxy. Try calling the getWageL1 function on the implementOne contract directly, and I expect that you will get the appropriate value returned.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@EngrPips
Comment options

@juliancabmar
Comment options

@juliancabmar
Comment options

@EngrPips
Comment options

Answer selected by juliancabmar
@juliancabmar
Comment options

@EngrPips
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants