Skip to content
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

improve STRICT_ARGS_COUNT flag #435

Merged
merged 1 commit into from
Mar 13, 2024
Merged

improve STRICT_ARGS_COUNT flag #435

merged 1 commit into from
Mar 13, 2024

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Mar 13, 2024

the STRICT_ARGS_COUNT flag is used in mempool mode to restrict the number of arguments passed to conditions to just the one we support. i.e. no unknown arguments.

There are some complicated rules around AGG_SIG_ME and AGG_SIG_UNSAFE, since they never supported any additional parameters, not even in consensus mode. In the hard fork, this restriction will be lifted, and these conditions will behave like all other conditions. However, we still want to restrict the number of parameters used in mempool mode (just like other conditions)

@arvidn arvidn marked this pull request as ready for review March 13, 2024 12:09
Copy link

Pull Request Test Coverage Report for Build 8264144526

Details

  • 21 of 21 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.006%) to 84.995%

Totals Coverage Status
Change from base Build 8263214725: 0.006%
Covered Lines: 11085
Relevant Lines: 13042

💛 - Coveralls

@arvidn arvidn merged commit d2ca042 into main Mar 13, 2024
64 checks passed
@arvidn arvidn deleted the strict-args branch March 13, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants