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

refactor(gtest): removed use of read_state_bytes_using_wasm #4320

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Lazark0x
Copy link
Member

Removed from everywhere except rpc and runtime api

@Lazark0x Lazark0x added the A0-pleasereview PR is ready to be reviewed by the team label Oct 31, 2024
@Lazark0x Lazark0x requested a review from breathx October 31, 2024 18:08
@Lazark0x Lazark0x self-assigned this Oct 31, 2024
@@ -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(
Copy link
Member

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

Copy link
Member Author

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

@breathx breathx added A3-gotissues PR occurred to have issues after the review and removed A0-pleasereview PR is ready to be reviewed by the team labels Nov 5, 2024
@Lazark0x Lazark0x added A0-pleasereview PR is ready to be reviewed by the team and removed A3-gotissues PR occurred to have issues after the review labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview PR is ready to be reviewed by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants