Commit 8fc0fe4
committed
fix(blockchain): report a bad proposer signature as an invalid block proof
The proposer signature moved out of the attestation aggregate but stayed
inside `BlockProof`, so a failure there is still the spec's
INVALID_BLOCK_PROOF rejection, not INVALID_SIGNATURE. Reusing the
attestation-signature variants classified it as the latter, which the
`test_corrupt_proof_rejected` and
`test_proof_reused_under_different_message_rejected` fixtures reject now
that the runner asserts the reason (#547).
Separate variants keep the gossip attestation path on
INVALID_SIGNATURE.1 parent d598499 commit 8fc0fe4
2 files changed
Lines changed: 21 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 | | |
90 | 95 | | |
91 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
1016 | 1027 | | |
1017 | 1028 | | |
1018 | 1029 | | |
| |||
1193 | 1204 | | |
1194 | 1205 | | |
1195 | 1206 | | |
1196 | | - | |
| 1207 | + | |
1197 | 1208 | | |
1198 | | - | |
| 1209 | + | |
1199 | 1210 | | |
1200 | 1211 | | |
1201 | 1212 | | |
| |||
0 commit comments