Skip to content

Commit d7d2e03

Browse files
author
cwsnt
committed
add gas settings in other action
1 parent e00813b commit d7d2e03

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/contractInteraction/staking_vesting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,12 @@ def setAverageBlockTime(blockTime):
217217
def setBlockForStakingRewards():
218218
# Get the staking rewards proxy contract instance
219219
stakingRewardsProxy = Contract.from_abi("StakingRewards", address=conf.contracts['StakingRewardsProxy'], abi=StakingRewards.abi, owner=conf.acct)
220-
stakingRewardsProxy.setBlock()
220+
stakingRewardsProxy.setBlock({'gas_price': '26000000'})
221221

222222
def setBlockForStakingRewardsOs():
223223
if conf.contracts['StakingRewardsOsProxy']:
224224
stakingRewardsProxy = Contract.from_abi("StakingRewardsOs", address=conf.contracts['StakingRewardsOsProxy'], abi=StakingRewardsOs.abi, owner=conf.acct)
225-
stakingRewardsProxy.setBlock()
225+
stakingRewardsProxy.setBlock({'gas_price': '26000000'})
226226

227227
# Set Historical Block
228228

scripts/fouryearvesting/extendStakingCron.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ def readLockDate(timestamp):
8080
print('timediff:', timediff)
8181
print('-----------------------------------------------------')
8282
if ((result == 0) and (math.floor(newResult) >= 1) and (math.floor(newResult) <= maxIterations) and (timediff < 86400) ):
83-
fourYearVestingLogic.extendStaking()
83+
fourYearVestingLogic.extendStaking({'gas_price': '26000000'})

0 commit comments

Comments
 (0)