Commit 68461ee
authored
fix: remove KWH deposit workaround and deprecate currency-only helpers (#2119)
The financial-accounting posting layer now supports InstrumentAmount for
all asset types. Remove the seed script workaround that silently skipped
KWH deposits due to 'invalid currency' errors.
Mark ParseCurrency and CurrencyToInstrument as deprecated in favour of
InstrumentResolver.Resolve() which supports multi-asset instruments.
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>1 parent 3446aee commit 68461ee
3 files changed
Lines changed: 8 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | 391 | | |
395 | 392 | | |
396 | 393 | | |
397 | 394 | | |
398 | 395 | | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
| 396 | + | |
410 | 397 | | |
411 | 398 | | |
412 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
0 commit comments