Conversation
f996074 to
7f6d5ac
Compare
03f57c8 to
092ff6c
Compare
092ff6c to
b3d21d9
Compare
seaona
left a comment
There was a problem hiding this comment.
added a couple of small suggestions. Let me know if they make sense!
| // Tempo Transactions | ||
|
|
||
| // ERC20 TST token created and owned by shared account 0x13b7e6EBcd40777099E4c45d407745aB2de1D1F8 | ||
| const erc20TokenAddress = '0x86fA047df5b69df0CBD6dF566F1468756dCF339D'; |
There was a problem hiding this comment.
for adding a bit more flexibility in the testing side, could we add an input element in the front end, so we can pass our custom ERC20 token address if we wish?
This address could be taken as the default value, if none is provided.
Wdyt?
| // ERC20 TST token created and owned by shared account 0x13b7e6EBcd40777099E4c45d407745aB2de1D1F8 | ||
| const erc20TokenAddress = '0x86fA047df5b69df0CBD6dF566F1468756dCF339D'; | ||
| const chainId = '0x89'; // Forcing to Polygon PoS for now since EIP7702 not available on Tempo | ||
| const feeToken = '0x3c499c542cef5e3811e1192ce70d8cc03d5c3359'; // USDC Coin (PoS) for Polygon Mainnet testing |
There was a problem hiding this comment.
same to these, maybe if we can choose that from the UI as well, we won't need additional changes later (ie changing the chaind)
|
@seaona Ok will do a form and use the current values as default to maintain the aspect "one click to test" possible. |
b3d21d9 to
7ad8413
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
7ad8413 to
feeaf74
Compare
|
@seaona comments addressed ;) |

Note
Medium Risk
Introduces new transaction-sending UI that can trigger real on-chain ERC20 transfers using a custom tx type and fee token fields. Risk is mainly accidental execution/misconfiguration rather than deep system impact.
Overview
Adds a new “Tempo Transactions” test component that renders inputs for
chainId, ERC20 token address, and fee token, plus a button to submit a Tempotype: 0x76batchedeth_sendTransactionwith two hardcoded ERC20transfercalls.Wires this component into
src/index.jsso it appears in the app UI and enables/disables it based on the existingglobalConnectionChange/disableAndClearevents, displaying the resulting tx hash (or error) inline.Written by Cursor Bugbot for commit 5470e68. This will update automatically on new commits. Configure here.