medium10 pts · first answer countssmart-contract-securityproxiesupgradeability
Reordering variables in an upgrade
Version 1 declares owner then totalSupply. Version 2 adds a new variable feeRate at the top, above owner. After upgrading the proxy, what happens?
Discussion 0
Join free to post in the discussion.
Related questions
- Changing deployed codeBlockchain Developer
- Private variables are public dataBlockchain Developer
- Verifying a contract on EtherscanBlockchain Developer
- Sharing a seed phraseBlockchain Developer
- Why use OpenZeppelinBlockchain Developer
- The checks-effects-interactions orderBlockchain Developer
- What nonReentrant doesBlockchain Developer
- What front-running isBlockchain Developer