Skip to content

Commit 2ca3687

Browse files
committed
fix: post rebase test fixes
1 parent 7b8cf7c commit 2ca3687

File tree

1 file changed

+5
-5
lines changed
  • programs/magicblock/src/clone_account

1 file changed

+5
-5
lines changed

programs/magicblock/src/clone_account/tests.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn setup_with_account(
3535
account.set_remote_slot(remote_slot);
3636
let mut map = HashMap::new();
3737
map.insert(pubkey, account);
38-
ensure_started_validator(&mut map);
38+
ensure_started_validator(&mut map, None);
3939
map
4040
}
4141

@@ -156,7 +156,7 @@ fn test_clone_account_rejects_delegated_account() {
156156
account.set_delegated(true);
157157
let mut accounts = HashMap::new();
158158
accounts.insert(pubkey, account);
159-
ensure_started_validator(&mut accounts);
159+
ensure_started_validator(&mut accounts, None);
160160

161161
let ix = InstructionUtils::clone_account_instruction(
162162
pubkey,
@@ -180,7 +180,7 @@ fn test_clone_account_rejects_ephemeral_account() {
180180
account.set_ephemeral(true);
181181
let mut accounts = HashMap::new();
182182
accounts.insert(pubkey, account);
183-
ensure_started_validator(&mut accounts);
183+
ensure_started_validator(&mut accounts, None);
184184

185185
let ix = InstructionUtils::clone_account_instruction(
186186
pubkey,
@@ -257,7 +257,7 @@ fn test_clone_continue_writes_at_offset() {
257257
account.set_remote_slot(50);
258258
let mut accounts = HashMap::new();
259259
accounts.insert(pubkey, account);
260-
ensure_started_validator(&mut accounts);
260+
ensure_started_validator(&mut accounts, None);
261261

262262
add_pending_clone(pubkey);
263263

@@ -288,7 +288,7 @@ fn test_clone_continue_completes_clone() {
288288
account.set_remote_slot(50);
289289
let mut accounts = HashMap::new();
290290
accounts.insert(pubkey, account);
291-
ensure_started_validator(&mut accounts);
291+
ensure_started_validator(&mut accounts, None);
292292

293293
add_pending_clone(pubkey);
294294

0 commit comments

Comments
 (0)