Open colin-axner opened 5 years ago
For PoA this should work fine, for PoS we still want accountability of all validators. To do this, I think we can form blocks in endBlocker, then add verfication in submit block that checks that app_hash has the data hash reported. Submit block would also verify the signature over app_hash
Summary
We should form plasma blocks in the app state so that blocks submitted to the rootchain do not include msgs like "include-deposit", should still be consistent with TM simple merkle tree with prefixes for leaf nodes and inner nodes