Bump protocol version in develop to 4.0.0
The protocol version needs to be bumped for the next hard fork. Since the planned changes will affect the actual transaction logic, the transaction component of the version number (the major version, essentially) should be the correct component to increase. This matches the version number the mesa archive upgrade script thinks will be Mesa's version:
https://github.com/MinaProtocol/mina/blob/0bd4b30ad889f41665c05e335beae301178ef3e5/src/app/archive/upgrade_to_mesa.sql#L19
I don't think this is strictly necessary to merge right now, because we haven't merged any of the MIPs that require a protocol version bump yet. On the other hand, it is something that is easy to revert. We could also consider merging this into the mesa branch being developed in https://github.com/MinaProtocol/mina/pull/18036.
Closes: https://github.com/MinaProtocol/mina/issues/17817
sure, but let's wait until OCV, I'll merge them into mesa-testing for now.
Note:
So this would necessarily change the block structure, for example snarks depends on it. We need to bump blocks structure as a result.
Fortunately, app state 32 PR also bumped block structure, so we don't need to repeat the work here. This is a reminder that this PR alone merged wouldn't work.