Support test-runner to submit unsigned_extrinsic (#9512)

* support to submit unsigned_extrinsic

* format

* update comment
This commit is contained in:
zjb0807
2021-08-08 02:52:03 +08:00
committed by GitHub
parent f0dbe25e56
commit e251d1cedb
2 changed files with 29 additions and 5 deletions
@@ -107,7 +107,10 @@ mod tests {
// submit extrinsics
let alice = MultiSigner::from(Alice.public()).into_account();
let _hash = node
.submit_extrinsic(frame_system::Call::remark((b"hello world").to_vec()), alice)
.submit_extrinsic(
frame_system::Call::remark((b"hello world").to_vec()),
Some(alice),
)
.await
.unwrap();