Skip to content

Update lock operation costs and construction inputs - #707

Merged
soerenbf merged 2 commits into
release/p11from
cor-2391/update-lock-operation-costs
Nov 3, 2026
Merged

soerenbf merged 2 commits into
release/p11from
cor-2391/update-lock-operation-costs

Conversation

@soerenbf

@soerenbf soerenbf commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Purpose

Align protocol-level lock energy estimates with the updated network costs.

Closes COR-2391

Changes

  • Calculate creation costs from configuration complexity and update fund/send/release costs.
  • Add OperationInput and createTokenUpdateInput to calculate supplemental cancellation energy without changing wire payloads.
  • Require explicit definition of lock balance references to calculate energy for lock cancel.

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

@soerenbf soerenbf self-assigned this Nov 3, 2026
@soerenbf
soerenbf requested a review from limemloh November 3, 2026 12:25
@soerenbf
soerenbf marked this pull request as ready for review November 3, 2026 12:25
@soerenbf
soerenbf merged commit c246766 into release/p11 Nov 3, 2026
22 checks passed
@soerenbf
soerenbf deleted the cor-2391/update-lock-operation-costs branch November 3, 2026 14:07
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.

2 participants