Skip to content

Commit ae49bac

Browse files
committed
primitives - fix DAI token in testing setup
1 parent c0bdaa1 commit ae49bac

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

primitives/src/util/tests/prep_db.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,17 @@ lazy_static! {
3939
addresses.insert("publisher2".into(), Address::try_from("0x2054b0c1339309597ad04ba47f4590f8cdb4e305").expect("failed to parse id"));
4040
addresses.insert("creator".into(), Address::try_from("0x033ed90e0fec3f3ea1c9b005c724d704501e0196").expect("failed to parse id"));
4141
addresses.insert("tester".into(), Address::try_from("0x2892f6C41E0718eeeDd49D98D648C789668cA67d").expect("failed to parse id"));
42-
// These are the real Addresses of these stablecoins, however, they are only used for testing!
43-
addresses.insert("DAI".into(), Address::try_from("0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359").expect("failed to parse id"));
44-
addresses.insert("USDT".into(), Address::try_from("0xdac17f958d2ee523a2206206994597c13d831ec7").expect("failed to parse id"));
45-
addresses.insert("USDC".into(), Address::try_from("0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48").expect("failed to parse id"));
4642

4743
addresses
4844
};
4945

46+
// These are the real Addresses of these stablecoins, however, they are only used for testing!
5047
pub static ref TOKENS: HashMap<String, Address> = {
5148
let mut tokens = HashMap::new();
5249

53-
tokens.insert("DAI".into(), "0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359".parse::<Address>().expect("Should parse"));
54-
50+
tokens.insert("DAI".into(), "0x6b175474e89094c44da98b954eedeac495271d0f".parse::<Address>().expect("Should parse"));
51+
tokens.insert("USDT".into(), "0xdac17f958d2ee523a2206206994597c13d831ec7".parse::<Address>().expect("failed to parse id"));
52+
tokens.insert("USDC".into(), "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48".parse::<Address>().expect("failed to parse id"));
5553
tokens
5654
};
5755

0 commit comments

Comments
 (0)