SETCODEFROM and configurable reserve balance
Source: 1acccce7d103
(repository access required). Release provenance and checksums.
Dependency licenses and notices.
Pre-MCP configurable reserves with experimental MIP-19 SETCODEFROM support, proved against a separately generated OCaml execution model.
Start with the consensus algorithm and main theorem. It explains the actual checks, reserve configuration, migration, initial conditions and conclusion without proof scripts.
- Main proof, whole-window corollary, and already-admitted suffix execution
- Initial conditions, protocol/library premises, and facts preserved after a prefix
- Consensus definitions and additional block checks
- Migration illustration and signed native regression
- Generated opcode handler, reserve enforcement, and block executor
What is proved
Under the stated initial conditions, original consensus acceptance and additional block checks, every prefix executes to a state without transaction-validation or block-processing errors. The already-admitted remaining blocks also execute from that state. Fresh consensus acceptance from the post-migration state is not claimed: regular-code senders fail that check.
A transaction may still revert or receive the intentional failed receipt after migration.
The theorem uses verify=false, a three-height window, initial sender nonces below
263, and total transaction count + authorization count + gas limits below 263.
It retains its explicit supply, CREATE-exclusion, system-code and primitive-library premises.
Staking, RPC conformance, native exception freedom and full translator correspondence are outside this result.
The five opcode gas prices are parameters; no deployment revision or price schedule is assigned.
Source browser
Contents and symbols include the SETCODE proofs, shared QEDK lemmas recompiled against SETCODE, its generated model/runtime/certificates, and required older-model dependencies. Unrelated MCP modules are omitted. Shared theorems restricted to other revisions do not prove SETCODE safety. Identifier links follow matching compiler metadata.