-
Notifications
You must be signed in to change notification settings - Fork 52
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
view_state
stopped working
#281
Comments
@Tarnadas Did you compile your contract / workspaces-rs project with Rust <= 1.69? See this issue for more details: near/nearcore#9143 |
Hey @frol, |
@Tarnadas If you use |
Ah ok, that makes it clear. But I don't use workspaces to compile my code. I have a build script and just load the wasm file for deployment. In this particular case I don't use workspaces for integration tests, but instead I have a deploy program for testnet. I read the existing contract state to delete existing keys and do a deployment afterwards. |
@Tarnadas If you don't use workspaces-rs, submit your issue somewhere it belongs to and provide more details with the code you run, otherwise it is impossible to help you. |
I wrote in the issue that I use ‘view_state‘ from workspaces: |
Is this issue still relevant, If it is stale we can close it. |
@Tarnadas Please, try using the latest |
Hey,
I have a script to deploy my contract.
As preparation I read all keys to clean up storage for a redeployment and I use workspaces for this.
However just recently the call to
view_state
returns an error:I changed my code to manually call the RPC server via this query and it works:
So it seems like the error must be in the workspaces crate.
The text was updated successfully, but these errors were encountered: