Skip to content

Commit

Permalink
Make miner instances use JsTree in gas cost tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elenadimitrova committed Jan 25, 2019
1 parent 8c7f723 commit 114117a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test-gas-costs/gasCosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,19 @@ contract("All", function(accounts) {
await advanceMiningCycleNoContest({ colonyNetwork, test: this });
await advanceMiningCycleNoContest({ colonyNetwork, test: this, minerAddress: STAKER1 });

const goodClient = new ReputationMinerTestWrapper({ loader: contractLoader, minerAddress: STAKER1, realProviderPort: REAL_PROVIDER_PORT });
const goodClient = new ReputationMinerTestWrapper({
loader: contractLoader,
minerAddress: STAKER1,
realProviderPort: REAL_PROVIDER_PORT,
useJsTree: true
});
const badClient = new MaliciousReputationMinerExtraRep(
{ loader: contractLoader, minerAddress: STAKER2, realProviderPort: REAL_PROVIDER_PORT },
{ loader: contractLoader, minerAddress: STAKER2, realProviderPort: REAL_PROVIDER_PORT, useJsTree: true },
1,
0xfffffffff
);
const badClient2 = new MaliciousReputationMinerExtraRep(
{ loader: contractLoader, minerAddress: STAKER3, realProviderPort: REAL_PROVIDER_PORT },
{ loader: contractLoader, minerAddress: STAKER3, realProviderPort: REAL_PROVIDER_PORT, useJsTree: true },
2,
0xfffffffff
);
Expand Down

0 comments on commit 114117a

Please sign in to comment.