Skip to content

Commit

Permalink
fix preResetGas
Browse files Browse the repository at this point in the history
  • Loading branch information
cliff0412 committed May 17, 2019
1 parent a4f0126 commit 49aa327
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@finbook/duo-contract-wrapper",
"version": "1.3.10",
"version": "1.3.11",
"description": "DUO Contract Wrapper",
"author": "FinBook Pte Ltd",
"main": "dist/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/__snapshots__/DualClassWrapper.test.ts.snap
Expand Up @@ -661,7 +661,7 @@ Array [
Array [
Object {
"from": "account",
"gas": 120000,
"gas": 240000,
"gasPrice": 1000000000,
"nonce": 10,
},
Expand All @@ -681,12 +681,12 @@ exports[`triggerPreReset 3`] = `
Array [
Array [
"account",
120000,
240000,
Object {},
],
Array [
"account",
120000,
240000,
Object {
"gasLimit": 20000,
"gasPrice": 1000000000,
Expand Down
6 changes: 3 additions & 3 deletions src/__snapshots__/VivaldiWrapper.test.ts.snap
Expand Up @@ -485,7 +485,7 @@ Array [
Array [
Object {
"from": "account",
"gas": 120000,
"gas": 240000,
"gasPrice": 1000000000,
"nonce": 10,
},
Expand All @@ -505,12 +505,12 @@ exports[`triggerPreReset 3`] = `
Array [
Array [
"account",
120000,
240000,
Object {},
],
Array [
"account",
120000,
240000,
Object {
"gasLimit": 20000,
"gasPrice": 1000000000,
Expand Down
4 changes: 2 additions & 2 deletions src/constants.ts
Expand Up @@ -96,8 +96,8 @@ export const DUAL_CLASS_CREATE_GAS = 160000;
export const VIVALDI_REDEEM_GAS = 160000;
export const VIVALDI_CREATE_GAS = 250000;
export const DEFAULT_GAS_PRICE = 5;
export const DUAL_CLASS_PRE_RESET_GAS_LIMIT = 120000;
export const VIVALDI_PRE_RESET_GAS_LIMIT = 120000;
export const DUAL_CLASS_PRE_RESET_GAS_LIMIT = 240000;
export const VIVALDI_PRE_RESET_GAS_LIMIT = 240000;
export const RESET_GAS_LIMIT = 4000000;
export const START_CUSTODIAN_GAS = 400000;
export const FETCH_PRICE_GAS = 150000;
Expand Down

0 comments on commit 49aa327

Please sign in to comment.