Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
add declarations for ethereumjs-vm in @0x/typescript-typings
Browse files Browse the repository at this point in the history
  • Loading branch information
xianny committed Sep 5, 2019
1 parent f3a5c3b commit 60577f0
Show file tree
Hide file tree
Showing 4 changed files with 341 additions and 23 deletions.
44 changes: 22 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,38 +383,38 @@ workflows:
main:
jobs:
- build
- build-website:
requires:
- build
- test-contracts-ganache:
requires:
- build
# - build-website:
# requires:
# - build
# - test-contracts-ganache:
# requires:
# - build
# TODO(albrow): Tests always fail on Geth right now because our fork
# is outdated. Uncomment once we have updated our Geth fork.
# - test-contracts-geth:
# requires:
# - build
- test-rest:
requires:
- build
# - test-rest:
# requires:
# - build
- static-tests:
requires:
- build
- test-publish:
requires:
- build
- test-doc-generation:
requires:
- build
- submit-coverage:
requires:
- test-rest
- test-python
- static-tests-python:
requires:
- test-python
- test-python:
requires:
- build
# - test-doc-generation:
# requires:
# - build
# - submit-coverage:
# requires:
# - test-rest
# - test-python
# - static-tests-python:
# requires:
# - test-python
# - test-python:
# requires:
# - build
# skip python tox run for now, as we don't yet have multiple test environments to support.
#- test-rest-python
2 changes: 1 addition & 1 deletion packages/base-contract/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
import Account from 'ethereumjs-account';
import * as util from 'ethereumjs-util';
import * as ethereumJsVm from 'ethereumjs-vm';
import PStateManager from 'ethereumjs-vm/dist/state/promisified';
import * as ethers from 'ethers';
import * as _ from 'lodash';

Expand All @@ -32,6 +31,7 @@ export interface AbiEncoderByFunctionSignature {
}

const VM = ethereumJsVm.default;
const PStateManager = ethereumJsVm.PStateManager;
const ARBITRARY_PRIVATE_KEY = 'e331b6d69882b4cb4ea581d88e0b604039a3de5967688d3dcffdd2270c0fd109';

// tslint:disable: max-classes-per-file
Expand Down
1 change: 1 addition & 0 deletions packages/base-contract/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"outDir": "lib",
"rootDir": "."
},
"typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"],
"include": ["src/**/*", "test/**/*"]
}
Loading

0 comments on commit 60577f0

Please sign in to comment.