-
Notifications
You must be signed in to change notification settings - Fork 364
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
fix(gnovm): PrevRealm in _test files #896
Merged
Merged
Commits on Jul 31, 2023
-
fix(gnovm): PrevRealm in _test files
When _test files are executed, the pkg path is set to the real path to the test, which starts by `./examples/gno.land`, this leads to interpreting the test package as a non-realm, because a realm must start with `gno.lang/r`. Because of that, when calling `PrevRealm`, a test package is never considered as a realm whereas sometime it should. The fix truncates the `./examples` prefix from the test package, which ensures it is well detected as a realm when required. This had several consequences on tests execution, like `testing` and the test template must not declare global variable, or else the VM tries to persist them at the end of transaction and that triggers error.
Configuration menu - View commit details
-
Copy full SHA for 9f5a5ae - Browse repository at this point
Copy the full SHA 9f5a5aeView commit details -
fix for TestFunctions that write the store
Probably dumb fix, should be improved
Configuration menu - View commit details
-
Copy full SHA for 5667f86 - Browse repository at this point
Copy the full SHA 5667f86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24fa1d3 - Browse repository at this point
Copy the full SHA 24fa1d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea64d71 - Browse repository at this point
Copy the full SHA ea64d71View commit details -
Configuration menu - View commit details
-
Copy full SHA for f910bf0 - Browse repository at this point
Copy the full SHA f910bf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f3f30f - Browse repository at this point
Copy the full SHA 2f3f30fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47fbd41 - Browse repository at this point
Copy the full SHA 47fbd41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 917337b - Browse repository at this point
Copy the full SHA 917337bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd3213d - Browse repository at this point
Copy the full SHA cd3213dView commit details -
Revert "replace _test filter with change in tests functions"
This reverts commit 763ac29.
Configuration menu - View commit details
-
Copy full SHA for a3e86bd - Browse repository at this point
Copy the full SHA a3e86bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85cc135 - Browse repository at this point
Copy the full SHA 85cc135View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8ab7e9 - Browse repository at this point
Copy the full SHA a8ab7e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13089a5 - Browse repository at this point
Copy the full SHA 13089a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7798dfb - Browse repository at this point
Copy the full SHA 7798dfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 836b71d - Browse repository at this point
Copy the full SHA 836b71dView commit details
Commits on Aug 4, 2023
-
Update gnovm/pkg/gnomod/parse.go
Co-authored-by: Manfred Touron <94029+moul@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 724d3b7 - Browse repository at this point
Copy the full SHA 724d3b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0404c36 - Browse repository at this point
Copy the full SHA 0404c36View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.