Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/dependencies #198

Merged
merged 22 commits into from Jul 31, 2019
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Removeing new v2 web3 traces

  • Loading branch information
Freydal committed Jul 30, 2019
commit e2494c7d62fe29b1afd0aa37307d436e29791bcd
@@ -1,7 +1,6 @@
import { BlockchainLifecycle } from "@0x/dev-utils";
import { MnemonicWalletSubprovider, RPCSubprovider } from "@0x/subproviders";
import { providerUtils } from "@0x/utils";
import { provider } from "web3-providers";
import { Web3Wrapper } from "@0x/web3-wrapper";
import fs from "fs";
import safeRequire from "safe-node-require";
@@ -35,7 +34,7 @@ if (args["test-mnemonic"] || !mnemonic) {
providerEngine.addProvider(rpcSubprovider);
providerUtils.startProviderEngine(providerEngine);

const web3 = new Web3((providerEngine as unknown) as provider);
const web3 = new Web3(providerEngine);

const normalizedFromAddress = await web3.eth.getCoinbase().then((x: string) => x.toLowerCase());

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.