squash! naive: L2 csv thread refactor filters

This commit is contained in:
drbeefsupreme 2022-03-15 15:11:32 -04:00
parent 28aa3c0e56
commit 417dc513e0
No known key found for this signature in database
GPG Key ID: B70D5683DE7F9EFC

View File

@ -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)