Skip to content

Conversation

@cuiweixie
Copy link
Contributor

I think it's better to add codesize to cache here.

return 0, err
}
return len(code), nil
n := len(code)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the code size is already cached in r.Code(addr, codeHash)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants