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

Re-use some code from ref-fvm #1500

Merged
merged 2 commits into from
Mar 25, 2022
Merged

Re-use some code from ref-fvm #1500

merged 2 commits into from
Mar 25, 2022

Conversation

LesnyRumcajs
Copy link
Member

Summary of changes
Changes introduced in this pull request:

  • Re-use some more pieces of code from ref-fvm

Reference issue to close (if applicable)

Closes #1497

Other information and links

Comment on lines +35 to +42
macro_rules! convert_filter_estimate {
($from:expr) => {
FilterEstimate {
position: $from.position.clone(),
velocity: $from.velocity.clone(),
}
};
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice.

Copy link
Member Author

Choose a reason for hiding this comment

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

It was supposed to be more arcane but I gave up (for now). :(

@codecov
Copy link

codecov bot commented Mar 24, 2022

Codecov Report

Merging #1500 (3770200) into main (af62a43) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1500      +/-   ##
==========================================
- Coverage   44.40%   44.36%   -0.05%     
==========================================
  Files         319      315       -4     
  Lines       28231    28151      -80     
==========================================
- Hits        12537    12488      -49     
+ Misses      15694    15663      -31     
Impacted Files Coverage Δ
types/src/build_version/mod.rs 0.00% <ø> (ø)
types/src/deadlines/mod.rs 77.50% <ø> (ø)
vm/actor_interface/src/builtin/mod.rs 57.14% <ø> (+17.14%) ⬆️
vm/actor_interface/src/builtin/power/mod.rs 0.00% <0.00%> (ø)
vm/actor/src/builtin/miner/mod.rs 33.54% <0.00%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af62a43...3770200. Read the comment docs.

@lemmih lemmih merged commit b7951fb into main Mar 25, 2022
@lemmih lemmih deleted the 1497-remove-duplicates branch March 25, 2022 15:52
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.

Yet more deduplication of types between forest and fvm_shared.
3 participants