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

ID-1598 Passport Fee Option optimisation #1713

Merged
merged 7 commits into from
May 14, 2024

Conversation

Jon-Alonso
Copy link
Contributor

@Jon-Alonso Jon-Alonso commented Apr 30, 2024

Summary

Updated the gas estimation strategy to no longer require a nonce and signature for performance reasons. This allows us to parallelize the nonce generation and transaction estimation and skip the signature step.

This change is backwards compatible.

Context: https://immutable.atlassian.net/wiki/spaces/PA/pages/2507669554/Passport+-+Gas+estimation+optimisation

OLD EXPERIENCE

Arbitrary transactions example:

old-generic.mov

Native IMX transfer example:

old-transfer.mov

NEW EXPERIENCE

Arbitrary transactions example:

opt-2-generic.mov

Native IMX transfer example:

opt-2-transfer.mov

@Jon-Alonso Jon-Alonso marked this pull request as ready for review May 10, 2024 04:48
@Jon-Alonso Jon-Alonso requested a review from a team as a code owner May 10, 2024 04:48
@Jon-Alonso Jon-Alonso changed the title ID-1598 POC Fee option optimisation ID-1598 Passport Fee Option optimisation May 10, 2024
@Jon-Alonso Jon-Alonso added this pull request to the merge queue May 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 14, 2024
@Jon-Alonso Jon-Alonso added this pull request to the merge queue May 14, 2024
Merged via the queue into main with commit 3d86ec6 May 14, 2024
11 checks passed
@Jon-Alonso Jon-Alonso deleted the feature/ID-ID-1598-fee-option-optimisation branch May 14, 2024 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants