Skip to content

feat: ability to upgrade name and symbol#199

Closed
0xIryna wants to merge 2 commits intospoke-upgradeablefrom
feat/upgrade-name-symbol
Closed

feat: ability to upgrade name and symbol#199
0xIryna wants to merge 2 commits intospoke-upgradeablefrom
feat/upgrade-name-symbol

Conversation

@0xIryna
Copy link
Copy Markdown

@0xIryna 0xIryna commented May 13, 2025

Requires m0-foundation/common#43 to be merged first

@0xIryna 0xIryna marked this pull request as draft May 13, 2025 23:48
@0xIryna 0xIryna requested review from PierrickGT and toninorair May 14, 2025 00:00
src/MToken.sol Outdated
}

// keccak256(abi.encode(uint256(keccak256("m0.storage.MToken")) - 1)) & ~bytes32(uint256(0xff))
bytes32 private constant _M_TOKEN_STORAGE_SLOT = 0x93466981a55ce4da70da67506024f05bd15faf7fdab908fab669c24c9fb04d00;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has the hash been updated?
I get 0xeb521740570240fc3b71275bd090460409d92adf7cec95ba2df10066ee73c700 when calling the code above.

@0xIryna
Copy link
Copy Markdown
Author

0xIryna commented May 15, 2025

Decided not to upgrade name and symbol

@0xIryna 0xIryna closed this May 15, 2025
@0xIryna 0xIryna removed the request for review from toninorair May 15, 2025 15:54
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.

2 participants