snapshot-labs / sx-starknet

Core smart contracts of Snapshot X for Starknet
https://docs.snapshotx.xyz
MIT License
112 stars 69 forks source link

fix: L-04 Risky upgrade pattern #584

Closed pscott closed 9 months ago

pscott commented 9 months ago

Adds a new function post_upgrade_initializer that is meant to be called by the upgrade function (previously, it called the initialize function).

Name can be changed, if something better comes to mind?

Closes #561