Running Core's real consensus code inside a zkVM

I agree with you that full validation in Bitcoin is the correct approach, but Rootstock has something that Bitcoin doesn’t have; commitment to the state at each block, not just transactions. If bitcoin headers (or even coinbase transaction) did commit to the Utreexo, with a Soft Fork (nodes reject invalid utreexo root) or even a Velvet Fork (nodes don’t validate, but miners just vote on the utreexo root at a given block in the past, say every start of difficulty epoch) then I could trust the hash rate to be a vote on the state at a given checkpoint in the past, then validate full blocks from there on. But Bitcoin does neither, so checkpointing is impossible, you can only do SPV + fraud proofs like Floresta. Rootstock fortunately forces miners to vote on the state at each block, so the only way miners can fake a state is with a 51% attack. Rootstock is also more liberal with hardforks, which is good in that case where the purpose is a mix between conservatism and innovation, so you can’t really make an immutable ZK program, when the consensus itself is subject to hashrate voting. In fact the PowPeg itself doesn’t validate the RVM, and only validates the hash rate in the HSM. All in all I think that is a very acceptable tradeoff, as long as users have Bitcoin to exit to if they don’t like what miners are voting on.

1 Like