Skip to content

Commit

Permalink
Run etherscan tests against goerli
Browse files Browse the repository at this point in the history
  • Loading branch information
karlb committed Apr 28, 2022
1 parent 6b1440a commit 0b67ed3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions raiden_contracts/tests/test_etherscan_verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def test_etherscan_verify_with_guid() -> None:

def test_etherscan_verify_already_verified() -> None:
with requests_mock.Mocker() as m:
chain_id = 3
chain_id = 5
etherscan_api = api_of_chain_id[chain_id]
m.post(
etherscan_api,
Expand Down Expand Up @@ -211,7 +211,7 @@ def test_etherscan_verify_unable_to_verify() -> None:

def test_etherscan_verify_success() -> None:
with requests_mock.Mocker() as m:
chain_id = 3
chain_id = 5
etherscan_api = api_of_chain_id[chain_id]
m.post(etherscan_api, text='{ "status": "1", "result" : "guid", "message" : "" }')
m.get(
Expand Down Expand Up @@ -253,7 +253,7 @@ def first_fail_second_succeed(_: Any, context: Any) -> str:

def test_etherscan_verify_success_after_a_loop() -> None:
with requests_mock.Mocker() as m:
chain_id = 3
chain_id = 5
etherscan_api = api_of_chain_id[chain_id]
m.post(etherscan_api, text='{ "status": "1", "result" : "guid", "message" : "" }')
m.get(etherscan_api, text=first_fail_second_succeed)
Expand Down

0 comments on commit 0b67ed3

Please sign in to comment.