-
Notifications
You must be signed in to change notification settings - Fork 84
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
Mock builder update. Improved FI coverage #1945
Conversation
cfg-mocks = { workspace = true, default_features = true } | ||
frame-system = { workspace = true, default_features = true } | ||
mock-builder = { workspace = true, default_features = true } | ||
cfg-mocks = { workspace = true, default-features = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I just noticed the difference here. This is scary lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And no warnings at all by cargo 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome improvement, thank you @lemunozm!
I've needed to also update all inner dependencies to get rid of a cargo bug 🫤 |
+ 'static, | ||
) { | ||
register_call!(move |(a, b, c, d, e)| f(a, b, c, d, e)); | ||
) -> CallHandler { | ||
register_call!(move |(a, b, c, d, e)| f(a, b, c, d, e)) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically, if you leave the ;
then the behavior is the same as before. If you remove the ;
, then the CallHandler
is returned, and you have the new capabilities
89d4a92
to
f858bbd
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1945 +/- ##
=======================================
Coverage 47.72% 47.73%
=======================================
Files 184 184
Lines 12969 12969
=======================================
+ Hits 6190 6191 +1
+ Misses 6779 6778 -1 ☔ View full report in Codecov by Sentry. |
Could you force @hieronx ? It seems like we also need the Frederik approval |
Description
default-features
(I do not know why Cargo did not complained)Cargo updateSomething is really off with the cargo update. Just doingcargo update
onmain
makes the compilation of runtime fail due to std issues. I was not able to find the guilty one.