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

add btc staking relevant replay test #343

Merged

Conversation

KonradStaniec
Copy link
Collaborator

Add determinism test for whole staking activation flow pending/verified/active

Next steps:

  • finalizing epochs
  • finality provider voting and randomness registration

@KonradStaniec KonradStaniec added the A:no-changelog changes that do not require changelog update label Dec 13, 2024
@KonradStaniec KonradStaniec requested a review from a team as a code owner December 13, 2024 06:06
@KonradStaniec KonradStaniec requested review from Lazar955, RafilxTenfen and gitferry and removed request for a team December 13, 2024 06:06
Copy link
Member

@gitferry gitferry left a comment

Choose a reason for hiding this comment

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

Brilliant!

"github.com/stretchr/testify/require"
)

func FuzzCreatingAndActivatingDelegations(f *testing.F) {
Copy link
Member

@gitferry gitferry Dec 13, 2024

Choose a reason for hiding this comment

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

Seems we can extend it to supporting post-approval in a different pr?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yup, we can :) though first I want to work towards having votes from finality provider so we have full flow, and afterwards focus on adding different scenarios (pre-approval, post-approval, jailing, no-timestamped randomnes, slashing, unbonding...)

@KonradStaniec KonradStaniec merged commit 41a9aed into main Dec 13, 2024
19 checks passed
@KonradStaniec KonradStaniec deleted the konradstaniec/add-btc-staking-relevant-replay-tests branch December 13, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:no-changelog changes that do not require changelog update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants