bump max oracles to 13
This commit is contained in:
parent
7402e0f15d
commit
95e03e682a
|
@ -6,7 +6,11 @@ use crate::state::AggregatorConfig;
|
||||||
use borsh::{BorshDeserialize, BorshSchema, BorshSerialize};
|
use borsh::{BorshDeserialize, BorshSchema, BorshSerialize};
|
||||||
|
|
||||||
/// Maximum number of oracles
|
/// Maximum number of oracles
|
||||||
pub const MAX_ORACLES: usize = 12;
|
///
|
||||||
|
/// change to 14, and it fails with:
|
||||||
|
/// Stack offset of -4120 exceeded max offset of -4096 by 24 bytes, please minimize large stack variables
|
||||||
|
pub const MAX_ORACLES: usize = 13;
|
||||||
|
|
||||||
|
|
||||||
/// The amount paid of TOKEN paid to each oracle per submission, in lamports (10e-10 SOL)
|
/// The amount paid of TOKEN paid to each oracle per submission, in lamports (10e-10 SOL)
|
||||||
pub const PAYMENT_AMOUNT: u64 = 10;
|
pub const PAYMENT_AMOUNT: u64 = 10;
|
||||||
|
|
Loading…
Reference in New Issue