-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Solana] More tests #1263
[Solana] More tests #1263
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Ignored Deployments
|
@@ -1304,7 +1310,7 @@ mod test { | |||
for i in 0..10000 { | |||
all_feeds.push(create_dummy_price_feed_message(i)); | |||
} | |||
let msg = create_accumulator_message(&all_feeds, &all_feeds[100..110], false); | |||
let msg = create_accumulator_message(&all_feeds, &all_feeds[100..110], false, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The arguments to this function changed
#[account(constraint = | ||
payer.key() == config.target_governance_authority.ok_or(error!(ReceiverError::NonexistentGovernanceAuthorityTransferRequest))? @ | ||
ReceiverError::TargetGovernanceAuthorityMismatch | ||
)] | ||
pub payer: Signer<'info>, | ||
#[account(seeds = [CONFIG_SEED.as_ref()], bump)] | ||
#[account(mut, seeds = [CONFIG_SEED.as_ref()], bump)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol I had forgotten this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
After this PR we are covering all the possible ReceiverErrors in the tests