Commit ce232ed
committed
fix: correct swapped min_pool_cost / coins_per_utxo_size
The paramProposalEncoder supplied paramProposalCoinsPerUtxoSize at
the slot reserved for min_pool_cost and paramProposalMinPoolCost at
the slot reserved for coins_per_utxo_size, so every row inserted
into param_proposal had the two column values swapped.
Swap the two lines in paramProposalEncoder so the encoder order
matches the ParamProposal record definition and paramProposalDecoder.
Existing rows written by affected versions remain swapped on disk
and need a resync (or one-off column-swap migration) to correct.1 parent 22a5818 commit ce232ed
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
| 550 | + | |
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
562 | | - | |
| 562 | + | |
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| |||
0 commit comments