From c386314f76b1f1fd0ea45cbdcca795c6eae294a0 Mon Sep 17 00:00:00 2001 From: Fahim Ahmed Date: Fri, 10 Jan 2025 12:42:46 -0500 Subject: [PATCH] update commands for running Merger (#42) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 📝 Summary Updated the docs to show how to run `merger`. ## ⛱ Motivation and Context The existing docs did not show the commands, so needed to spend time to figure it out. Hope this helps other people too! --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65420ee..8c42c43 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,11 @@ go run cmd/collect/main.go -out ./out -nodes ws://server1.com:8546,ws://server2. - Deduplicates transactions, sorts them by timestamp ```bash -go run cmd/merge/main.go -h +# print help +go run cmd/merge/* -h + +# deduplicate transactions +go run cmd/merge/* transactions --check-node ws://server1.com ./out/2023-08-07/transactions/txs_2023-08-07-10-00_collector1.csv ```