Skip to content

Commit

Permalink
Merge pull request #69 from confio/fix/tfi_pair-label
Browse files Browse the repository at this point in the history
Change tfi-pair instance label to fixed string
  • Loading branch information
maurolacy authored Feb 28, 2022
2 parents f87c7df + cd74b05 commit b761e43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/tfi-factory/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ pub fn execute_create_pair(
code_id: config.pair_code_id,
funds: vec![],
admin: None,
label: pair_name.clone(),
label: "Tgrade finance trading pair".to_string(),
msg: to_binary(
&PairInstantiateMsg::new(asset_infos, config.token_code_id).with_commission(commission),
)?,
Expand Down
6 changes: 3 additions & 3 deletions contracts/tfi-factory/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ fn create_pair() {
msg: to_binary(&PairInstantiateMsg::new(asset_infos.clone(), 123u64)).unwrap(),
code_id: 321u64,
funds: vec![],
label: "asset0000-asset0001".to_string(),
label: "Tgrade finance trading pair".to_string(),
admin: None,
}
.into()
Expand Down Expand Up @@ -294,7 +294,7 @@ fn custom_default_commission() {
.unwrap(),
code_id: 321u64,
funds: vec![],
label: "asset0000-asset0001".to_string(),
label: "Tgrade finance trading pair".to_string(),
admin: None,
}
.into()
Expand Down Expand Up @@ -377,7 +377,7 @@ fn custom_pair_commission() {
.unwrap(),
code_id: 321u64,
funds: vec![],
label: "asset0000-asset0001".to_string(),
label: "Tgrade finance trading pair".to_string(),
admin: None,
}
.into()
Expand Down

0 comments on commit b761e43

Please sign in to comment.