-
Notifications
You must be signed in to change notification settings - Fork 26
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
Disable FF with amount related conditions and relative timelocks #942
base: main
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 13520590624Details
💛 - Coveralls |
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.
Looks fine to me
| Condition::AssertHeightRelative(_) | ||
| Condition::AssertSecondsRelative(_) => { |
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.
These two should not clear the ELIGIBLE_FOR_DEDUP
flag, should they?
I believe you should also check AssertEphemeral
here. It's considered a relative-timelock.
Also ASSERT_BEFORE_SECONDS_RELATIVE
, ASSERT_BEFORE_HEIGHT_RELATIVE
, ASSERT_MY_BIRTH_HEIGHT
, ASSERT_MY_BIRTH_SECONDS
. I think that's it
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.
Ephemeral and Before conditions are not affected by the fastforward - good catch with the birth height and birth seconds though, I've added those now
@@ -4070,7 +4091,8 @@ fn test_impossible_constraints_single_spend( | |||
} else { | |||
// we don't expect any error | |||
let (a, conds) = cond_test(test).unwrap(); | |||
|
|||
let banned_list = [ASSERT_SECONDS_RELATIVE, ASSERT_HEIGHT_RELATIVE]; |
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.
I think this list needs to be longer
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.
do we already update the solution with the new coin amount when we fast-forward?
This reverts commit 78a262c.
cf48594
to
c40da6f
Compare
No description provided.