Skip to content

feat: changing the order of inspectMiner could improve efficiency#13206

Merged
rvagg merged 2 commits intofilecoin-project:masterfrom
Terryhung:terryhung/refine-the-performance
Jul 10, 2025
Merged

feat: changing the order of inspectMiner could improve efficiency#13206
rvagg merged 2 commits intofilecoin-project:masterfrom
Terryhung:terryhung/refine-the-performance

Conversation

@Terryhung
Copy link
Copy Markdown
Contributor

@Terryhung Terryhung commented Jul 8, 2025

Related Issues

Since inspectMiner needs to load the Miner, MinerState, Deadline, and DeadlineInfo, it’s quite time-consuming. So we should only call inspectMiner if we’re certain there will be a fee or penalty.

Proposed Changes

Changing the order of inspectMiner could improve efficiency.

Additional Info

[skip changelog]

Checklist

Before you mark the PR ready for review, please make sure that:

@github-project-automation github-project-automation bot moved this to 📌 Triage in FilOz Jul 8, 2025
@Terryhung Terryhung changed the title feat: changing the order of inspectMiner could improve efficiency [skip changelog] feat: changing the order of inspectMiner could improve efficiency Jul 8, 2025
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

@github-project-automation github-project-automation bot moved this from 📌 Triage to ⌨️ In Progress in FilOz Jul 8, 2025
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

@Terryhung Terryhung changed the title [skip changelog] feat: changing the order of inspectMiner could improve efficiency feat: changing the order of inspectMiner could improve efficiency Jul 8, 2025
@github-actions github-actions bot dismissed their stale review July 8, 2025 13:08

PR title now matches the required format.

@rjan90 rjan90 dismissed github-actions[bot]’s stale review July 10, 2025 07:18

PR title now matches the required format.

@github-project-automation github-project-automation bot moved this from ⌨️ In Progress to ✔️ Approved by reviewer in FilOz Jul 10, 2025
@rvagg rvagg enabled auto-merge (squash) July 10, 2025 10:03
@rvagg rvagg merged commit 3a5e19d into filecoin-project:master Jul 10, 2025
95 checks passed
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

2 participants