Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pass signerDetails to fix estimateFeeBulk #1299

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

dhruvkelawala
Copy link
Collaborator

@dhruvkelawala dhruvkelawala commented Jan 23, 2025

Motivation and Resolution

There is a bug in current bulk fee estimation or simulation because of accountInvocationsFactory not passing signerDetails.

It throws error when buildTransaction is called here

request: invocations.map((it) => this.buildTransaction(it, 'fee')),

Because tip was undefined

tip: toHex(invocation.tip),

RPC version (if applicable)

...

Usage related changes

  • Change 1.
  • ...

Development related changes

  • Change 1.
  • ...

Checklist:

  • Performed a self-review of the code
  • Rebased to the last commit of the target branch (or merged it into my branch)
  • Linked the issues which this PR resolves
  • Documented the changes in code (API docs will be generated automatically)
  • Updated the tests
  • All tests are passing

@tabaktoni
Copy link
Collaborator

Todo Testing

@tabaktoni tabaktoni merged commit f09f20d into develop Jan 23, 2025
3 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 23, 2025
## [6.21.1](v6.21.0...v6.21.1) (2025-01-23)

### Bug Fixes

* pass signerDetails to fix estimateFeeBulk ([#1299](#1299)) ([f09f20d](f09f20d))
Copy link

🎉 This PR is included in version 6.21.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants