diff --git a/test/functional/feature_poolswap_mechanism.py b/test/functional/feature_poolswap_mechanism.py index 937ff26dcc2..33606a91ee9 100755 --- a/test/functional/feature_poolswap_mechanism.py +++ b/test/functional/feature_poolswap_mechanism.py @@ -319,7 +319,7 @@ def run_test(self): assert(self.nodes[0].getblockcount() == 120) # eunos self.LP_DAILY_DFI_REWARD = self.nodes[0].getgov("LP_DAILY_DFI_REWARD")['LP_DAILY_DFI_REWARD'] - assert_equal(self.LP_DAILY_DFI_REWARD, Decimal('103.08268000')) + assert_equal(self.LP_DAILY_DFI_REWARD, Decimal('14843.90592000')) # 144 blocks a day times 103.08268000 print("Swapping tokens after eunos height...") self.poolswap(self.nodes) diff --git a/test/functional/feature_setgov.py b/test/functional/feature_setgov.py index 0345ea263a3..6c2ead0f84c 100755 --- a/test/functional/feature_setgov.py +++ b/test/functional/feature_setgov.py @@ -207,7 +207,7 @@ def run_test(self): assert("Cannot be set manually after Eunos hard fork" in errorString) # Check new subsidy - assert_equal(self.nodes[0].getgov('LP_DAILY_DFI_REWARD')['LP_DAILY_DFI_REWARD'], Decimal('103.08268000')) + assert_equal(self.nodes[0].getgov('LP_DAILY_DFI_REWARD')['LP_DAILY_DFI_REWARD'], Decimal('14843.90592000')) # 144 blocks a day times 103.08268000 # Roll back self.nodes[0].invalidateblock(self.nodes[0].getblockhash(self.nodes[0].getblockcount())) @@ -217,13 +217,13 @@ def run_test(self): # Move to second reduction and check reward self.nodes[0].generate(151) - assert_equal(self.nodes[0].getgov('LP_DAILY_DFI_REWARD')['LP_DAILY_DFI_REWARD'], Decimal('101.37356916')) + assert_equal(self.nodes[0].getgov('LP_DAILY_DFI_REWARD')['LP_DAILY_DFI_REWARD'], Decimal('14597.79395904')) # 144 blocks a day times 101.37356916 # Rollback from second reduction self.nodes[0].invalidateblock(self.nodes[0].getblockhash(self.nodes[0].getblockcount())) # Check subsidy restored - assert_equal(self.nodes[0].getgov('LP_DAILY_DFI_REWARD')['LP_DAILY_DFI_REWARD'], Decimal('103.08268000')) + assert_equal(self.nodes[0].getgov('LP_DAILY_DFI_REWARD')['LP_DAILY_DFI_REWARD'], Decimal('14843.90592000')) if __name__ == '__main__': GovsetTest ().main ()