MCPcopy Create free account
hub / github.com/CPChain/chain / RevertToSnapshot

Method RevertToSnapshot

core/vm/interface.go:58–58  ·  view source on GitHub ↗
(int)

Source from the content-addressed store, hash-verified

56 Empty(common.Address) bool
57
58 RevertToSnapshot(int)
59 Snapshot() int
60
61 AddLog(*types.Log)

Callers 14

TestSnapshotMethod · 0.65
TestSnapshotEmptyMethod · 0.65
TestSnapshot2Function · 0.65
runMethod · 0.65
TestTouchDeleteMethod · 0.65
callMethod · 0.65
callCodeMethod · 0.65
delegateCallMethod · 0.65
StaticCallMethod · 0.65
CreateMethod · 0.65
PendingCallContractMethod · 0.65
EstimateGasMethod · 0.65

Implementers 2

StateDBcore/state/statedb.go
NoopStateDBcore/vm/noop.go

Calls

no outgoing calls

Tested by 5

TestSnapshotMethod · 0.52
TestSnapshotEmptyMethod · 0.52
TestSnapshot2Function · 0.52
runMethod · 0.52
TestTouchDeleteMethod · 0.52