Skip to content

Commit 996e0d0

Browse files
committed
chore: clean up comments
1 parent 063bf58 commit 996e0d0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

runtime/src/bank/pyth_accumulator_tests.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -736,8 +736,6 @@ fn test_accumulator_v2(generate_buffers: [bool; 4]) {
736736
bank.store_account(&price_feed_key, &price_feed_account);
737737

738738
if generate_buffers {
739-
// Insert into message buffer in reverse order to test that accumulator
740-
// sorts first.
741739
let message_buffer_bytes = create_message_buffer_bytes(messages.clone());
742740

743741
let mut seed = vec![1; 32];
@@ -760,18 +758,6 @@ fn test_accumulator_v2(generate_buffers: [bool; 4]) {
760758
(price_feed_key, messages)
761759
};
762760

763-
// TODO: New test functionality here.
764-
// 1. Create Price Feed Accounts owned by ORACLE_PUBKEY
765-
// 2. Populate Price Feed Accounts
766-
// 3. Call update_v2()
767-
// - Cases:
768-
// - No V1 Messages, Only Price Accounts with no V2
769-
// - No V1 Messages, Some Price Accounts with no V2
770-
// - Some V1 Messages, No Price Accounts with no V2
771-
// - Some V1 Messages, Some Price Accounts with no V2
772-
// - Simulate PriceUpdate that WOULD trigger a real V1 aggregate before End of Slot
773-
// - Simulate PriceUpdate that doesn't trigger a real V1 aggregate, only V2.
774-
775761
assert!(bank
776762
.feature_set
777763
.is_active(&feature_set::enable_accumulator_sysvar::id()));

0 commit comments

Comments
 (0)