Skip to content

Conversation

@byteZorvin
Copy link
Member

@byteZorvin byteZorvin commented Dec 5, 2025

Pull Request type

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Testing
  • Other (please describe):

What is the current behavior?

The estimate_fee RPC method always sets charge_fee to false when creating execution flags, ignoring the node's charge_fee configuration.

Resolves: #NA

What is the new behavior?

The estimate_fee method now respects the charge_fee configuration from the node's validator parameters. The charge_fee value is passed through the RPC service and used when creating execution flags for fee estimation.

Does this introduce a breaking change?

No

@Mohiiit Mohiiit added bug Report an issue or unexpected behavior madara labels Dec 5, 2025
Copy link
Member Author

@byteZorvin byteZorvin left a comment

Choose a reason for hiding this comment

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

The bug was identified and it wasnt due to madara/blockifier but the custom account from starkpay where they handle txn versions differently.
In the above context, closing this PR

@byteZorvin byteZorvin closed this Dec 10, 2025
@github-project-automation github-project-automation bot moved this to Done in Madara Dec 10, 2025
@byteZorvin byteZorvin deleted the fix/estimate_fee_charge_fee branch December 10, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Report an issue or unexpected behavior madara

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants