Skip to content

Commit ba349b7

Browse files
committed
Add version to ChannelManagerContract
1 parent 03a0558 commit ba349b7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.bumpversion.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ serialize = {major}.{minor}.{patch}
1313
parse = contract_version = "(?P<major>\d+)\.(?P<minor>\d+)\._";
1414
serialize = contract_version = "{major}.{minor}._";
1515

16+
[bumpversion:file:raiden/smart_contracts/ChannelManagerContract.sol]
17+
parse = contract_version = "(?P<major>\d+)\.(?P<minor>\d+)\._";
18+
serialize = contract_version = "{major}.{minor}._";
19+
1620
[bumpversion:file:raiden/smart_contracts/EndpointRegistry.sol]
1721
parse = contract_version = "(?P<major>\d+)\.(?P<minor>\d+)\._";
1822
serialize = contract_version = "{major}.{minor}._";

raiden/smart_contracts/ChannelManagerContract.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import "./ChannelManagerLibrary.sol";
88
// deployment the logic is moved into a library and this contract will work
99
// only as a proxy/state container.
1010
contract ChannelManagerContract is Utils {
11+
string constant public contract_version = "0.0._";
12+
1113
using ChannelManagerLibrary for ChannelManagerLibrary.Data;
1214
ChannelManagerLibrary.Data data;
1315

0 commit comments

Comments
 (0)