mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
Remove CallData/OutData.
This commit is contained in:
@@ -48,7 +48,6 @@ mod tests {
|
||||
use substrate_executor::executor;
|
||||
use primitives::relay::{AccountId, Hash, BlockNumber, Header, Digest, UncheckedTransaction,
|
||||
Transaction, Function};
|
||||
use primitives::contract::CallData;
|
||||
use ed25519::Pair;
|
||||
|
||||
fn secret_for(who: &AccountId) -> Option<Pair> {
|
||||
@@ -88,7 +87,7 @@ mod tests {
|
||||
&mut overlay,
|
||||
&executor(),
|
||||
"execute_transaction",
|
||||
&CallData(vec![].join(&header).join(tx))
|
||||
&vec![].join(&header).join(tx)
|
||||
).unwrap();
|
||||
header = Header::from_slice(&mut &ret_data[..]).unwrap();
|
||||
}
|
||||
@@ -98,7 +97,7 @@ mod tests {
|
||||
&mut overlay,
|
||||
&executor(),
|
||||
"finalise_block",
|
||||
&CallData(vec![].join(&header))
|
||||
&vec![].join(&header)
|
||||
).unwrap();
|
||||
header = Header::from_slice(&mut &ret_data[..]).unwrap();
|
||||
|
||||
@@ -137,7 +136,7 @@ mod tests {
|
||||
&mut overlay,
|
||||
&executor(),
|
||||
"execute_block",
|
||||
&CallData(b1data)
|
||||
&b1data
|
||||
).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user