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/store): copy store caches #2105

Merged
merged 3 commits into from
May 14, 2024
Merged

Conversation

thehowl
Copy link
Member

@thehowl thehowl commented May 14, 2024

Hotfix for the failing CI on master. Changes cacheTypes, cacheNodes and cacheNativeTypes to be copies when forking the store, so that the forked store doesn't modify its parent.

cc @zivkovicmilos

@thehowl thehowl self-assigned this May 14, 2024
@github-actions github-actions bot added 📦 🤖 gnovm Issues or PRs gnovm related 📦 ⛰️ gno.land Issues or PRs gno.land package related labels May 14, 2024
@thehowl thehowl changed the title fix(store): copy store caches fix(gnovm/store): copy store caches May 14, 2024
Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.00%. Comparing base (c30d0f1) to head (c25520d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2105   +/-   ##
=======================================
  Coverage   47.00%   47.00%           
=======================================
  Files         578      578           
  Lines       77581    77582    +1     
=======================================
+ Hits        36467    36468    +1     
  Misses      38076    38076           
  Partials     3038     3038           
Flag Coverage Δ
gnovm 35.98% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thehowl thehowl merged commit 8afb1a4 into master May 14, 2024
17 checks passed
@thehowl thehowl deleted the dev/morgan/hotfix-240514 branch May 14, 2024 19:03
jefft0 pushed a commit to jefft0/gno that referenced this pull request May 15, 2024
Hotfix for the failing CI on master. Changes `cacheTypes`, `cacheNodes`
and `cacheNativeTypes` to be copies when forking the store, so that the
forked store doesn't modify its parent.

cc @zivkovicmilos
@jefft0 jefft0 mentioned this pull request May 15, 2024
thehowl pushed a commit that referenced this pull request May 15, 2024
This PR adds a simple regression test for a bug that was introduced in
#1702 and fixed in
#2105 .

Signed-off-by: Jeff Thompson <jeff@thefirst.org>
leohhhn pushed a commit to leohhhn/gno that referenced this pull request May 21, 2024
This PR adds a simple regression test for a bug that was introduced in
gnolang#1702 and fixed in
gnolang#2105 .

Signed-off-by: Jeff Thompson <jeff@thefirst.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 ⛰️ gno.land Issues or PRs gno.land package related 📦 🤖 gnovm Issues or PRs gnovm related
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants