sothis
Sothis is a tool for replaying historical state on a local testnet node. Sothis uses anvil specific RPC calls and does not work on regular networks
Sothis currently has 2 modes. Live and historic.
Historic mode is the default way to use sothis. Its used to replay state to a local node forked to a deep historical block.
--source_rpc
: RPC of the node we are getting blocks from.--replay_rpc
: RPC of the node were sending blocks to.-m historic
(optinal): Used to denote we are replaying in live mode.--terminal_block
: Final block sothis will replay.To stop replaying, terminate the process via Ctrl+C or however else you preffer.
sothis --source_rpc {ARCHIVE_NODE} --replay_rpc http://localhost:8545 -m historic --terminal_block 9000022
Live mode is designed to be used with a forked local node, with its tip near the head block. It replays the latest blocks as they come to your forked node.
--source_rpc
: RPC of the node we are getting blocks from.--replay_rpc
: RPC of the node were sending blocks to.-m live
: Used to denote we are replaying in live mode.To stop replaying, terminate the process via Ctrl+C or however else you preffer.
sothis --source_rpc {ARCHIVE_NODE} --replay_rpc http://localhost:8545 -m live
Sothis is a rust crate. You can install it with cargo:
cargo install sothis
Sothis is known as the creator and God of Fódlan in Fire Emblem: Thee Houses. She has the ability to rewind time at will.