@0x/contract-artifacts: Fix contract-artifacts tests

This commit is contained in:
Lawrence Forman 2020-10-20 23:24:42 -04:00
parent 72fc0c845a
commit 5df74d35d0

View File

@ -4,11 +4,14 @@ import 'mocha';
import * as artifacts from '../src/index';
import { ObjectMap } from '../../types/lib';
import {FORBIDDEN_PROPERTIES, REQUIRED_PROPERTIES} from '../src/transform';
const expect = chai.expect;
interface ObjectMap<T> {
[name: string]: T;
}
// For pure functions, we use local EVM execution in `@0x/base-contract` instead
// of making an eth_call. This requires the `deployedBytecode` from compiler output.
const CONTRACTS_WITH_PURE_FNS = [