Skip to content

Commit

Permalink
Update commission test to new fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Jun 23, 2022
1 parent 97762a6 commit fd634dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/functional/feature_commission_fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class CommissionFixTest(DefiTestFramework):
def set_test_params(self):
self.num_nodes = 1
self.setup_clean_chain = True
self.great_world = 200
self.fortcanninggardens = 200
self.extra_args = [
['-txnotokens=0', '-amkheight=1', '-bayfrontheight=1', '-eunosheight=1', '-fortcanningheight=1', '-fortcanningmuseumheight=1', '-fortcanninghillheight=1', '-fortcanningroadheight=1', '-fortcanningcrunchheight=1', f'-greatworldheight={self.great_world}', '-subsidytest=1']]
['-txnotokens=0', '-amkheight=1', '-bayfrontheight=1', '-eunosheight=1', '-fortcanningheight=1', '-fortcanningmuseumheight=1', '-fortcanninghillheight=1', '-fortcanningroadheight=1', '-fortcanningcrunchheight=1', f'-fortcanninggardensheight={self.fortcanninggardens}', '-subsidytest=1']]

def run_test(self):
# Set up test tokens
Expand Down Expand Up @@ -211,7 +211,7 @@ def pool_commission(self):
assert_equal(result[f'{self.idGD}']['reserveA'], Decimal('0'))

# Move to fork
self.nodes[0].generate(self.great_world - self.nodes[0].getblockcount())
self.nodes[0].generate(self.fortcanninggardens - self.nodes[0].getblockcount())

# Add pool liquidity
self.nodes[0].addpoolliquidity({
Expand Down

0 comments on commit fd634dc

Please sign in to comment.