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

Create a helper function that generates an EDS directly from block data #1830

Closed
evan-forbes opened this issue May 25, 2023 · 1 comment
Closed
Labels
good first issue Good for newcomers

Comments

@evan-forbes
Copy link
Member

          @evan-forbes Ideally there would be some sort of function inside app we could use that takes block data and returns an EDS so we don't have to have this much surface area inside node.

Originally posted by @renaynay in celestiaorg/celestia-node#2253 (comment)

@evan-forbes
Copy link
Member Author

can close since we've added

func ExtendBlock(data coretypes.Data, appVersion uint64) (*rsmt2d.ExtendedDataSquare, error) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant