Skip to content

Commit 5c25e73

Browse files
committed
Build and run again. after rebasing
1 parent 5268eba commit 5c25e73

File tree

5 files changed

+25
-32
lines changed

5 files changed

+25
-32
lines changed

Cargo.lock

Lines changed: 6 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

magicblock-committor-service/src/tasks/task_builder.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ impl TasksBuilder for TaskBuilderImpl {
5353
let tasks = actions
5454
.iter()
5555
.map(|el| {
56-
let task = BaseActionTask {
57-
context: Context::Standalone,
58-
action: el.clone(),
59-
};
56+
let task = BaseActionTask { action: el.clone() };
6057
let task =
6158
ArgsTask::new(ArgsTaskType::BaseAction(task));
6259
Box::new(task) as Box<dyn BaseTask>

test-integration/Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-integration/programs/schedulecommit/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,6 @@ pub fn process_instruction<'a>(
132132
accounts: &'a [AccountInfo<'a>],
133133
instruction_data: &[u8],
134134
) -> ProgramResult {
135-
msg!(
136-
"instruction_data: {} / {:?}",
137-
instruction_data.len(),
138-
instruction_data
139-
);
140-
141135
// Undelegate Instruction
142136
if instruction_data.len() >= EXTERNAL_UNDELEGATE_DISCRIMINATOR.len() {
143137
let (disc, seeds_data) =

test-integration/schedulecommit/test-scenarios/tests/02_commit_and_undelegate.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,12 @@ fn test_committing_and_undelegating_huge_order_book_account() {
262262
size: random.gen_range(1..10),
263263
}
264264
}));
265+
println!(
266+
"BookUpdate: total = {}, bids = {}, asks = {}",
267+
update.bids.len() + update.asks.len(),
268+
update.bids.len(),
269+
update.asks.len()
270+
);
265271
(rng_seed, update)
266272
};
267273
let (ctx, sig, tx_res) =

0 commit comments

Comments
 (0)