-
Notifications
You must be signed in to change notification settings - Fork 307
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
pass the entire block data when making a block #754
pass the entire block data when making a block #754
Conversation
state.Validators.GetProposer().Address, | ||
) | ||
return block | ||
} | ||
|
||
func MakeData(txs []types.Tx, evd []types.Evidence, msgs []types.Message) types.Data { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't this duplicate of types.test_util.go
? Or you can't access that one in here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just didn't want to export it from the types package, as it is only a test util function. You're correct tho, keeping only one copy in types testutil would eliminate the need for one here, and it is an option.
* pass the entire block data when making a block * linter
* pass the entire block data when making a block * linter
Description
this PR passes the entire block data instead of the txs, evidence, and messages as distinct objects. This then passes along crucial information such as the square size and the data hash.
blocking celestiaorg/celestia-app#419
Closes #753