eth-monitor

Monitor and cache ethereum transactions with match filters
git clone git://git.defalsify.org/eth-monitor.git
Log | Files | Refs | README | LICENSE

commit 559874017394b7f75bd2fe15001d8083a2f09d49
parent c6b3ef6707053d4451b26444788c31d35022f559
Author: lash <dev@holbrook.no>
Date:   Thu, 23 Feb 2023 07:16:30 +0000

Correct tx index in default log sync cli output

Diffstat:
MCHANGELOG | 2++
Meth_monitor/filters/out.py | 2+-
Msetup.cfg | 6+++---
3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,3 +1,5 @@ +- 0.7.2 + * Fix tx index in default output for sync command - 0.7.1 * Change license to AGPL3 and copyright waived to public domain * Add missing log module in cli lib diff --git a/eth_monitor/filters/out.py b/eth_monitor/filters/out.py @@ -74,7 +74,7 @@ class OutFilter(RuledFilter): datetime.datetime.fromtimestamp(block.timestamp), block.number, strip_0x(block.hash), - tx.index, + tx.index + 1, tx_count, strip_0x(tx.hash), tx.status.name, diff --git a/setup.cfg b/setup.cfg @@ -1,10 +1,10 @@ [metadata] name = eth-monitor -version = 0.7.1 +version = 0.7.2 description = Monitor and cache transactions using match filters author = Louis Holbrook author_email = dev@holbrook.no -url = https://git.defalsify.org/eth-monitor.git +url = https://git.defalsify.org/eth-monitor keywords = dlt blockchain @@ -20,7 +20,7 @@ classifiers = License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+) Topic :: Internet # Topic :: Blockchain :: EVM -license = OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+) +license = AGPLv3+ licence_files = LICENSE