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

chore: remove Garbage Collection ;) #4227

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

dpc
Copy link
Contributor

@dpc dpc commented Feb 3, 2024

I'm a simple developer. I see a "GC" I find the way to get rid of it.

https://www.reddit.com/r/rustjerk/comments/n8b09i/ron_swanson_on_garbage_collection/

@dpc dpc changed the title 24 02 02 cancer removal chore: remove Garbage Collection from Fedimint ;) Feb 3, 2024
Copy link

codecov bot commented Feb 3, 2024

Codecov Report

Attention: 43 lines in your changes are missing coverage. Please review.

Comparison is base (7fe0a20) 57.95% compared to head (60c3798) 57.89%.

Files Patch % Lines
fedimint-client/src/lib.rs 28.84% 37 Missing ⚠️
fedimint-client/src/sm/executor.rs 89.65% 3 Missing ⚠️
fedimint-client/src/module/init.rs 50.00% 2 Missing ⚠️
fedimint-client/src/module/mod.rs 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4227      +/-   ##
==========================================
- Coverage   57.95%   57.89%   -0.07%     
==========================================
  Files         197      197              
  Lines       43413    43430      +17     
==========================================
- Hits        25161    25143      -18     
- Misses      18252    18287      +35     

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

I'm a simple developer. I see a "GC" I find the way to
get rid of it.
@dpc dpc marked this pull request as ready for review February 3, 2024 07:37
@dpc dpc requested review from a team as code owners February 3, 2024 07:37
@dpc dpc changed the title chore: remove Garbage Collection from Fedimint ;) chore: remove Garbage Collection ;) Feb 3, 2024
@@ -24,8 +24,9 @@
//! interaction is required to drive them forward.
//!
//! ### State Machine Contexts
//! State machines have access to both a [global context](sm::GlobalContext) as
//! well as to a [module-specific context](module::ClientModule::context).
//! State machines have access to both a [global
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Autoformatter insists. I kind of don't care.

@@ -707,22 +698,22 @@ impl ExecutorBuilder {

/// A state that is able to make progress eventually
#[derive(Debug)]
pub struct ActiveStateKey<GC> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Contributor

@elsirion elsirion left a comment

Choose a reason for hiding this comment

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

You got a point, I probably overdid it a bit with the SM executor's generality …

Also, that Ron Swanson meme made my day 🤣

@dpc dpc enabled auto-merge February 4, 2024 02:51
@dpc dpc added this pull request to the merge queue Feb 5, 2024
Copy link
Contributor

@m1sterc001guy m1sterc001guy left a comment

Choose a reason for hiding this comment

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

Looks like it makes the code simpler to me

Merged via the queue into fedimint:master with commit 7113497 Feb 5, 2024
21 of 22 checks passed
@dpc dpc deleted the 24-02-02-cancer-removal branch February 5, 2024 05:33
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.

None yet

3 participants