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

Chore/port signer v1 tests #4903

Merged
1 commit merged into from
Jun 28, 2024
Merged

Chore/port signer v1 tests #4903

1 commit merged into from
Jun 28, 2024

Conversation

jferrant
Copy link
Collaborator

Partially closes #4802
I only added the mine 2 nakamoto reward cycles test.

The block proposal test was essentially equivalent to miner_gather_signatures test.

The signer reboot test will not work as we do not read stackerdb for missed block proposals on reboot for v0. This does beg the question, should we? Or should signers just wait for a new block proposal from the miners? Should miners try resending their events? I lean toward just waiting and making sure that this timeout rollover works (I believe it is currently broken based on testnet)

@jferrant jferrant changed the base branch from master to develop June 24, 2024 12:54
@jferrant jferrant requested review from a team as code owners June 24, 2024 12:54
@kantai
Copy link
Member

kantai commented Jun 25, 2024

Or should signers just wait for a new block proposal from the miners? Should miners try resending their events? I lean toward just waiting and making sure that this timeout rollover works (I believe it is currently broken based on testnet)

I agree with you-- I think just waiting for the next proposal makes the most sense.

Copy link
Member

@kantai kantai left a comment

Choose a reason for hiding this comment

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

This LGTM, but the new test is failing in CI (and for me locally when I tried it).

Copy link
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

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

This LGTM, and the test is passing for me locally.

@obycode obycode mentioned this pull request Jun 26, 2024
@jferrant
Copy link
Collaborator Author

This LGTM, and the test is passing for me locally.

Interesting. it passes locally for me as well, but I am wary to merge this as I think this was a flakey test in v1 as well. Gonna look into further to see if I can replicate the CI issue/Aaron's issue.

@github-merge-queue github-merge-queue bot closed this pull request by merging all changes into develop in 19f753b Jun 28, 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.

Nakamoto Signer[3.0] - Port v1 signer tests to v0 once end to end miner and signer communication is complete
3 participants