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

Expose a way to build subxt::Block for unit test #1883

Open
pgherveou opened this issue Dec 11, 2024 · 0 comments
Open

Expose a way to build subxt::Block for unit test #1883

pgherveou opened this issue Dec 11, 2024 · 0 comments

Comments

@pgherveou
Copy link
Contributor

Right now the crate does not expose a way to construct a Block https://docs.rs/subxt/latest/subxt/blocks/struct.Block.html
You need to fetch it from a source chain, which is not ideal for simple unit tests.

It would be great to expose a constructor for test target.

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

No branches or pull requests

1 participant