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

Method Snapshot

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

Source from the content-addressed store, hash-verified

57
58 RevertToSnapshot(int)
59 Snapshot() int
60
61 AddLog(*types.Log)
62 AddPreimage(common.Hash, []byte)

Callers 15

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