Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 487 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 487 Bytes

rpc-compare

A simple tool to compare the output of two RPC servers.

Usage

go run main.go --host1="http://127.0.0.1:8545" --host2="http://127.0.0.1:8546" --folder="./input"

That's it! The files in the input folder will be read, sent to two rpc servers and the output will be compared.

If you include a directory with the same name as your input folder with the suffix -expected then the output will be compared to the files in that folder rather than the other rpc server.