mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 03:31:10 +00:00
Take and return the result in bytes (#842)
This commit is contained in:
committed by
Gav Wood
parent
6d8bea5137
commit
f4eb08dae5
@@ -43,7 +43,7 @@ fn should_call_contract() {
|
||||
let client = State::new(client, core.executor());
|
||||
|
||||
assert_matches!(
|
||||
client.call("balanceOf".into(), vec![1,2,3], Some(genesis_hash).into()),
|
||||
client.call("balanceOf".into(), Bytes(vec![1,2,3]), Some(genesis_hash).into()),
|
||||
Err(Error(ErrorKind::Client(client::error::ErrorKind::Execution(_)), _))
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user