Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay committed Nov 9, 2022
1 parent 15fbb13 commit abd2e24
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions effects/extrinsic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,8 @@ export function extrinsicEvents<
.access("block")
.access("extrinsics");
const idx = Z
.ls(
extrinsics,
extrinsic.extrinsicDecoded as Extrinsic["extrinsicDecoded"],
)
// TODO: devise zones-level solution to the generic access widening
.ls(extrinsics, extrinsic.extrinsicDecoded as Extrinsic["extrinsicDecoded"])
.next(([extrinsics, extrinsicDecoded]) => {
return extrinsics.findIndex((v) => equal(v, extrinsicDecoded));
}, k1_);
Expand Down

0 comments on commit abd2e24

Please sign in to comment.