Siege
This testing tool surrounds go-ethereum with cannon to catch the blocks of retesteth going into go-ethereum and test cannon with them.
Usage
- Start Go-ethereum, with
test
,debug
andeth
RPC namespaces enabled. - Start Siege, pointed to the Go-ethereum RPC and to the cannon executable.
- Run retesteth, configured to point at the RPC endpoint of Siege
- Every RPC call will be forwarded to the node.
- Every
test_importRawBlock
RPC call will be parsed, forwarded to the node, and after the node returns run cannon before finally returning a response to retesteth.
License
MIT License, see LICENSE
file.