refactor: Retire RequireFullyCanonicalSig amendment (#6035)

Amendments activated for more than 2 years can be retired. This change retires the RequireFullyCanonicalSig amendment.
This commit is contained in:
Jingchen
2025-11-24 13:58:37 +00:00
committed by GitHub
parent a791c03dc1
commit 21c02232a5
14 changed files with 51 additions and 146 deletions

View File

@@ -1114,10 +1114,10 @@ class GetAmendments_test : public beast::unit_test::suite
break;
}
// There should be at least 5 amendments. Don't do exact comparison
// There should be at least 3 amendments. Don't do exact comparison
// to avoid maintenance as more amendments are added in the future.
BEAST_EXPECT(i == 254);
BEAST_EXPECT(majorities.size() >= 5);
BEAST_EXPECT(majorities.size() >= 3);
// None of the amendments should be enabled yet.
auto enableds = getEnabledAmendments(*env.closed());
@@ -1135,7 +1135,7 @@ class GetAmendments_test : public beast::unit_test::suite
break;
}
BEAST_EXPECT(i == 255);
BEAST_EXPECT(enableds.size() >= 5);
BEAST_EXPECT(enableds.size() >= 3);
}
void