Skip to content

Commit

Permalink
renamed member1-5 to addr0-4
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Oct 17, 2024
1 parent 8e2ddae commit 2fcbdfe
Show file tree
Hide file tree
Showing 7 changed files with 701 additions and 705 deletions.
28 changes: 14 additions & 14 deletions contracts/distribution/dao-rewards-distributor/src/testing/suite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use cw_utils::Duration;
use dao_interface::{token::InitialBalance, voting::InfoResponse};
use dao_testing::{
Cw20TestDao, Cw4TestDao, Cw721TestDao, DaoTestingSuite, DaoTestingSuiteBase, InitialNft,
TokenTestDao, GOV_DENOM, MEMBER1, MEMBER2, MEMBER3, OWNER,
TokenTestDao, ADDR0, ADDR1, ADDR2, GOV_DENOM, OWNER,
};

use crate::{
Expand Down Expand Up @@ -54,15 +54,15 @@ impl SuiteBuilder {
},
cw4_members: vec![
Member {
addr: MEMBER1.to_string(),
addr: ADDR0.to_string(),
weight: 2,
},
Member {
addr: MEMBER2.to_string(),
addr: ADDR1.to_string(),
weight: 1,
},
Member {
addr: MEMBER3.to_string(),
addr: ADDR2.to_string(),
weight: 1,
},
],
Expand Down Expand Up @@ -116,15 +116,15 @@ impl SuiteBuilder {
.cw20()
.with_initial_balances(vec![
Cw20Coin {
address: MEMBER1.to_string(),
address: ADDR0.to_string(),
amount: Uint128::new(100),
},
Cw20Coin {
address: MEMBER2.to_string(),
address: ADDR1.to_string(),
amount: Uint128::new(50),
},
Cw20Coin {
address: MEMBER3.to_string(),
address: ADDR2.to_string(),
amount: Uint128::new(50),
},
])
Expand All @@ -143,19 +143,19 @@ impl SuiteBuilder {
.with_initial_nfts(vec![
InitialNft {
token_id: "1".to_string(),
owner: MEMBER1.to_string(),
owner: ADDR0.to_string(),
},
InitialNft {
token_id: "2".to_string(),
owner: MEMBER1.to_string(),
owner: ADDR0.to_string(),
},
InitialNft {
token_id: "3".to_string(),
owner: MEMBER2.to_string(),
owner: ADDR1.to_string(),
},
InitialNft {
token_id: "4".to_string(),
owner: MEMBER3.to_string(),
owner: ADDR2.to_string(),
},
])
.dao();
Expand All @@ -171,15 +171,15 @@ impl SuiteBuilder {
.token()
.with_initial_balances(vec![
InitialBalance {
address: MEMBER1.to_string(),
address: ADDR0.to_string(),
amount: Uint128::new(100),
},
InitialBalance {
address: MEMBER2.to_string(),
address: ADDR1.to_string(),
amount: Uint128::new(50),
},
InitialBalance {
address: MEMBER3.to_string(),
address: ADDR2.to_string(),
amount: Uint128::new(50),
},
])
Expand Down
Loading

0 comments on commit 2fcbdfe

Please sign in to comment.