Documentation
¶
Index ¶
Constants ¶
const UpgradeName = "pc20"
UpgradeName is the on-chain name of the pc20 upgrade. It MUST match the plan.name in the MsgSoftwareUpgrade governance proposal.
Variables ¶
This section is empty.
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm upgrades.ModuleManager, configurator module.Configurator, _ *upgrades.AppKeepers, ) upgradetypes.UpgradeHandler
func NewUpgrade ¶
NewUpgrade constructs the pc20 upgrade.
This is a NO-OP state upgrade: the pc20 feature adds no new store keys, no module ConsensusVersion bumps, and no migrations — it is a binary-only change (new x/uexecutor pc20 handling + the VAULT_PC / VAULT_PC20 system-contract definitions in x/uregistry). The VAULT_PC (0xB0) and VAULT_PC20 (0xB1) contracts are deployed separately from the EVM side after the upgrade, so the handler does not touch EVM state. It only runs RunMigrations (a no-op here) so the chain swaps to the new binary and resumes producing blocks.
Types ¶
This section is empty.