Skip to content

Commit

Permalink
adjusted script for setting historical blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ororopickpocket committed Feb 7, 2022
1 parent e715b2c commit cd39f27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/contractInteraction/staking_vesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ def setBlockForStakingRewards():
def setHistoricalBlockForStakingRewards(blockTime):
# Get the staking rewards proxy contract instance
stakingRewards = Contract.from_abi("StakingRewards", address=conf.contracts['StakingRewardsProxy'], abi=StakingRewards.abi, owner=conf.acct)
stakingRewards.setHistoricalBlock(blockTime)
data = stakingRewards.setHistoricalBlock.encode_input(blockTime)
sendWithMultisig(conf.contracts['multisig'], conf.contracts['StakingRewardsProxy'], data, conf.acct)

#Upgrade Staking
# Upgrade Staking
Expand Down

0 comments on commit cd39f27

Please sign in to comment.