WIP hacking together traffic generator

This commit is contained in:
nolash
2021-02-19 21:12:33 +01:00
parent bac4fb78ce
commit 2a9c74080f
4 changed files with 215 additions and 2 deletions

View File

@@ -228,7 +228,7 @@ def main():
for address in trusted_addresses:
logg.info('using trusted address {}'.format(address))
oracle = DeclaratorOracleAdapter(declarator.contract, trusted_addresses)
chain_registry.add_oracle('naive_erc20_oracle', oracle)
chain_registry.add_oracle(oracle, 'naive_erc20_oracle')
#chain_spec = CICRegistry.default_chain_spec