Skip to content

Commit

Permalink
Add more gas for failing promise tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Oct 1, 2019
1 parent 6ea4d50 commit a7b38e6
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions test/promise.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,19 @@ describe('with promises', () => {
receiver: contractName2,
methodName: 'callbackWithName',
args: null,
gas: 100000,
gas: 400000,
balance: 0,
callback: null,
callbackArgs: null,
callbackBalance: 0,
callbackGas: 100000,
callbackGas: 200000,
},
gas: 300000,
gas: 600000,
balance: 0,
callback: null,
callbackArgs: null,
callbackBalance: 0,
callbackGas: 300000,
callbackGas: 600000,
}});
const lastResult2 = await contract2.getLastResult();
expect(lastResult2).toEqual({
Expand All @@ -126,14 +126,14 @@ describe('with promises', () => {
receiver: contractName2,
methodName: 'callbackWithName',
args: null,
gas: 200000,
gas: 400000,
balance: 0,
callback: 'callbackWithName',
callbackArgs: null,
callbackBalance: 0,
callbackGas: 200000,
},
gas: 500000,
gas: 1000000,
balance: 0,
callback: 'callbackWithName',
callbackArgs: null,
Expand Down Expand Up @@ -172,14 +172,14 @@ describe('with promises', () => {
receiver: contractName,
methodName: 'callbackWithName',
args: null,
gas: 200000,
gas: 400000,
balance: 0,
callback: 'callbackWithName',
callbackArgs: null,
callbackBalance: 0,
callbackGas: 200000,
callbackGas: 400000,
},
gas: 500000,
gas: 1000000,
balance: 0,
callback: 'callbackWithName',
callbackArgs: null,
Expand Down Expand Up @@ -254,14 +254,14 @@ describe('with promises', () => {
receiver: contractName2,
methodName: 'callbackWithName',
args: null,
gas: 200000,
gas: 400000,
balance: 0,
callback: 'callbackWithName',
callbackArgs: null,
callbackBalance: 0,
callbackGas: 200000,
callbackGas: 400000,
},
gas: 500000,
gas: 1000000,
balance: 0,
callback: null,
callbackArgs: null,
Expand Down

0 comments on commit a7b38e6

Please sign in to comment.