Boost v3 cutover (#118)

* steel v4

* scaffold boost v3 integration

* fix build

* enforce rotation duration

* update interface

* update deps

* bump version

* boost v3

* rsut version

* deps

* silent error

* remove version flag
This commit is contained in:
Hardhat Chad
2025-03-19 12:19:44 -05:00
committed by GitHub
parent b0145c202c
commit fa1bb1c05b
9 changed files with 405 additions and 293 deletions

View File

@@ -98,13 +98,13 @@ pub fn process_reset(accounts: &[AccountInfo<'_>], _data: &[u8]) -> ProgramResul
}
// Max supply check.
if mint.supply.ge(&MAX_SUPPLY) {
if mint.supply().ge(&MAX_SUPPLY) {
return Err(OreError::MaxSupply.into());
}
// Fund the treasury token account.
let amount = MAX_SUPPLY
.saturating_sub(mint.supply)
.saturating_sub(mint.supply())
.min(total_epoch_rewards);
mint_to_signed(
mint_info,