chainlib-eth

Ethereum implementation of the chainlib interface
Info | Log | Files | Refs | README | LICENSE

fixtures_chain.py (296B)


      1 # external imports
      2 import pytest
      3 
      4 # local imports
      5 from chainlib.chain import ChainSpec
      6 
      7 
      8 @pytest.fixture(scope='session')
      9 def default_chain_spec():
     10     return ChainSpec('evm', 'foo', 42)
     11 
     12 
     13 @pytest.fixture(scope='session')
     14 def default_chain_config():
     15     return {
     16         'foo': 42,
     17             }