Skip to content

Conversation

carlpulley-da
Copy link
Contributor

@carlpulley-da carlpulley-da commented Sep 23, 2025

Fixes #21952

  • Add in costing for transaction nodes

@carlpulley-da carlpulley-da self-assigned this Sep 23, 2025
implicit def costOfLong(value: Long): Cost = 8

implicit def costOfUnit(value: Unit): Cost = 0
implicit def costOfUnit(value: Unit): Cost = 1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No cost value for a unit value doesn't feel correct - hence bumped to a measure of 1

@carlpulley-da carlpulley-da marked this pull request as ready for review September 23, 2025 13:14
@carlpulley-da carlpulley-da requested review from remyhaemmerle-da and a team September 23, 2025 13:15
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.

Extend preprocess input size costs to the transaction tree
1 participant