Replies: 1 comment
-
as the parameters have default value, you can mock a block with partial parameters and get its hash, but it may not legal block and can not reach a consensus on chain |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Block hash is build even if there are not all parameters passed
ex.
will return "9b1e493a6b754839aa2aece98089863cc6e91fb0a8968f1d381a4b6fdd175a73"
and
will return "80737c3c37ac6e2eb63ecaf445d5d729a5116a48dcd82b47a0031a2252f0af48"
shouldn't be ["type", ... , "representative"] required as parameters for building a block hash?
Beta Was this translation helpful? Give feedback.
All reactions