-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove height argument from fee related functions as per fixpastfees RFC #602
Conversation
@tromp this one seems to have some failing tests. I also suggest you add the same reviewers as on the grin node fixfees PR |
I can't figure out the build failures?! |
how to add reviewers again? |
Looks like it's pulling in an old version of
Might need to do a test build locally, and commit the |
Had to run a
in https://github.com/tromp/grin-wallet/blob/fixpastfees/.ci/general-jobs#L23 similar in:
Do you know of a better way to do this globally for all the test builds? |
Oops; i ran a cargo update on my local repo and commited the new Cargo.lock which now conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
name: fixpastfees
about: remove dependence of fee() and fee_shift() functions on height
title: 'fix past fees'
Companion PR for
mimblewimble/grin#3629
both implementing RFC https://github.com/mimblewimble/grin-rfcs/blob/master/text/0021-fix-prior-fees.md
to extend the 40 bit fee restriction and use of fee shifts back beyond HF4 to all history.
Technically a Hard Fork, but if we have a many month reorg introducing a > 40 bit fee prior to HF4, we have bigger problems to deal with than a chain split.
This simplifies all fee related functions as they no longer need a height argument to distinguish preHF4 from postHF4 behaviour.