Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion program/rust/src/accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub use {

// PDA seeds for accounts.
/// There is a single permissions account under `PERMISSIONS_SEED` that stores which keys
/// are authorized to perform certain adminsitrative actions.
/// are authorized to perform certain administrative actions.
pub const PERMISSIONS_SEED: &str = "permissions";

#[cfg(feature = "pythnet")]
Expand Down
2 changes: 1 addition & 1 deletion program/rust/src/tests/test_init_mapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ fn test_init_mapping() {
let mut permissions_setup = AccountSetup::new_permission(&program_id);
let permissions_account = permissions_setup.as_account_info();

// Permissions account is unitialized
// Permissions account is uninitialized
assert_eq!(
process_instruction(
&program_id,
Expand Down
4 changes: 2 additions & 2 deletions program/rust/src/tests/test_upd_price.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fn test_upd_price() {
assert_eq!(price_data.agg_.status_, PC_STATUS_TRADING);
}

// next price doesnt change but slot does
// next price doesn't change but slot does
populate_instruction(&mut instruction_data, 81, 2, 3);
update_clock_slot(&mut clock_account, 4);
assert!(process_instruction(
Expand All @@ -163,7 +163,7 @@ fn test_upd_price() {
assert_eq!(price_data.agg_.status_, PC_STATUS_TRADING);
}

// next price doesnt change and neither does aggregate but slot does
// next price doesn't change and neither does aggregate but slot does
populate_instruction(&mut instruction_data, 81, 2, 4);
update_clock_slot(&mut clock_account, 5);
assert!(process_instruction(
Expand Down
4 changes: 2 additions & 2 deletions program/rust/src/tests/test_upd_price_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ fn test_upd_price_v2() -> Result<(), Box<dyn std::error::Error>> {
assert_eq!(price_data.price_cumulative.num_down_slots, 0);
}

// next price doesnt change but slot does
// next price doesn't change but slot does
populate_instruction(&mut instruction_data, 81, 2, 3);
update_clock_slot(&mut clock_account, 4);
process_instruction(
Expand Down Expand Up @@ -180,7 +180,7 @@ fn test_upd_price_v2() -> Result<(), Box<dyn std::error::Error>> {
assert_eq!(price_data.price_cumulative.num_down_slots, 0);
}

// next price doesnt change and neither does aggregate but slot does
// next price doesn't change and neither does aggregate but slot does
populate_instruction(&mut instruction_data, 81, 2, 4);
update_clock_slot(&mut clock_account, 5);
process_instruction(
Expand Down