@0x/contract-artifacts
: Fix contract-artifacts
tests
This commit is contained in:
parent
72fc0c845a
commit
5df74d35d0
@ -4,11 +4,14 @@ import 'mocha';
|
|||||||
|
|
||||||
import * as artifacts from '../src/index';
|
import * as artifacts from '../src/index';
|
||||||
|
|
||||||
import { ObjectMap } from '../../types/lib';
|
|
||||||
import {FORBIDDEN_PROPERTIES, REQUIRED_PROPERTIES} from '../src/transform';
|
import {FORBIDDEN_PROPERTIES, REQUIRED_PROPERTIES} from '../src/transform';
|
||||||
|
|
||||||
const expect = chai.expect;
|
const expect = chai.expect;
|
||||||
|
|
||||||
|
interface ObjectMap<T> {
|
||||||
|
[name: string]: T;
|
||||||
|
}
|
||||||
|
|
||||||
// For pure functions, we use local EVM execution in `@0x/base-contract` instead
|
// 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.
|
// of making an eth_call. This requires the `deployedBytecode` from compiler output.
|
||||||
const CONTRACTS_WITH_PURE_FNS = [
|
const CONTRACTS_WITH_PURE_FNS = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user