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

Adds GetStorageProof method #635

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

thiagodeev
Copy link
Collaborator

@thiagodeev thiagodeev commented Oct 3, 2024

#623

This PR aims to implement some RPC v0.8.0 updates to starknet.go. The ones addressed by this PR are:

Methods
starknet_getStorageProof

Components
MERKLE_NODE
NODE_HASH_TO_NODE_MAPPING

Errors
STORAGE_PROOF_NOT_SUPPORTED

Note: As the RPC v0.8.0 has not yet been released, we can't fully test these changes as the nodes haven't implemented them yet. They will be updated before merging into main

@thiagodeev thiagodeev marked this pull request as ready for review October 3, 2024 20:58
@thiagodeev thiagodeev added this to the v0.8.0 milestone Oct 3, 2024
@rianhughes rianhughes self-requested a review October 4, 2024 08:03
@rianhughes
Copy link
Contributor

Can we add a dummy test for this (just add a t.Skip() or a todo)? Otherwise looks good.

@thiagodeev
Copy link
Collaborator Author

Done alongside new spec updates

rpc/types_contract.go Outdated Show resolved Hide resolved
@thiagodeev thiagodeev force-pushed the thiagodeev/rpcv08-getStorageProof branch from e00432c to 785676b Compare October 25, 2024 15:42
@rianhughes rianhughes merged commit 470f18c into v0.8.0 Oct 28, 2024
5 checks passed
@rianhughes rianhughes deleted the thiagodeev/rpcv08-getStorageProof branch October 28, 2024 10:20
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