Skip to content

test: actually use masternode with basic bls pubkey in mnauth test#6481

Merged
PastaPastaPasta merged 3 commits into
dashpay:developfrom
UdjinM6:fix_mnauth_test
Dec 14, 2024
Merged

test: actually use masternode with basic bls pubkey in mnauth test#6481
PastaPastaPasta merged 3 commits into
dashpay:developfrom
UdjinM6:fix_mnauth_test

Conversation

@UdjinM6
Copy link
Copy Markdown

@UdjinM6 UdjinM6 commented Dec 11, 2024

Issue being fixed or feature implemented

rpc_manuth is failing in ~50% cases locally because we still use legacy pubkeys (not in 100% cases because sometimes they look like basic ones). In CI it fails too but we retry failed tests a few times so it's less noticeable. Example of "unlucky" tests: https://gitlab.com/dashpay/dash/-/jobs/8613271300#L1867.

#6467 follow-up

What was done?

Add another masternode after v19 activaition to actually use basic bls pubkey

How Has This Been Tested?

run tests

Breaking Changes

n/a

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 22.1 milestone Dec 11, 2024
Copy link
Copy Markdown
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

makes sense, and change looks right.

utACK 3db20e3


def run_test(self):
self.activate_v19(expected_activation_height=900)
self.dynamically_add_masternode()
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.

I believe we don't need 2 of them:

-self.set_dash_test_params(2, 1)
+self.set_dash_test_params(1, 0)

Copy link
Copy Markdown
Collaborator

@knst knst left a comment

Choose a reason for hiding this comment

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

utACK ec00c37

Copy link
Copy Markdown
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK ec00c37

@PastaPastaPasta PastaPastaPasta merged commit f656c51 into dashpay:develop Dec 14, 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