-
Notifications
You must be signed in to change notification settings - Fork 106
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
refactor(gtest): removed use of read_state_bytes_using_wasm #4320
base: master
Are you sure you want to change the base?
Conversation
gclient/src/api/rpc.rs
Outdated
@@ -353,7 +354,8 @@ impl GearApi { | |||
.await | |||
} | |||
|
|||
/// Same as [`read_state_using_wasm_by_path`](Self::read_state_using_wasm_by_path), but reads the program's state at the block identified by its hash. | |||
/// Same as [`read_state_using_wasm_by_path`](Self::read_state_using_wasm_by_path), | |||
/// but reads the program's state at the block identified by its hash. | |||
pub async fn read_state_bytes_using_wasm_by_path_at( |
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.
gclient is not rpc or runtime api (it's client that call them), so as we agreed, rpc hole itself won't be removed atm, but each new user space libs shouldn't be able to call it, so feel free to remove it from here as well
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.
Right, additionally removed *_using_wasm
functions from gclient
and gsdk
# Conflicts: # gclient/src/api/rpc.rs # gsdk/src/rpc.rs
Removed from everywhere except rpc and runtime api