Skip to content

Commit

Permalink
Merge pull request #192 from UnitapApp/fix/prizetap-provider-dashboard
Browse files Browse the repository at this point in the history
Update contracts addresses
  • Loading branch information
ShayanShiravani authored Nov 21, 2023
2 parents e913bd4 + 1b70dac commit 3e08e0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions prizetap/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}
8 changes: 4 additions & 4 deletions prizetap/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 3e08e0e

Please sign in to comment.