Skip to content

chore: small fixes #4195

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

Merged
merged 14 commits into from
Apr 23, 2025
Merged

chore: small fixes #4195

merged 14 commits into from
Apr 23, 2025

Conversation

moul
Copy link
Member

@moul moul commented Apr 21, 2025

Failing CI checks decreased from 24 to 5.

@Gno2D2
Copy link
Collaborator

Gno2D2 commented Apr 21, 2025

🛠 PR Checks Summary

All Automated Checks passed. ✅

Manual Checks (for Reviewers):
  • IGNORE the bot requirements for this PR (force green CI check)
Read More

🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers.

✅ Automated Checks (for Contributors):

🟢 Maintainers must be able to edit this pull request (more info)

☑️ Contributor Actions:
  1. Fix any issues flagged by automated checks.
  2. Follow the Contributor Checklist to ensure your PR is ready for review.
    • Add new tests, or document why they are unnecessary.
    • Provide clear examples/screenshots, if necessary.
    • Update documentation, if required.
    • Ensure no breaking changes, or include BREAKING CHANGE notes.
    • Link related issues/PRs, where applicable.
☑️ Reviewer Actions:
  1. Complete manual checks for the PR, including the guidelines and additional checks if applicable.
📚 Resources:
Debug
Automated Checks
Maintainers must be able to edit this pull request (more info)

If

🟢 Condition met
└── 🟢 And
    ├── 🟢 The base branch matches this pattern: ^master$
    └── 🟢 The pull request was created from a fork (head branch repo: moul/gno)

Then

🟢 Requirement satisfied
└── 🟢 Maintainer can modify this pull request

Manual Checks
**IGNORE** the bot requirements for this PR (force green CI check)

If

🟢 Condition met
└── 🟢 On every pull request

Can be checked by

  • Any user with comment edit permission

@moul moul marked this pull request as ready for review April 21, 2025 06:46
Copy link

codecov bot commented Apr 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

if fnSource != nil {
call.FuncLoc = fnSource.GetLocation()
}
calls = append(calls, call)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the issue you're trying to solve is solved here: https://github.com/gnolang/gno/pull/4192/files#r2052132917
Better to keep the machine simple and tailor the tests to suit it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rollbacked d34f5cf

@@ -2017,13 +2021,6 @@ func (m *Machine) peekCallFrame(n int) *Frame {
// Returns the last defer call frame or nil.
func (m *Machine) LastDeferCallFrame() *Frame {
return &m.Frames[len(m.Frames)-1]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops this isn't used, should be deleted.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean to remove this line and revert the dead code I just deleted below?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, we should delete it, it isn't used at all.

@github-actions github-actions bot added the 🧾 package/realm Tag used for new Realms or Packages. label Apr 22, 2025
@Kouteki Kouteki moved this from Triage to In Review in 🧙‍♂️gno.land core team Apr 22, 2025
@gnolang gnolang deleted a comment from moul Apr 23, 2025
@jaekwon jaekwon merged commit 84e53f5 into gnolang:master Apr 23, 2025
114 of 119 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in 💪 Bounties & Worx Apr 23, 2025
@github-project-automation github-project-automation bot moved this from 📥 Inbox to ✅ Done in 😎 Manfred's Board Apr 23, 2025
jaekwon pushed a commit that referenced this pull request May 1, 2025
Failing CI checks decreased from 24 to 5.

---------

Signed-off-by: moul <[email protected]>
stefann-01 pushed a commit to stefann-01/gno that referenced this pull request Jul 14, 2025
Failing CI checks decreased from 24 to 5.

---------

Signed-off-by: moul <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 🤖 gnovm Issues or PRs gnovm related 🧾 package/realm Tag used for new Realms or Packages.
Projects
Status: Done
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants