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

Move QuantSpec into the miner actor #1521

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Move QuantSpec into the miner actor #1521

merged 1 commit into from
Feb 9, 2024

Conversation

Stebalien
Copy link
Member

Unfortunately, I had to duplicate a little bit of code in the market actor, but I think it's better to do that than to put this mostly miner specific logic in, e.g., the runtime.

Unfortunately, I had to duplicate a little bit of code in the market
actor, but I think it's better to do that than to put this mostly miner
specific logic in, e.g., the runtime.
Comment on lines +1553 to +1554
// Same logic as QuantSpec from the miner actor, but duplicated here to avoid unnecessary
// dependencies.
Copy link
Member

Choose a reason for hiding this comment

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

we don't have a logical shared place over here to put this so we can dedupe? fil_actors_runtime?

Copy link
Member

Choose a reason for hiding this comment

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

because actors/miner/src/quantize.rs isn't a whole lot more than this logic

Copy link
Member Author

Choose a reason for hiding this comment

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

IMO, it's not worth it. Honestly, I'd like to trim down the runtime as well if possible (kind of a grab-bag at this point).

@Stebalien Stebalien added this pull request to the merge queue Feb 9, 2024
Merged via the queue into master with commit 76abc47 Feb 9, 2024
14 checks passed
@Stebalien Stebalien deleted the steb/quant-spec branch February 9, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ☑️ Done (Archive)
Development

Successfully merging this pull request may close these issues.

2 participants