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

Define ChainInterface test suite template #40

Open
Sladuca opened this issue Apr 30, 2021 · 0 comments
Open

Define ChainInterface test suite template #40

Sladuca opened this issue Apr 30, 2021 · 0 comments
Labels
help wanted Extra attention is needed testing

Comments

@Sladuca
Copy link
Contributor

Sladuca commented Apr 30, 2021

We now have the ChainInterface type that generalizes operations performed on any chain, but we don't yet have a clear definition of how each of the methods should behave in certain circumstances.

I think it would make the most sense to write a ChainInterface "test suite template" that can function as a "working spec" for all chain implementations so that we can make their behavior as consistent and predictable as possible.

Why not just a single test suite for all implementations? Well because the initialization and send/sign/build argument types they all take differ from implementation to implementation, so some code will need to be re-written between implementations.

@Sladuca Sladuca added the help wanted Extra attention is needed label Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed testing
Projects
None yet
Development

No branches or pull requests

1 participant