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

Support Paymaster Transactions on Ledger #660

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove comment
  • Loading branch information
everdimension committed Nov 15, 2024
commit 2f889156a04972c4b972aa2dc8424f3398ff0844
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ export const HardwareSignTransaction = React.forwardRef(
'Iframe contentWindow is not available'
);
try {
// NOTE: Conditionally handle Paymaster Tx here? Query TypedData to sign from Wallet.ts,
// sign it via { id, method: 'signTypedData_v4' }, then? decide? maybe do a wallet request
// to zkSyncUtils.serialize() it, then return the result?... it'll proceed to Wallet
const result = await signRegularOrPaymasterTx({
transaction: normalizedTransaction,
messageHandler: hardwareMessageHandler,
Expand Down
Loading