From 417dc513e04e62ce7147e34b43c3931dd354917b Mon Sep 17 00:00:00 2001 From: drbeefsupreme Date: Tue, 15 Mar 2022 15:11:32 -0400 Subject: [PATCH] squash! naive: L2 csv thread refactor filters --- pkg/arvo/ted/naive-csv.hoon | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/arvo/ted/naive-csv.hoon b/pkg/arvo/ted/naive-csv.hoon index 7e064fdb4b..d133859230 100644 --- a/pkg/arvo/ted/naive-csv.hoon +++ b/pkg/arvo/ted/naive-csv.hoon @@ -145,11 +145,11 @@ :: (pure:m !>(blocks)) :: ++ filter-l2 - |= [logs=events naive-contract=@ux] ^- events - %+ skim logs - |= log=event-log:rpc:ethereum ^- ? - ?~ mined.log %.n - =(naive-contract address.log) + |= [logs=events naive-contract=@ux] ^- events + %+ skim logs + |= log=event-log:rpc:ethereum ^- ? + ?~ mined.log %.n + =(naive-contract address.log) :: ++ get-block-numbers |= logs=events ^- (list @ud)