Skip to content

Commit dfd3f08

Browse files
committed
Add correct contract version to data file
1 parent 2d7ba01 commit dfd3f08

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

raiden_contracts/data_0.39.0/contracts.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10744,6 +10744,6 @@
1074410744
"UserDeposit.sol": "0b0337ac86d9daa0c1d8e8242ac70b7a92af78d69ca3d0fafcf335e3bef5d1eb",
1074510745
"Utils.sol": "1bbaf331c04a76131857d2d71d6e2c20b3e080be5f87c0b7c94f4cfa2d229527"
1074610746
},
10747-
"contracts_version": null,
10747+
"contracts_version": "0.39.0",
1074810748
"overall_checksum": "7bf650e7f6448f90426aa7c18e632feb919902cf24fda3bce33cb78926db70e6"
10749-
}
10749+
}

raiden_contracts/tests/test_contracts_compilation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from raiden_contracts.constants import (
99
ALDERAAN_VERSION,
10+
BESPIN_VERSION,
1011
CHAINNAME_TO_ID,
1112
CONTRACT_TOKEN_NETWORK,
1213
CONTRACTS_VERSION,
@@ -243,7 +244,7 @@ def test_contract_manager_constructor_does_not_invent_version() -> None:
243244
assert manager.contracts_version is None
244245

245246

246-
@pytest.mark.parametrize("version", [CONTRACTS_VERSION, ALDERAAN_VERSION, "0.4.0"])
247+
@pytest.mark.parametrize("version", [CONTRACTS_VERSION, ALDERAAN_VERSION, BESPIN_VERSION, "0.4.0"])
247248
def test_contract_manager_constructor_keeps_existing_versions(version: str) -> None:
248249
"""ContractManager should keep an existing version string"""
249250
manager = ContractManager(contracts_precompiled_path(version=version))

0 commit comments

Comments
 (0)