-
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
feat: make AssertOriginCall
always panic with MsgRun
#1665
Merged
thehowl
merged 11 commits into
gnolang:master
from
tbruyelle:tbruyelle/feat/assertOriginCall-msgRun
May 27, 2024
Merged
feat: make AssertOriginCall
always panic with MsgRun
#1665
thehowl
merged 11 commits into
gnolang:master
from
tbruyelle:tbruyelle/feat/assertOriginCall-msgRun
May 27, 2024
Commits on Apr 22, 2024
-
feat: make
AssertOriginCall
always panic withMsgRun
Fix gnolang#1663 `AssertOriginCall` used to panic on `MsgRun` because it involves more than 2 frames. But we want to reinforce that property, with an additional check. Added an improved version of the unit and txtar tests from gnolang#1048. In particular, the txtar adds 2 more cases : 19) MsgCall invokes std.AssertOriginCall directly: pass 20) MsgRun invokes std.AssertOriginCall directly: PANIC Note that 19) involves a change in the AssertOriginCall algorithm, because in that situation there's only a single frame. Even if there's no reason to call `std.AssertOriginCall()` directly from the command line, I think it's logic to make it pass, because that's a origin call.
Configuration menu - View commit details
-
Copy full SHA for dde31f6 - Browse repository at this point
Copy the full SHA dde31f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a195d6 - Browse repository at this point
Copy the full SHA 8a195d6View commit details -
Update gnovm/stdlibs/std/native.gno
Co-authored-by: Leon Hudak <33522493+leohhhn@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b39f0c3 - Browse repository at this point
Copy the full SHA b39f0c3View commit details -
Update gnovm/stdlibs/std/native.gno
Co-authored-by: Leon Hudak <33522493+leohhhn@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1b2e20c - Browse repository at this point
Copy the full SHA 1b2e20cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4f867e - Browse repository at this point
Copy the full SHA f4f867eView commit details
Commits on May 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 18eee35 - Browse repository at this point
Copy the full SHA 18eee35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88b4a27 - Browse repository at this point
Copy the full SHA 88b4a27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e5839a - Browse repository at this point
Copy the full SHA 3e5839aView commit details
Commits on May 27, 2024
-
Merge branch 'master' of github.com:gnolang/gno into tbruyelle/feat/a…
…ssertOriginCall-msgRun
Configuration menu - View commit details
-
Copy full SHA for f1fe7b9 - Browse repository at this point
Copy the full SHA f1fe7b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33f691c - Browse repository at this point
Copy the full SHA 33f691cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31a6ef4 - Browse repository at this point
Copy the full SHA 31a6ef4View 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.