Skip to content
Unverified Commit e8da3207 authored by Kevin Wang's avatar Kevin Wang Committed by GitHub
Browse files

contracts: Fix incorrect storage alias in mirgration (#1687)



# Description

We are recently trying to upgrade our Substrate version from
`polkadot-v0.9.43` to `polkadot-v1.0.0` and we noticed a critical issue:
all deployed contracts seem to be experiencing a `CodeNotFound` error.
After a thorough investigation, it appears that the root cause of this
issue lies in the mismatch between the storage alias of `CodeInfoOf<T>`
in the migration and its original definition.

This PR corrects the storage alias to align it with its original
definition

I am uncertain about the proper approach for adding tests to this
change. Would the team consider taking over this PR to bring it to
completion?

---------

Co-authored-by: default avatarpgherveou <[email protected]>
parent c0a4ce1f
Pipeline #394035 passed with stages
in 1 hour, 16 minutes, and 50 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment