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

Unable to deploy wasm contracts with newer rust version #294

Closed
ghost opened this issue Sep 4, 2023 · 9 comments
Closed

Unable to deploy wasm contracts with newer rust version #294

ghost opened this issue Sep 4, 2023 · 9 comments

Comments

@ghost
Copy link

ghost commented Sep 4, 2023

After the merge of PR #293 , which was expected to resolve the issue mentioned in nearcore issue #9143, it seems that the problem persists when using the latest main hash as a dependency. This issue aims to track the investigation and resolution of this persistent error.

@mrLSD
Copy link

mrLSD commented Sep 5, 2023

It's more context about the issue:

Example PR: aurora-is-near/release-repository/pull/2

It was updated toolchain from nightly-2023-03-15 to stable.
And it was cargo update.

Tests fail with a Deserialization error.

cc: @shariffdev

@mrLSD
Copy link

mrLSD commented Sep 8, 2023

@shariffdev any progress on that issue?

@ghost
Copy link
Author

ghost commented Sep 9, 2023

@mrLSD

I apologize for the delay in getting back to you. I have conducted a more in-depth investigation into the issue raised in the PR. During this analysis, I encountered some unusual behavior; however, I was able to successfully execute the tests, which seem to be functioning properly now and address the logging issue you mentioned earlier.

As an interim solution, I managed to devise a workaround that appears to be stable for the time being. Here are the steps I took to rectify the issue:

  • Compile the NEAR sandbox from the source (or you can actually retrieve the sandbox inside the release-repository after building the project should be here -> release-repository/target/debug/build/near-sandbox-utils-xxxx/out/near-sandbox)
  • Run your tests using the compiled sandbox.

Please note, this is a temporary solution and not a final resolution. I wanted to ensure that the tests could run without any hitches as I look more into it.

You can run the test using the following command:

NEAR_SANDBOX_BIN_PATH="./near-sandbox"  cargo t

I have attached my screenshot below and as you can see; it silences the log messages as well.

Screenshot 2023-09-09 at 7 07 23 PM

@mrLSD
Copy link

mrLSD commented Sep 9, 2023

Tjanja. When do you planing release solution, when things works out of the box?

@ghost
Copy link
Author

ghost commented Sep 11, 2023

@mrLSD A fix is in the process currently, I will notify you when the fix is out.

@ghost
Copy link
Author

ghost commented Sep 25, 2023

@mrLSD We have a PR in progress which should be able to fix the problems mentioned in the PR.

@ghost
Copy link
Author

ghost commented Oct 5, 2023

This issue has been resolved, you can wait for 0.8.0 release or you can use latest commit. I am closing this issue

@ghost ghost closed this as completed Oct 5, 2023
@mrLSD
Copy link

mrLSD commented Oct 5, 2023

Thanks @shariffdev !
Is there any schedule for the release date?

@ghost
Copy link
Author

ghost commented Oct 5, 2023

Hey @mrLSD a new version has been released, you are good to update to 0.8.0

This issue was closed.
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

No branches or pull requests

1 participant