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

fix(gnovm): save object when refCount changed #2992

Merged
merged 29 commits into from
Jan 15, 2025

Conversation

omarsy
Copy link
Member

@omarsy omarsy commented Oct 21, 2024

This PR a fix in the gnovm to ensure that objects are saved correctly when their reference count changes.

closes: #2266 #1543

Contributors' checklist...
  • Added new tests, or not needed, or not feasible
  • Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
  • Updated the official documentation or not needed
  • No breaking changes were made, or a BREAKING CHANGE: xxx message was included in the description
  • Added references to related issues and PRs
  • Provided any useful hints for running manual tests

@github-actions github-actions bot added 📦 🤖 gnovm Issues or PRs gnovm related 📦 ⛰️ gno.land Issues or PRs gno.land package related labels Oct 21, 2024
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@omarsy omarsy force-pushed the fix/2266 branch 2 times, most recently from ed24417 to 2368fed Compare October 27, 2024 12:44
@omarsy omarsy force-pushed the fix/2266 branch 2 times, most recently from d81df2c to ff7e012 Compare October 27, 2024 15:40
@omarsy omarsy marked this pull request as ready for review October 27, 2024 19:24
@notJoon notJoon added the review/triage-pending PRs opened by external contributors that are waiting for the 1st review label Oct 28, 2024
@jefft0
Copy link
Contributor

jefft0 commented Nov 19, 2024

Hello @omarsy . There is a merge conflict with master in gno.land/pkg/sdk/vm/gas_test.go . Can you resolve it?

Copy link
Contributor

@jefft0 jefft0 left a comment

Choose a reason for hiding this comment

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

The main change is to one file gnovm/pkg/gnolang/realm.go . The rest of the changes are tests. All CI checks pass.

@jefft0 jefft0 removed the review/triage-pending PRs opened by external contributors that are waiting for the 1st review label Nov 20, 2024
@jefft0
Copy link
Contributor

jefft0 commented Nov 20, 2024

Removed the review/triage-pending label because jefft0 approved. Ready for core devs to review if the change is technically correct.

Copy link
Contributor

@ltzmaxwell ltzmaxwell left a comment

Choose a reason for hiding this comment

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

just start looking.

gnovm/pkg/gnolang/realm.go Show resolved Hide resolved
@Kouteki Kouteki added the in focus Core team is prioritizing this work label Nov 28, 2024
@omarsy omarsy removed request for a team December 7, 2024 22:13
@omarsy omarsy requested a review from thehowl December 20, 2024 20:01
@zivkovicmilos
Copy link
Member

@omarsy

Can you please check the CI? 🙏

@omarsy
Copy link
Member Author

omarsy commented Jan 6, 2025

@omarsy

Can you please check the CI? 🙏

Done ! ^^

@thehowl
Copy link
Member

thehowl commented Jan 14, 2025

can you update the branch? and then we can merge

@omarsy
Copy link
Member Author

omarsy commented Jan 14, 2025

can you update the branch? and then we can merge

done ^^

@zivkovicmilos zivkovicmilos merged commit 90ff3e4 into gnolang:master Jan 15, 2025
88 checks passed
@Kouteki Kouteki removed the in focus Core team is prioritizing this work label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 🌐 tendermint v2 Issues or PRs tm2 related 📦 ⛰️ gno.land Issues or PRs gno.land package related 📦 🤖 gnovm Issues or PRs gnovm related 🧾 package/realm Tag used for new Realms or Packages.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[gnovm/avl] Removing keys from AVL trees does not work
8 participants