From 0d524b8e05236bfdbd1990e031059dbac144bf94 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 8 Nov 2025 15:36:49 +0000 Subject: [PATCH 1/2] Initial plan From 805191acde1e6e644c9795a1333816a8f5a1c04a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 8 Nov 2025 15:40:23 +0000 Subject: [PATCH 2/2] Replace paymasterSignature field instruction with paymasterAndData field update Co-authored-by: drortirosh <40341007+drortirosh@users.noreply.github.com> --- docs/paymasters/paymaster-signature.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/paymasters/paymaster-signature.md b/docs/paymasters/paymaster-signature.md index 9b8991b..ad87de9 100644 --- a/docs/paymasters/paymaster-signature.md +++ b/docs/paymasters/paymaster-signature.md @@ -15,7 +15,7 @@ which allows for the Account and the Paymaster to sign the rest of the `UserOper 3. Build the rest of the `UserOperation` and send it for signing to the Account and the Paymaster services in parallel. 4. Set the `signature` field of the `UserOperation` to the result of the Account signature as usual. 5. Calculate the size of the Paymaster Signature and store it in a `uint16 paymasterSignatureSize` variable. -6. Set the `paymasterSignature` field of the `UserOperation` to exactly `abi.encodePacked(paymasterAndData, paymasterSignatureSize, PAYMASTER_SIG_MAGIC)`. +6. Replace the `paymasterAndData` field with the value `abi.encodePacked(paymasterAndData, paymasterSignatureSize, PAYMASTER_SIG_MAGIC)`. ## Summary of `paymasterAndData` format