Skip to content

Commit

Permalink
terra: label is now required on instantiate
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-gray authored and kcsongor committed Dec 6, 2023
1 parent 9881a73 commit 19e455d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terra/contracts/token-bridge/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type HumanAddr = String;
const CHAIN_ID: u16 = 3;

const WRAPPED_ASSET_UPDATING: &str = "updating";
const WRAPPED_ASSET_LABEL: &str = "WrappedCW20";

pub enum TransferType<A> {
WithoutPayload,
Expand Down Expand Up @@ -405,7 +406,7 @@ fn handle_attest_meta<C: CustomQuery>(
}),
})?,
funds: vec![],
label: String::new(),
label: WRAPPED_ASSET_LABEL.to_string(),
})
};
wrapped_asset_seq(deps.storage).save(&asset_id, &sequence)?;
Expand Down

0 comments on commit 19e455d

Please sign in to comment.