https://github.com/protolambda/siege
siege: surround an ethereum node with cannon for fault-proof testing
https://github.com/protolambda/siege
Last synced: 14 days ago
JSON representation
siege: surround an ethereum node with cannon for fault-proof testing
- Host: GitHub
- URL: https://github.com/protolambda/siege
- Owner: protolambda
- License: mit
- Created: 2022-02-09T21:07:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T20:39:17.000Z (over 3 years ago)
- Last Synced: 2025-05-07T20:39:48.126Z (14 days ago)
- Language: Go
- Size: 29.3 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Siege
This testing tool surrounds [go-ethereum](https://github.com/ethereum/go-ethereum) with [cannon](https://github.com/ethereum-optimism/cannon)
to catch the blocks of [retesteth](https://github.com/ethereum/retesteth) going into go-ethereum and test cannon with them.## Usage
1. Start Go-ethereum, with `test`, `debug` and `eth` RPC namespaces enabled.
2. Start Siege, pointed to the Go-ethereum RPC and to the cannon executable.
3. Run retesteth, configured to point at the RPC endpoint of Siege
4. Every RPC call will be forwarded to the node.
5. 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`](./LICENSE) file.