Skip to content
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

Merged
merged 1 commit into from
Jun 25, 2021
Merged

core/state: remove unused methods ReturnGas, GetStorageProofByHash #23092

merged 1 commit into from
Jun 25, 2021

Conversation

buddh0
Copy link
Contributor

@buddh0 buddh0 commented Jun 23, 2021

No description provided.

@buddh0 buddh0 changed the title core: clean some unuseful code (#23091) core: clean some useless code (#23091) Jun 23, 2021
@@ -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) {
Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@fjl fjl changed the title core: clean some useless code (#23091) core/state: remove unused methods ReturnGas, GetStorageProofByHash Jun 25, 2021
@fjl fjl merged commit bca8c03 into ethereum:master Jun 25, 2021
@fjl fjl added this to the 1.10.5 milestone Jun 25, 2021
@fjl fjl removed the status:triage label Jun 25, 2021
@buddh0 buddh0 deleted the user/SanJue/clean_some_unsueful_code_in_core branch June 28, 2021 01:59
atif-konasl pushed a commit to frozeman/pandora-execution-engine that referenced this pull request Oct 15, 2021
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Mar 1, 2024
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.

5 participants