Loads chainspec from chain.ini
This commit is contained in:
parent
bbd524b78c
commit
cbd7160be4
6
apps/cic-ussd/tests/fixtures/config.py
vendored
6
apps/cic-ussd/tests/fixtures/config.py
vendored
@ -41,11 +41,7 @@ def init_state_machine(load_config):
|
|||||||
|
|
||||||
@pytest.fixture(scope='function')
|
@pytest.fixture(scope='function')
|
||||||
def load_chain_spec(load_config):
|
def load_chain_spec(load_config):
|
||||||
chain_spec = ChainSpec(
|
chain_spec = ChainSpec.from_chain_str(load_config.get('CHAIN_SPEC'))
|
||||||
common_name=load_config.get('CIC_COMMON_NAME'),
|
|
||||||
engine=load_config.get('CIC_ENGINE'),
|
|
||||||
network_id=load_config.get('CIC_NETWORK_ID')
|
|
||||||
)
|
|
||||||
Chain.spec = chain_spec
|
Chain.spec = chain_spec
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user