Change all instances of networkId
to chainId
(#2313)
* abi-gen/test: recompile contract fixtures for 3.0 It seems this hadn't been done since the merge with the 3.0 branch. * Sync `monorepo$ yarn test` exclusions to CI config * sra-spec: correct typo * contract-wrappers: TODO after coord.-server update * utils: fix typo in comment * Refactor networkId to chainId everywhere * Update CHANGELOGs
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import pytest
|
||||
|
||||
from zero_ex.contract_addresses import network_to_addresses, NetworkId
|
||||
from zero_ex.contract_addresses import chain_to_addresses, ChainId
|
||||
from zero_ex.contract_wrappers.bases import ContractMethod
|
||||
|
||||
|
||||
@@ -11,5 +11,5 @@ def contract_wrapper(ganache_provider):
|
||||
"""Get a ContractMethod instance for testing."""
|
||||
return ContractMethod(
|
||||
web3_or_provider=ganache_provider,
|
||||
contract_address=network_to_addresses(NetworkId.GANACHE).ether_token,
|
||||
contract_address=chain_to_addresses(ChainId.GANACHE).ether_token,
|
||||
)
|
||||
|
Reference in New Issue
Block a user