mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
makes the "removed" property optional in eth json event logs
This commit is contained in:
parent
eaa65a9e75
commit
345cc92578
@ -7468,13 +7468,13 @@
|
||||
:~ =- ['logIndex'^(cu - (mu so))]
|
||||
|= li=(unit @t)
|
||||
?~ li ~
|
||||
=- `((ot -) log) ::TODO not sure if elegant or hacky.
|
||||
:~ 'logIndex'^(cu hex-to-num so)
|
||||
'transactionIndex'^(cu hex-to-num so)
|
||||
'transactionHash'^(cu hex-to-num so)
|
||||
'blockNumber'^(cu hex-to-num so)
|
||||
'blockHash'^(cu hex-to-num so)
|
||||
'removed'^bo
|
||||
=- `((ou -) log) ::TODO not sure if elegant or hacky.
|
||||
:~ 'logIndex'^(un (cu hex-to-num so))
|
||||
'transactionIndex'^(un (cu hex-to-num so))
|
||||
'transactionHash'^(un (cu hex-to-num so))
|
||||
'blockNumber'^(un (cu hex-to-num so))
|
||||
'blockHash'^(un (cu hex-to-num so))
|
||||
'removed'^(uf | bo)
|
||||
==
|
||||
::
|
||||
address+(cu hex-to-num so)
|
||||
|
Loading…
Reference in New Issue
Block a user