why-op-failed/opencode-google-gemini-4-argon/name-only/2 · pass
Outcome
pass
1/1 Checks passed
Turns
5
model turns
CLI calls
5
0 exited non-zero
Help lookups
2
reads of the CLI's help
Tokens in
17690
6305 of them cached
Tokens out
833
written by the model
Cost
$0.03
of the model calls
Wall time
50.0s
from start to the Checks
checks
| # | check | result | detail | signal |
|---|---|---|---|---|
| 1 | answer contains "ERC20InsufficientAllowance" | pass | the answer contains "ERC20InsufficientAllowance" · expected: ERC20InsufficientAllowance |
reproduce
unsnag run --scenario why-op-failed --agent opencode:google/gemini-4-argon --context name-only --runs 1 Transcript highlighted = a Signal fired
| # | actor | content | exit | signal |
|---|---|---|---|---|
| 0 | user | You have the `pimlico` CLI available. A user says their user operation 0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920 failed. Why did it fail? | ||
| 1 | agent | $ pimlico --help pimlico 1.2.0 Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain and Solana. An API key is required to call our bundler and paymaster; sponsorship policies are optional hardening that limits which operations you pay for, on which chains and up to what amount. Usage and billing are transparent: see what you used and what you owe with `pimlico usage` and `pimlico balance`. Usage pimlico <command> [options] Account login Log in to Pimlico in the browser logout Log out and forget the stored credentials whoami Show the logged-in account Billing & usage balance Credits, open invoices, unbilled usage and headroom invoices Stripe invoices for the account usage Requests, API credits and sponsored USD, EVM and Solana Debug op <userOpHash> Status and timeline of a user operation ops User operation logs with revert reason, policy and cost requests RPC request logs with the error of failed calls solana txs Sponsored and SPL-paid Solana transactions Configure keys list List API keys with last use and 30-day traffic keys get <name> Show one API key by name keys create Create an API key (the key is shown once) keys rename <name> Rename an API key keys disable <name> Disable an API key (cannot be re-enabled from the CLI) policies list List sponsorship policies policies get <id> Show one policy, including its effective caps policies create Create a sponsorship policy (active unless --inactive) policies update <id> Change a policy's name, chains, caps or window policies enable <id> Switch a policy on policies disable <id> Switch a policy off erc20 tokens Tokens accepted by the ERC-20 paymaster chains [… 904 more characters] | ||
| 2 | agent | $ pimlico op 0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920 --json {
"userOpHash": "0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920",
"chainId": 84532,
"status": "execution_reverted_onchain",
"failed": true,
"transactionHash": "0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"revertReason": "ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)",
"policyId": "sp_amused_arclight",
"costUsd": "0.022000",
"timeline": [
{
"type": "received",
"at": "2026-11-16T20:04:32.131Z",
"transactionHash": null,
"data": null
},
{
"type": "queued",
"at": "2026-11-16T20:04:32.446Z",
"transactionHash": null,
"data": null
},
{
"type": "added_to_mempool",
"at": "2026-11-16T20:04:32.566Z",
"transactionHash": null,
"data": null
},
{
"type": "submitted",
"at": "2026-11-16T20:04:33.961Z",
"transactionHash": "0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571",
"data": null
},
{
"type": "execution_reverted_onchain",
"at": "2026-11-16T20:04:39.107Z",
"transactionHash": "0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571",
"data": {
"reason": "ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)"
}
}
],
"warnings": []
}
$ pimlico ops --help Usage: pimlico ops [options]
User operation logs of your API keys, newest first, with revert reason, policy
and cost. Operations rejected on submission (validation errors such as AA24)
never become operations: find them with `pimlico requests --method
eth_sendUserOperation --status error`
Options:
--key <name> Only this API key, by name (see `pimlico keys list`); every
active key when omitted
--chain <chainId> Only this EVM chain
--status <status> Only operations whose latest status is this (choices:
"received", "failed_validation", "queued",
"added_to_mempool", "submitted", "dropped",
"included_onchain", "frontran_onchain", "failed_onchain",
"execution_reverted_onchain")
--last <window> Only records from the last 24h, 7d or 30d (choices: "24h",
"7d", "30d", default: "24h")
--limit <n> Records per page, 1 to 100 (default: 50)
--cursor <cursor> Continue from a previous page's nextCursor
--all Walk every page until exhausted or --max; with --json
prints NDJSON
--max <n> Stop --all after this many records (default: 1000)
--csv Print CSV instead of a table
-h, --help display help for command
| ||
| 3 | agent | $ pimlico ops --limit 5 --json {
"items": [
{
"userOpHash": "0x8497fe299408a4fa09991e98340e4aeea7b5dc3f0f1315b06debafec4e672e32",
"chainId": 8453,
"status": "added_to_mempool",
"pending": true,
"transactionHash": null,
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0x13f5794d5d1302332ee9a10aaaadb6bd6d20ea54",
"revertReason": null,
"policy": "sp_brave_banshee",
"costUsd": null,
"key": "production-web",
"createdAt": "2026-11-16T23:20:44.422Z"
},
{
"userOpHash": "0xa28c8a8bd1b819283d12ded571613c5506a719dc36b924483bf99f11adeb3dce",
"chainId": 42161,
"status": "added_to_mempool",
"pending": true,
"transactionHash": null,
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xe408e454496404967a895b0b9e280100a54fb190",
"revertReason": null,
"policy": "sp_brave_banshee",
"costUsd": null,
"key": "production-web",
"createdAt": "2026-11-16T23:17:58.857Z"
},
{
"userOpHash": "0xd5184662105a43f0dd8fd4249e9d1f49bf1e34435a5bd955248d28a8ffbb5165",
"chainId": 84532,
"status": "added_to_mempool",
"pending": true,
"transactionHash": null,
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0x0b9f075fc4919611621314041c022249dd4eaeff",
"revertReason": null,
"policy": "sp_amused_arclight",
"costUsd": null,
"key": "fixture-key",
"createdAt": "2026-11-16T23:17:45.329Z"
},
{
"userOpHash": "0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47",
"chainId": 10,
"status": "included_onchain",
"pending": false,
"transactionHash": "0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xbee51ccb71fd291605fbd9df7ed201329cfb892c",
"revertReason": null,
"policy": "sp_brave_banshe
[… 772 more characters] | ||
| 4 | agent | $ pimlico ops --status execution_reverted_onchain --chain 84532 --json {
"items": [
{
"userOpHash": "0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920",
"chainId": 84532,
"status": "execution_reverted_onchain",
"pending": false,
"transactionHash": "0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e",
"revertReason": "ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)",
"policy": "sp_amused_arclight",
"costUsd": "0.022000",
"key": "fixture-key",
"createdAt": "2026-11-16T20:04:32.132Z"
},
{
"userOpHash": "0x500dbfb98c90bb415b527d1f2c3375d70b952b736643f9f7e83bf2a2e1b12233",
"chainId": 84532,
"status": "execution_reverted_onchain",
"pending": false,
"transactionHash": "0x71d08db36a55a879954f34e4ba990b0cabf52c380cf877dd1eaebf926284fb42",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xf6f39d5219837781a392e3f243fb902ea5e5a706",
"revertReason": "ERC20: transfer amount exceeds balance",
"policy": "sp_amused_arclight",
"costUsd": "0.033000",
"key": "fixture-key",
"createdAt": "2026-11-16T17:45:49.650Z"
},
{
"userOpHash": "0x0299628e6bff7d262ebd81d3d1350eac540aeedadf31b8058a0160559e0df201",
"chainId": 84532,
"status": "execution_reverted_onchain",
"pending": false,
"transactionHash": "0xf0636fcf52533f69a93b778f4bde7253e85b3224015374b777a2d0773f0d7f30",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xb6342d6d52a9094a6521d0ce21c08d8f30215c13",
"revertReason": "ERC20: transfer amount exceeds balance",
"policy": "sp_amused_arclight",
"costUsd": "0.011000",
"key": "fixture-key",
"createdAt": "2026-11-16T14:46:32.845Z"
},
{
"userOpHash": "0x03e27accdd0fb72979f22f9537118f8735f6
[… 3711 more characters] | ||
| 5 | agent | The user operation `0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920` was submitted and included on-chain, but its execution reverted (`execution_reverted_onchain`) with the following reason: ```text ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000) ``` ### Why it failed During execution, an ERC-20 token transfer (`transferFrom`) was attempted by spender `0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108` for an amount of `25000000` (e.g., 25 tokens for a 6-decimal token like USDC), but the spender's current token allowance from the smart account (`0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e`) was `0`. ### Operation Details - **Status:** `execution_reverted_onchain` - **Chain:** Base Sepolia (`84532`) - **Sender:** `0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e` - **EntryPoint:** `0x0000000071727De22E5E9d8BAf0edAc6f37da032` (v0.7) - **Transaction Hash:** `0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571` - **Sponsorship Policy:** `sp_amused_arclight` (API key: `fixture-key`) ### How to fix it Ensure the smart account approves `0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108` to spend at least `25000000` units of the ERC-20 token (for example, by batching an `approve(spender, amount)` call before the call that triggers `transferFrom` inside the user operation). |
Target CLI calls
| # | call | exit | ms | signal |
|---|---|---|---|---|
| 0 | $ pimlico --help pimlico 1.2.0 Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain and Solana. An API key is required to call our bundler and paymaster; sponsorship policies are optional hardening that limits which operations you pay for, on which chains and up to what amount. Usage and billing are transparent: see what you used and what you owe with `pimlico usage` and `pimlico balance`. Usage pimlico <command> [options] Account login Log in to Pimlico in the browser logout Log out and forget the stored credentials whoami Show the logged-in account Billing & usage balance Credits, open invoices, unbilled usage and headroom invoices Stripe invoices for the account usage Requests, API credits and sponsored USD, EVM and Solana Debug op <userOpHash> Status and timeline of a user operation ops User operation logs with revert reason, policy and cost requests RPC request logs with the error of failed calls solana txs Sponsored and SPL-paid Solana transactions Configure keys list List API keys with last use and 30-day traffic keys get <name> Show one API key by name keys create Create an API key (the key is shown once) keys rename <name> Rename an API key keys disable <name> Disable an API key (cannot be re-enabled from the CLI) policies list List sponsorship policies policies get <id> Show one policy, including its effective caps policies create Create a sponsorship policy (active unless --inactive) policies update <id> Change a policy's name, chains, caps or window policies enable <id> Switch a policy on policies disable <id> Switch a policy off erc20 tokens Tokens accepted by the ERC-20 paymaster chains [… 904 more characters] | 0 | 182 | |
| 1 | $ pimlico op 0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920 --json {
"userOpHash": "0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920",
"chainId": 84532,
"status": "execution_reverted_onchain",
"failed": true,
"transactionHash": "0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"revertReason": "ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)",
"policyId": "sp_amused_arclight",
"costUsd": "0.022000",
"timeline": [
{
"type": "received",
"at": "2026-11-16T20:04:32.131Z",
"transactionHash": null,
"data": null
},
{
"type": "queued",
"at": "2026-11-16T20:04:32.446Z",
"transactionHash": null,
"data": null
},
{
"type": "added_to_mempool",
"at": "2026-11-16T20:04:32.566Z",
"transactionHash": null,
"data": null
},
{
"type": "submitted",
"at": "2026-11-16T20:04:33.961Z",
"transactionHash": "0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571",
"data": null
},
{
"type": "execution_reverted_onchain",
"at": "2026-11-16T20:04:39.107Z",
"transactionHash": "0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571",
"data": {
"reason": "ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)"
}
}
],
"warnings": []
}
| 0 | 282 | |
| 2 | $ pimlico ops --help Usage: pimlico ops [options]
User operation logs of your API keys, newest first, with revert reason, policy
and cost. Operations rejected on submission (validation errors such as AA24)
never become operations: find them with `pimlico requests --method
eth_sendUserOperation --status error`
Options:
--key <name> Only this API key, by name (see `pimlico keys list`); every
active key when omitted
--chain <chainId> Only this EVM chain
--status <status> Only operations whose latest status is this (choices:
"received", "failed_validation", "queued",
"added_to_mempool", "submitted", "dropped",
"included_onchain", "frontran_onchain", "failed_onchain",
"execution_reverted_onchain")
--last <window> Only records from the last 24h, 7d or 30d (choices: "24h",
"7d", "30d", default: "24h")
--limit <n> Records per page, 1 to 100 (default: 50)
--cursor <cursor> Continue from a previous page's nextCursor
--all Walk every page until exhausted or --max; with --json
prints NDJSON
--max <n> Stop --all after this many records (default: 1000)
--csv Print CSV instead of a table
-h, --help display help for command
| 0 | 191 | |
| 3 | $ pimlico ops --limit 5 --json {
"items": [
{
"userOpHash": "0x8497fe299408a4fa09991e98340e4aeea7b5dc3f0f1315b06debafec4e672e32",
"chainId": 8453,
"status": "added_to_mempool",
"pending": true,
"transactionHash": null,
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0x13f5794d5d1302332ee9a10aaaadb6bd6d20ea54",
"revertReason": null,
"policy": "sp_brave_banshee",
"costUsd": null,
"key": "production-web",
"createdAt": "2026-11-16T23:20:44.422Z"
},
{
"userOpHash": "0xa28c8a8bd1b819283d12ded571613c5506a719dc36b924483bf99f11adeb3dce",
"chainId": 42161,
"status": "added_to_mempool",
"pending": true,
"transactionHash": null,
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xe408e454496404967a895b0b9e280100a54fb190",
"revertReason": null,
"policy": "sp_brave_banshee",
"costUsd": null,
"key": "production-web",
"createdAt": "2026-11-16T23:17:58.857Z"
},
{
"userOpHash": "0xd5184662105a43f0dd8fd4249e9d1f49bf1e34435a5bd955248d28a8ffbb5165",
"chainId": 84532,
"status": "added_to_mempool",
"pending": true,
"transactionHash": null,
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0x0b9f075fc4919611621314041c022249dd4eaeff",
"revertReason": null,
"policy": "sp_amused_arclight",
"costUsd": null,
"key": "fixture-key",
"createdAt": "2026-11-16T23:17:45.329Z"
},
{
"userOpHash": "0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47",
"chainId": 10,
"status": "included_onchain",
"pending": false,
"transactionHash": "0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xbee51ccb71fd291605fbd9df7ed201329cfb892c",
"revertReason": null,
"policy": "sp_brave_banshe
[… 772 more characters] | 0 | 427 | |
| 4 | $ pimlico ops --status execution_reverted_onchain --chain 84532 --json {
"items": [
{
"userOpHash": "0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920",
"chainId": 84532,
"status": "execution_reverted_onchain",
"pending": false,
"transactionHash": "0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e",
"revertReason": "ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)",
"policy": "sp_amused_arclight",
"costUsd": "0.022000",
"key": "fixture-key",
"createdAt": "2026-11-16T20:04:32.132Z"
},
{
"userOpHash": "0x500dbfb98c90bb415b527d1f2c3375d70b952b736643f9f7e83bf2a2e1b12233",
"chainId": 84532,
"status": "execution_reverted_onchain",
"pending": false,
"transactionHash": "0x71d08db36a55a879954f34e4ba990b0cabf52c380cf877dd1eaebf926284fb42",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xf6f39d5219837781a392e3f243fb902ea5e5a706",
"revertReason": "ERC20: transfer amount exceeds balance",
"policy": "sp_amused_arclight",
"costUsd": "0.033000",
"key": "fixture-key",
"createdAt": "2026-11-16T17:45:49.650Z"
},
{
"userOpHash": "0x0299628e6bff7d262ebd81d3d1350eac540aeedadf31b8058a0160559e0df201",
"chainId": 84532,
"status": "execution_reverted_onchain",
"pending": false,
"transactionHash": "0xf0636fcf52533f69a93b778f4bde7253e85b3224015374b777a2d0773f0d7f30",
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
"sender": "0xb6342d6d52a9094a6521d0ce21c08d8f30215c13",
"revertReason": "ERC20: transfer amount exceeds balance",
"policy": "sp_amused_arclight",
"costUsd": "0.011000",
"key": "fixture-key",
"createdAt": "2026-11-16T14:46:32.845Z"
},
{
"userOpHash": "0x03e27accdd0fb72979f22f9537118f8735f6
[… 3711 more characters] | 0 | 171 |
Final state
outcome
pass
final answer
The user operation `0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920` was submitted and included on-chain, but its execution reverted (`execution_reverted_onchain`) with the following reason: ```text ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000) ``` ### Why it failed During execution, an ERC-20 token transfer (`transferFrom`) was attempted by spender `0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108` for an amount of `25000000` (e.g., 25 tokens for a 6-decimal token like USDC), but the spender's current token allowance from the smart account (`0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e`) was `0`. ### Operation Details - **Status:** `execution_reverted_onchain` - **Chain:** Base Sepolia (`84532`) - **Sender:** `0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e` - **EntryPoint:** `0x0000000071727De22E5E9d8BAf0edAc6f37da032` (v0.7) - **Transaction Hash:** `0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571` - **Sponsorship Policy:** `sp_amused_arclight` (API key: `fixture-key`) ### How to fix it Ensure the smart account approves `0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108` to spend at least `25000000` units of the ERC-20 token (for example, by batching an `approve(spender, amount)` call before the call that triggers `transferFrom` inside the user operation).
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
webfetch (sandbox)
context inputs
none
prompt
You have the `pimlico` CLI available. A user says their user operation 0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920 failed. Why did it fail?