Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ SetCode
Method
SetCode
core/vm/interface.go:39–39 ·
view source on GitHub ↗
(common.Address, []byte)
Source
from the content-addressed store, hash-verified
37
GetCodeHash(common.Address) common.Hash
38
GetCode(common.Address) []byte
39
SetCode(common.Address, []byte)
40
GetCodeSize(common.Address) int
41
42
AddRefund(uint64)
Callers
12
ToBlock
Method · 0.65
TestDump
Method · 0.65
TestSnapshot2
Function · 0.65
SetCode
Method · 0.65
TestUpdateLeaks
Function · 0.65
TestIntermediateLeaks
Function · 0.65
newTestAction
Function · 0.65
makeTestState
Function · 0.65
Create
Method · 0.65
TestCall
Function · 0.65
Execute
Function · 0.65
MakePreState
Function · 0.65
Implementers
2
StateDB
core/state/statedb.go
NoopStateDB
core/vm/noop.go
Calls
no outgoing calls
Tested by
7
TestDump
Method · 0.52
TestSnapshot2
Function · 0.52
TestUpdateLeaks
Function · 0.52
TestIntermediateLeaks
Function · 0.52
newTestAction
Function · 0.52
makeTestState
Function · 0.52
TestCall
Function · 0.52