Repository navigation
Commit 4c4d935
Share the prepare tipcut when building a reproposal (CON-468) (#4418)
## Summary
- A reproposal keeps the prepare-certified tipcut and only moves the
view forward, so `TimeoutQC.reproposal` no longer reads
`Proposal.laneRanges` or copies them into a new map.
- `Proposal.atView` returns that same tipcut at the next view, sharing
the lane-range map.
## Test plan
- [x] `go test ./sei-tendermint/autobahn/types/ -run
'TestProposalAtView|Reproposal'`
- [ ] Confirm a reproposal still verifies against the prepare-certified
tipcut (`TestProposalVerifyValidReproposal`)
Made with [Cursor](https://cursor.com)
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 33a7e56 commit 4c4d935
3 files changed
Lines changed: 29 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
215 | 225 | | |
216 | 226 | | |
217 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
678 | 696 | | |
679 | 697 | | |
680 | 698 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 218 | + | |
225 | 219 | | |
226 | 220 | | |
227 | 221 | | |
| |||
0 commit comments