Skip to content

Commit

Permalink
Lower cost of joining and quitting in STAKE_POOLS_{JOIN,QUIT}_01x.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Aug 1, 2022
1 parent 8eeda00 commit 0224cd8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1433,8 +1433,8 @@ spec = describe "SHELLEY_STAKE_POOLS" $ do
costOfJoining :: Context -> Natural
costOfJoining ctx =
if _mainEra ctx >= ApiBabbage
then costOf (\coeff cst -> 487 * coeff + cst) ctx
else costOf (\coeff cst -> 483 * coeff + cst) ctx
then costOf (\coeff cst -> 454 * coeff + cst) ctx
else costOf (\coeff cst -> 450 * coeff + cst) ctx

costOfQuitting :: Context -> Natural
costOfQuitting ctx =
Expand Down

0 comments on commit 0224cd8

Please sign in to comment.