From b14caa36b6304d51faf3cbfddb246b2ed79effda Mon Sep 17 00:00:00 2001 From: Evan Gray Date: Wed, 11 Oct 2023 18:37:32 -0400 Subject: [PATCH] terra: label is now required on instantiate --- terra/contracts/token-bridge/src/contract.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terra/contracts/token-bridge/src/contract.rs b/terra/contracts/token-bridge/src/contract.rs index 078b9be7a3..327dbba0eb 100644 --- a/terra/contracts/token-bridge/src/contract.rs +++ b/terra/contracts/token-bridge/src/contract.rs @@ -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 { WithoutPayload, @@ -405,7 +406,7 @@ fn handle_attest_meta( }), })?, funds: vec![], - label: String::new(), + label: WRAPPED_ASSET_LABEL.to_string(), }) }; wrapped_asset_seq(deps.storage).save(&asset_id, &sequence)?;