From 345cc925780d8ac3db8d37987a93e9b2d67d904f Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Wed, 24 Oct 2018 19:55:16 -0400 Subject: [PATCH] makes the "removed" property optional in eth json event logs --- sys/zuse.hoon | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/zuse.hoon b/sys/zuse.hoon index a08b8e4d8e..11e32264e9 100644 --- a/sys/zuse.hoon +++ b/sys/zuse.hoon @@ -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)