Skip to content

Conversation

devbugging
Copy link
Collaborator

Add inclusion fee for scheduled transactions in order to incentivize scheduling single transaction vs multiple.

let storageFee = FlowStorageFees.storageCapacityToFlow(dataSizeMB)

return scaledExecutionFee + storageFee
// Add inclusion Flow fee for scheduled transactions
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't this be better to just include in the FlowFees.computeFees call in calculateFees(). We can just use a higher inclusion effort there

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah but that wouldn't really be a base fee since it would depend on the priority. This felt to me more natural to think, like X is always minimum what you have to pay (no matter priority). But I'm open to change if you feel strongly against. How do you feel about the amount btw?

@devbugging devbugging marked this pull request as ready for review October 16, 2025 15:02
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