lotus icon indicating copy to clipboard operation
lotus copied to clipboard

'CollateralFromMinerBalance=false' does not work for ProveReplicaUpdates3

Open hyunmoon opened this issue 9 months ago • 8 comments

Checklist

  • [X] This is not a security-related bug/issue. If it is, please follow please follow the security policy.
  • [X] I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
  • [X] I am running the Latest release, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • [X] I did not make any code changes to lotus.

Lotus component

  • [ ] lotus daemon - chain sync
  • [ ] lotus fvm/fevm - Lotus FVM and FEVM interactions
  • [X] lotus miner/worker - sealing
  • [ ] lotus miner - proving(WindowPoSt/WinningPoSt)
  • [ ] lotus JSON-RPC API
  • [ ] lotus message management (mpool)
  • [ ] Other

Lotus Version

v1.26.2

Repro Steps

  1. Set CollateralFromMinerBalance = false
  2. Snap-up a sector
  3. See that the collateral has been paid from the miner's available balance

Describe the Bug

https://filecoinproject.slack.com/archives/CPFTWMY7N/p1714914337529209

ProveReplicaUpdates3 does not obey the 'CollateralFromMinerBalance=false' parameter in lotus-miner's config. It will always spend collateral from the miner's available balance unlike ProveCommitSector.

Attaching @LexLuthr's comment on Slack:

"Looks like we are not using this param in batching path"

Logging Information

N/A

hyunmoon avatar May 18 '24 16:05 hyunmoon