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: explicitly specify HAMT bitwidths everywhere #1364

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

Stebalien
Copy link
Member

This doesn't migrate to the new Map2 interface everywhere, it just avoids the use of Hamt::load and Hamt::new, which will be deprecated in the next release of fvm_ipld_hamt.

part of #1346

@Stebalien
Copy link
Member Author

Submitting this now so, e.g., #1362 will pass the tests again. It's failing right now due to deprecation warnings.

@Stebalien Stebalien requested a review from anorth August 10, 2023 23:09
@Stebalien
Copy link
Member Author

Oh. Well, I guess we should merge #1363 first.

@anorth
Copy link
Member

anorth commented Aug 10, 2023

I don't really mind this, but I'm going to fix it better e.g. in #1363

@codecov-commenter
Copy link

codecov-commenter commented Aug 11, 2023

Codecov Report

Merging #1364 (076159d) into master (7e11334) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1364      +/-   ##
==========================================
+ Coverage   90.75%   90.76%   +0.01%     
==========================================
  Files         145      145              
  Lines       27277    27286       +9     
==========================================
+ Hits        24755    24767      +12     
+ Misses       2522     2519       -3     
Files Changed Coverage Δ
actors/miner/src/testing.rs 91.91% <100.00%> (+0.02%) ⬆️
state/src/check.rs 86.35% <100.00%> (+0.26%) ⬆️
test_vm/src/lib.rs 92.90% <100.00%> (+0.13%) ⬆️

... and 3 files with indirect coverage changes

Copy link
Member

@anorth anorth left a comment

Choose a reason for hiding this comment

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

Approving to unblock you, I can deal with the merge conflict if necessary.

#1363 is just held up ensuring BigInts are serialized properly as values.

This _doesn't_ migrate to the new `Map2` interface everywhere, it just
avoids the use of `Hamt::load` and `Hamt::new`, which will be deprecated
in the next release of `fvm_ipld_hamt`.

part of #1346
@Stebalien
Copy link
Member Author

The change is pretty minimal so I'm just going to let it merge.

@Stebalien Stebalien added this pull request to the merge queue Aug 11, 2023
Merged via the queue into master with commit 266b3bb Aug 11, 2023
13 checks passed
@Stebalien Stebalien deleted the steb/avoid-hamt-load-new branch August 11, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants