-
Notifications
You must be signed in to change notification settings - Fork 5.3k
feat: Implement the publishBatch hook for smart transactions #31267
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
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Builds ready [23830c0]
Page Load Metrics (2344 ± 239 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
app/scripts/controller-init/confirmations/transaction-controller-init.ts
Show resolved
Hide resolved
Builds ready [47992dd]
Page Load Metrics (3313 ± 1472 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
4b6e916
to
9143c77
Compare
Use the PublishBatchHookRequest type Signed-off-by: dan437 <[email protected]> Make transactionMeta mandatory for submitBatch, export getTransactionById, refactoring Signed-off-by: dan437 <[email protected]>
Signed-off-by: dan437 <[email protected]>
Signed-off-by: dan437 <[email protected]>
Signed-off-by: dan437 <[email protected]>
Builds ready [68a7c06]
UI Startup Metrics (1272 ± 60 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
app/scripts/controller-init/confirmations/transaction-controller-init.ts
Show resolved
Hide resolved
app/scripts/controller-init/confirmations/transaction-controller-init.ts
Show resolved
Hide resolved
app/scripts/controller-init/confirmations/transaction-controller-init.ts
Show resolved
Hide resolved
app/scripts/controller-init/confirmations/transaction-controller-init.ts
Show resolved
Hide resolved
app/scripts/controller-init/messengers/transaction-controller-messenger.ts
Show resolved
Hide resolved
Pull Request is not mergeable
Thanks a lot for great feedback, @matthewwalsh0 . It seems the PR got approved and automatically merged for today's release candidate, since it's very high priority. I will send a follow up PR which addresses your comments and get that cherry picked into the RC. |
Description
This PR implements the publishBatch hook for smart transactions, which will be used when submitting multiple transactions at once, e.g. when a user choose their gas token for a transaction.
We can test this end to end once UI for the Transaction Confirmation page is merged. Then we might need to do some final tweaks if needed.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist