Commit 4fffc6a
authored
The `viem_call` simulation in `tempo.charge` and `tempo.session` spread
the deserialized transaction, including `feePayerSignature`, into the
`eth_call` request and explicitly set `feeToken`. The Tempo node treats
those fields as a sponsored-tx hint and tries to recover both signatures,
but `call` strips the sender signature, so recovery fails with 'fee payer
signature recovery failed' on every sponsored 0x76 charge.
Stripping `feeToken` and `feePayerSignature` keeps the VERIA-145 revert
guard intact while letting the node simulate the calls as a regular
`eth_call`.
Amp-Thread-ID: https://ampcode.com/threads/T-019e1503-5215-736f-a35a-292777404768
1 parent 94e76c6 commit 4fffc6a
3 files changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
413 | 412 | | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
451 | 450 | | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
610 | 609 | | |
| 610 | + | |
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
629 | 628 | | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | 765 | | |
| 766 | + | |
769 | 767 | | |
770 | 768 | | |
771 | 769 | | |
| |||
0 commit comments