Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Add customizable providers for validator-set and payload (for tests) #406

Closed
acatangiu opened this issue Mar 22, 2022 · 1 comment · Fixed by paritytech/substrate#11183
Closed
Assignees

Comments

@acatangiu
Copy link
Collaborator

Coming from https://github.com/paritytech/substrate/pull/10882/files#r831269655

I'm not really fond of mixing test-specific code with the general implementation. In this case it seems that we should instead allow changing the provider of validators (so we can mock it in tests), and also a provider for the payload (so we can create random mmr roots, potentially corrupted). I'm OK with fixing in a follow-up PR.

@acatangiu
Copy link
Collaborator Author

fixed in paritytech/substrate#11183

@acatangiu acatangiu added this to BEEFY Jun 28, 2022
@acatangiu acatangiu moved this to Done ✅ in BEEFY Jun 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant