Skip to content

test: extend and refactor DIP0020 activation test#6298

Merged
PastaPastaPasta merged 3 commits into
dashpay:developfrom
UdjinM6:ref_ext_dip0020_test
Oct 3, 2024
Merged

test: extend and refactor DIP0020 activation test#6298
PastaPastaPasta merged 3 commits into
dashpay:developfrom
UdjinM6:ref_ext_dip0020_test

Conversation

@UdjinM6

@UdjinM6 UdjinM6 commented Oct 1, 2024

Copy link
Copy Markdown

Issue being fixed or feature implemented

23590 backport in #6256 results in node crashes (for dashd compiled with --enable-debug) when we try to spend coins locked via disabled opcodes in feature_dip0020_activation.py. Also, there is only rpc part and no tests for relaying such txes via p2p.

What was done?

How Has This Been Tested?

run test on develop and on top of #6256 + #6299 with and without --enable-debug

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@UdjinM6 UdjinM6 added this to the 21.2 milestone Oct 1, 2024
@knst

knst commented Oct 1, 2024

Copy link
Copy Markdown
Collaborator

It adds test, but doesn't fix crash, right?

@UdjinM6
UdjinM6 marked this pull request as draft October 1, 2024 16:07
@UdjinM6

UdjinM6 commented Oct 1, 2024

Copy link
Copy Markdown
Author

Indeed, a fix for the crash would be smth like #6299

@PastaPastaPasta PastaPastaPasta left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK c91ba8a

@knst knst left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK c91ba8a

@PastaPastaPasta
PastaPastaPasta merged commit 42c613c into dashpay:develop Oct 3, 2024
@UdjinM6 UdjinM6 modified the milestones: 21.2, 22 Oct 29, 2024
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.

3 participants