-
Notifications
You must be signed in to change notification settings - Fork 20.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core/state: remove unused methods ReturnGas, GetStorageProofByHash #23092
core/state: remove unused methods ReturnGas, GetStorageProofByHash #23092
Conversation
@@ -333,17 +333,6 @@ func (s *StateDB) GetStorageProof(a common.Address, key common.Hash) ([][]byte, | |||
return proof, err | |||
} | |||
|
|||
// GetStorageProofByHash returns the Merkle proof for given storage slot. | |||
func (s *StateDB) GetStorageProofByHash(a common.Address, key common.Hash) ([][]byte, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function seems to have been added here: 017831d#diff-c3757dc9e9d868f63bc84a0cc67159c1d5c22cc5d8c9468757098f0492e0658cR340
Not sure about the context or use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I have searched the go-ethereum project,
no context found to use it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
…thereum#23092) Co-authored-by: lidongwei <lidongwei@huobi.com>
No description provided.