Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Copy gasPrice and gasLimit with dry-run #81

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions lib/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,11 @@ var Environment = {
network_id: config.network_id,
provider: TestRPC.provider({
fork: config.provider,
unlocked_accounts: accounts
unlocked_accounts: accounts,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm kind of paranoid about trailing commas in JS, mind removing this?

}),
from: config.from
from: config.from,
gasLimit: upstreamConfig.gasLimit,
gasPrice: upstreamConfig.gasPrice
}
config.network = forkedNetwork;

Expand Down