You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: throw when TestClient.revert is given an invalid snapshot
evm_revert returns false for missing or already-consumed snapshot IDs
instead of a JSON-RPC error. Check that boolean and throw so failed
reverts are observable.
Closes#5064
* @description Revert the state of the blockchain to a previous snapshot. Takes a single parameter, which is the snapshot id to revert to.
1598
+
* @description Revert the state of the blockchain to a previous snapshot. Takes a single parameter, which is the snapshot id to revert to. Returns `true` if the snapshot existed, `false` otherwise.
0 commit comments