Commit 062b006
committed
Fix precompiles build with solana-rent 3.x
Use DEFAULT_LAMPORTS_PER_BYTE_YEAR when initializing the rent sysvar for the precompiles feature. litesvm declares solana-rent = "3.0", and DEFAULT_LAMPORTS_PER_BYTE_YEAR exists across the supported 3.x range, while DEFAULT_LAMPORTS_PER_BYTE is not available in solana-rent 3.0.0.1 parent ab5f905 commit 062b006
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
| 558 | + | |
| 559 | + | |
559 | 560 | | |
560 | 561 | | |
561 | 562 | | |
| |||
0 commit comments