update withdraw limits
This commit is contained in:
parent
66082a8fbc
commit
33b6561ffe
@ -21,6 +21,7 @@ module.exports = {
|
|||||||
tornadoGoerliProxy: '0x454d870a72e29d5E5697f635128D18077BD04C60',
|
tornadoGoerliProxy: '0x454d870a72e29d5E5697f635128D18077BD04C60',
|
||||||
gasLimits: {
|
gasLimits: {
|
||||||
[jobType.TORNADO_WITHDRAW]: 390000,
|
[jobType.TORNADO_WITHDRAW]: 390000,
|
||||||
|
WITHDRAW_WITH_EXTRA: 420000,
|
||||||
[jobType.MINING_REWARD]: 455000,
|
[jobType.MINING_REWARD]: 455000,
|
||||||
[jobType.MINING_WITHDRAW]: 400000,
|
[jobType.MINING_WITHDRAW]: 400000,
|
||||||
},
|
},
|
||||||
|
@ -211,7 +211,7 @@ async function getTxObject({ data }) {
|
|||||||
value: data.args[5],
|
value: data.args[5],
|
||||||
to: contract._address,
|
to: contract._address,
|
||||||
data: calldata,
|
data: calldata,
|
||||||
gasLimit: gasLimits[data.type],
|
gasLimit: gasLimits['WITHDRAW_WITH_EXTRA'],
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const method = data.type === jobType.MINING_REWARD ? 'reward' : 'withdraw'
|
const method = data.type === jobType.MINING_REWARD ? 'reward' : 'withdraw'
|
||||||
|
Loading…
Reference in New Issue
Block a user