From 1b70dacc65dae3a6d42b983abcd4faf2d8732cdd Mon Sep 17 00:00:00 2001 From: Shayan Shiravani Date: Tue, 21 Nov 2023 13:36:18 +0330 Subject: [PATCH] Update contracts addresses --- prizetap/constants.py | 4 ++-- prizetap/tests.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/prizetap/constants.py b/prizetap/constants.py index eb3e0929..29dc016a 100644 --- a/prizetap/constants.py +++ b/prizetap/constants.py @@ -1651,7 +1651,7 @@ "erc721_prizetap_addr": "0xb68D3f2946Bf477978c68b509FD9f85E9e20F869", }, "80001": { - "erc20_prizetap_addr": "0x5AD9BAf388E6E4F7c40652e21545F700C2104FF0", - "erc721_prizetap_addr": "0x9E5c0d8a54D93956f26935447BBADd629f13a0dE", + "erc20_prizetap_addr": "0x57b2BA844fD37F20E9358ABaa6995caA4fCC9994", + "erc721_prizetap_addr": "0xDB7bA3A3cbEa269b993250776aB5B275a5F004a0", }, } diff --git a/prizetap/tests.py b/prizetap/tests.py index 5b54dbd8..43f6aa18 100644 --- a/prizetap/tests.py +++ b/prizetap/tests.py @@ -17,8 +17,8 @@ test_wallet_key = "f57fecd11c6034fd2665d622e866f05f9b07f35f253ebd5563e3d7e76ae66809" test_rpc_url_private = "https://rpc.ankr.com/eth_sepolia" fund_manager = "0x5802f1035AbB8B191bc12Ce4668E3815e8B7Efa0" -erc20_contract_address = "0x5AD9BAf388E6E4F7c40652e21545F700C2104FF0" -erc721_contract_address = "0x9E5c0d8a54D93956f26935447BBADd629f13a0dE" +erc20_contract_address = "0x57b2BA844fD37F20E9358ABaa6995caA4fCC9994" +erc721_contract_address = "0xDB7bA3A3cbEa269b993250776aB5B275a5F004a0" # # Create your tests here. @@ -338,8 +338,8 @@ def test_get_valid_chains(self): self.assertEqual(response.status_code, 200) data = response.data["data"] self.assertEqual(data[0]["chain_id"], "80001") - self.assertEqual(data[0]["erc20_prizetap_addr"], "0x5AD9BAf388E6E4F7c40652e21545F700C2104FF0") - self.assertEqual(data[0]["erc721_prizetap_addr"], "0x9E5c0d8a54D93956f26935447BBADd629f13a0dE") + self.assertEqual(data[0]["erc20_prizetap_addr"], "0x57b2BA844fD37F20E9358ABaa6995caA4fCC9994") + self.assertEqual(data[0]["erc721_prizetap_addr"], "0xDB7bA3A3cbEa269b993250776aB5B275a5F004a0") self.assertEqual(data[1]["chain_id"], "137") self.assertEqual(data[1]["erc20_prizetap_addr"], "0xB521C36F76d28Edb287346C9D649Fa1A60754f04") self.assertEqual(data[1]["erc721_prizetap_addr"], "0xb68D3f2946Bf477978c68b509FD9f85E9e20F869")