Skip to content

Commit

Permalink
Add more spawn cases (nervosnetwork#8)
Browse files Browse the repository at this point in the history
* Add more test cases

* Add more test cases
  • Loading branch information
XuJiandong authored Mar 6, 2024
1 parent 0041ec1 commit e4d4aa4
Show file tree
Hide file tree
Showing 28 changed files with 409 additions and 617 deletions.
4 changes: 2 additions & 2 deletions script/src/v2_syscalls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ impl<DL: CellDataProvider + HeaderProvider + ExtensionProvider + Send + Sync + C
}
}
}

// TODO: charge spawn base cycles
// TODO: update spawn base cycles
machine.add_cycles_no_checking(100_000)?;
self.message_box.lock().expect("lock").push(Message::Spawn(
self.id,
SpawnArgs {
Expand Down
Loading

0 comments on commit e4d4aa4

Please sign in to comment.