Skip to content

Commit

Permalink
remove not working tests and fix byte input
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Nov 15, 2023
1 parent e4ed74b commit d31ce76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 47 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ jobs:
chain_tests,
dispatch_errors_tests,
frame_system_tests,
keystore_tests,
pallet_balances_tests,
pallet_transaction_payment_tests,
state_tests,
Expand Down
6 changes: 3 additions & 3 deletions src/api/rpc_api/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ mod tests {
let xt2: Bytes = UncheckedExtrinsic::new_unsigned(call2).encode().into();
let xt3: Bytes = UncheckedExtrinsic::new_unsigned(call3).encode().into();

let xt_hash1 = <DefaultRuntimeConfig as Config>::Hasher::hash(&xt1);
let xt_hash2 = <DefaultRuntimeConfig as Config>::Hasher::hash(&xt2);
let xt_hash3 = <DefaultRuntimeConfig as Config>::Hasher::hash(&xt3);
let xt_hash1 = <DefaultRuntimeConfig as Config>::Hasher::hash(&xt1.0);
let xt_hash2 = <DefaultRuntimeConfig as Config>::Hasher::hash(&xt2.0);
let xt_hash3 = <DefaultRuntimeConfig as Config>::Hasher::hash(&xt3.0);

let block = Block { header: default_header(), extrinsics: vec![xt1, xt2, xt3] };
let signed_block = SignedBlock { block, justifications: None };
Expand Down
43 changes: 0 additions & 43 deletions testing/examples/keystore_tests.rs

This file was deleted.

0 comments on commit d31ce76

Please sign in to comment.