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: include witness data in estimation #1426

Merged
merged 9 commits into from
Jun 14, 2024

Conversation

MujkicA
Copy link
Contributor

@MujkicA MujkicA commented Jun 13, 2024

While estimating to determine the script gas limit we use placeholders for witness data but this assumes that witness data only contains signatures which may not always be the case.
This PR makes sure the existing witnesses are retained before estimating.

Checklist

  • I have linked to any relevant issues.
  • I have updated the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added necessary labels.
  • I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
  • I have requested a review from the relevant team or maintainers.

@MujkicA MujkicA added bug Something isn't working enhancement New feature or request labels Jun 13, 2024
@MujkicA MujkicA self-assigned this Jun 13, 2024
Copy link
Contributor

@Br1ght0ne Br1ght0ne left a comment

Choose a reason for hiding this comment

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

Solid work 🚀

Copy link
Member

@digorithm digorithm left a comment

Choose a reason for hiding this comment

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

:shipit:

@MujkicA MujkicA enabled auto-merge (squash) June 14, 2024 20:41
@MujkicA MujkicA merged commit a3b3f8a into master Jun 14, 2024
44 checks passed
@MujkicA MujkicA deleted the feature/include-witness-data-in-estimation branch June 14, 2024 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants