terra/token_bridge: set code_id to deployed cw20_wrapped

Change-Id: I275cb38a049290e8399f3fdc5f304c3fc12551f6
This commit is contained in:
Reisen 2021-10-11 16:52:55 +00:00
parent 2a63d08b88
commit fc1c91a4b4
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ const WRAPPED_ASSET_UPDATING: &str = "updating";
pub fn migrate(deps: DepsMut, _env: Env, _msg: MigrateMsg) -> StdResult<Response> {
// Switch CW20 Code ID to include assets with updatable metadata.
let mut state = config(deps.storage).load()?;
state.wrapped_asset_code_id = 0;
state.wrapped_asset_code_id = 556;
config(deps.storage).save(&state)?;
// Remove registered asset with old code ID.