Skip to content

Commit df24536

Browse files
authored
Merge pull request #974 from skalenetwork/update-schains-ls-test
update schains ls test
2 parents 99fbbfa + ddb9aef commit df24536

1 file changed

Lines changed: 24 additions & 4 deletions

File tree

tests/cli/schains_test.py

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,48 @@ def test_ls():
3434
{
3535
'name': 'test_schain1',
3636
'mainnet_owner': '0x123',
37-
'index_owner_list': 3,
37+
'index_in_owner_list': 3,
3838
'part_of_node': 0,
3939
'lifetime': 5,
4040
'start_date': 1570115385,
41+
'start_block': 1000,
4142
'deposit': 1000000000000000000,
4243
'index': 3,
4344
'generation': 1,
4445
'originator': '0x465',
45-
'options': {'allocation_type': 0}, # noqa
46+
'schain_hash': 'c55c12fc3ded931fbc34715443023a4a72e53f32aaafa42659cbef7b60e7d06a',
47+
'options': {
48+
'multitransaction_mode': True,
49+
'threshold_encryption': True,
50+
'allocation_type': 0,
51+
'external_gas_difficulty': '0x01',
52+
'min_gas_price': None,
53+
'max_gas_price': None,
54+
},
55+
'active': True,
4656
},
4757
{
4858
'name': 'crazy_cats1',
4959
'mainnet_owner': '0x321',
50-
'index_owner_list': 8,
60+
'index_in_owner_list': 8,
5161
'part_of_node': 0,
5262
'lifetime': 5,
5363
'start_date': 1570469410,
64+
'start_block': 1000,
5465
'deposit': 1000000000000000000,
5566
'index': 8,
5667
'generation': 0,
5768
'originator': '0x0',
58-
'options': {'allocation_type': 0}, # noqa
69+
'schain_hash': '139f942ee2f304b59143e340621139f58a7bb37d58e30a0ec46fdd1aaf79632a',
70+
'options': {
71+
'multitransaction_mode': True,
72+
'threshold_encryption': True,
73+
'allocation_type': 0,
74+
'external_gas_difficulty': '0x01',
75+
'min_gas_price': None,
76+
'max_gas_price': None,
77+
},
78+
'active': True,
5979
},
6080
]
6181
resp_mock = response_mock(requests.codes.ok, json_data={'payload': payload, 'status': 'ok'})

0 commit comments

Comments
 (0)