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

Method ContractCodeSize

core/state/database.go:56–56  ·  view source on GitHub ↗

ContractCodeSize retrieves a particular contracts code's size.

(addrHash, codeHash common.Hash)

Source from the content-addressed store, hash-verified

54
55 // ContractCodeSize retrieves a particular contracts code's size.
56 ContractCodeSize(addrHash, codeHash common.Hash) (int, error)
57
58 // TrieDB retrieves the low level trie database used for data storage.
59 TrieDB() *trie.Database

Callers 1

GetCodeSizeMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected