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

refactor: simplify the DefaultFilecoinKernel generics #1943

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

Stebalien
Copy link
Member

It's not actually generic over the inner kernel type (only works for
the DefaultKernel), so we might as well simplify that.

I.e., was:

DefaultFilecoinKernel<DefaultKernel<impl CallManager>>

Now:

DefaultFilecoinKernel<impl CallManager>

@codecov-commenter
Copy link

codecov-commenter commented Dec 7, 2023

Codecov Report

Merging #1943 (d1696f0) into master (cd35d09) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1943      +/-   ##
==========================================
+ Coverage   75.68%   75.71%   +0.02%     
==========================================
  Files         157      157              
  Lines       15478    15479       +1     
==========================================
+ Hits        11715    11720       +5     
+ Misses       3763     3759       -4     
Files Coverage Δ
fvm/src/kernel/filecoin.rs 22.65% <ø> (ø)
fvm/src/lib.rs 47.36% <100.00%> (+0.93%) ⬆️
fvm/src/syscalls/mod.rs 96.87% <ø> (-0.53%) ⬇️

... and 4 files with indirect coverage changes

@Stebalien Stebalien force-pushed the refactor/simple-filecoin-kernel branch from f1e1614 to ac46bb6 Compare December 7, 2023 05:44
@Stebalien Stebalien force-pushed the refactor/simple-filecoin-kernel branch from ac46bb6 to 612516d Compare December 8, 2023 02:52
@Stebalien Stebalien force-pushed the refactor/simple-filecoin-kernel branch from 612516d to f6f0921 Compare December 8, 2023 08:37
@Stebalien Stebalien force-pushed the refactor/simple-filecoin-kernel branch from f6f0921 to e95e412 Compare December 9, 2023 14:12
Base automatically changed from feat/static-bind-syscalls to master December 12, 2023 19:04
It's not _actually_ generic over the inner kernel type (only works for
the `DefaultKernel`), so we might as well simplify that.

I.e., was:

    DefaultFilecoinKernel<DefaultKernel<impl CallManager>>

Now:

    DefaultFilecoinKernel<impl CallManager>
@Stebalien
Copy link
Member Author

I'm just going to merge this one.

@Stebalien Stebalien merged commit 07ddfb6 into master Dec 12, 2023
14 checks passed
@Stebalien Stebalien deleted the refactor/simple-filecoin-kernel branch December 12, 2023 19:44
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.

2 participants