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

update *types.Body to be of type []types.Extrinsic #1775

Closed
noot opened this issue Sep 1, 2021 · 1 comment · Fixed by #1807
Closed

update *types.Body to be of type []types.Extrinsic #1775

noot opened this issue Sep 1, 2021 · 1 comment · Fixed by #1807

Comments

@noot
Copy link
Contributor

noot commented Sep 1, 2021

Task summary

  • currently the block body is of type []byte, and we assume what is placed in it is a SCALE encoded array of extrinsics: ie []types.Extrinsic
  • however, this can cause confusion, and the type should be what it really is, which is []types.Extrinsic

Ref: https://substrate.dev/docs/en/knowledgebase/advanced/codec

@github-actions
Copy link

github-actions bot commented Dec 3, 2021

🎉 This issue has been resolved in version 0.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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 a pull request may close this issue.

2 participants