VerifyCommitLight / VerifyCommitLightTrusting accept commits with invalid signatures
VerifyCommitLight / VerifyCommitLightTrusting accept commits with invalid signatures: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). While reviewing how a light client behaves against a malicious peer, I tried to feed it a commit where the voting power adds up…
The task
While reviewing how a light client behaves against a malicious peer, I tried to feed it a commit where the voting power adds up correctly (>2/3 of the validator set) but the signatures themselves are garbage — I just replaced each `Signature` byte slice with random bytes of the right length, leaving everything else…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.