Since we are emulating a fixed state with local copies of the JSON artifacts in development, this needs to be considered for production builds, where we will want to load polymath-core's artifacts.
This should consider the fact that E2E tests connect to ganache instead of Kovan or the Mainnet. Meaning this behavior should continue for them.
What needs to be done:
- On production builds point to
polymath-core's artifacts instead of polymath-shared's fixtures
- On e2e continue pointing to
shared instead of polymath-core
This can be done by either changing where the dependencies point to or having polymath-shared provide the polymath-core contracts when built for production
Since we are emulating a fixed state with local copies of the JSON artifacts in development, this needs to be considered for production builds, where we will want to load
polymath-core's artifacts.This should consider the fact that E2E tests connect to ganache instead of
Kovanor theMainnet. Meaning this behavior should continue for them.What needs to be done:
polymath-core's artifacts instead ofpolymath-shared's fixturessharedinstead ofpolymath-coreThis can be done by either changing where the dependencies point to or having
polymath-sharedprovide thepolymath-corecontracts when built for production