func (db *cachingDB) ContractCodeSize(addrHash, codeHash common.Hash) (int, error) {
	if cached, ok := db.codeSizeCache.Get(codeHash); ok {
		return cached.(int), nil
	}
	code, err := db.ContractCode(addrHash, codeHash)
	return len(code), err
}
// ContractCodeSize retrieves a particular contracts code's size.
ContractCodeSize retrieves a particular contracts code's size.
// ContractCodeSize retrieves a particular contracts code ' s size .
func (db *cachingDB) ContractCodeSize(addrHash, codeHash common.Hash) (int, error) {
	if cached, ok := db.codeSizeCache.Get(codeHash); ok {
		return cached.(int), nil
	}
	code, err := db.ContractCode(addrHash, codeHash)
	return len(code), err
}
func ( db * cachingDB ) ContractCodeSize ( addrHash , codeHash common . Hash ) ( int , error ) { if cached , ok := db . codeSizeCache . Get ( codeHash ) ; ok { return cached . ( int ) , nil } code , err := db . ContractCode ( addrHash , codeHash ) return len ( code ) , err }
ContractCodeSize retrieves a particular contracts code's size.
ContractCodeSize retrieves a particular contracts code ' s size .