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

Method Copy

core/vm/logger.go:36–43  ·  view source on GitHub ↗

Copy duplicates the current storage.

()

Source from the content-addressed store, hash-verified

34
35// Copy duplicates the current storage.
36func (s Storage) Copy() Storage {
37 cpy := make(Storage)
38 for key, value := range s {
39 cpy[key] = value
40 }
41
42 return cpy
43}
44
45// LogConfig are the configuration options for structured logger the EVM
46type LogConfig struct {

Callers 10

CaptureStateMethod · 0.45
readFixedBytesFunction · 0.45
mustArrayToByteSliceFunction · 0.45
makeTopicsFunction · 0.45
parseTopicsFunction · 0.45
pendingMethod · 0.45
updateSnapshotMethod · 0.45
traceChainMethod · 0.45
traceBlockMethod · 0.45
bindataReadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected