docs: add EOA-only limitation note to transaction-memo-integration example - #206
consumeobeydie wants to merge 4 commits into
Conversation
…ration-example docs: add Arc Transaction Memo integration example with Multi-Agent O…
…t Economy contracts
…ample The Memo contract's callFrom precompile requires msg.sender == tx.origin, which means contract-based accounts (Developer Controlled Wallets, ERC-4337 SCAs) silently revert. Confirmed on Arc Testnet (Chain ID: 5042002). Adds: - Known Limitations section explaining the EOA-only constraint - Code examples showing what works (EOA via viem) vs what fails (SCA) - References to IMemo.sol and ICallFrom.sol NatSpec
|
Thanks for documenting the EOA-only constraint — this is a real footgun for builders on Arc and worth having in the official docs. I've been building the Arc Stablecoin DApp on Arc Testnet and can confirm the
|
|
Hi @consumeobeydie, Thank you for your interest in contributing to Arc Node, and apologies for the delay in getting back to this PR. We're closing out the pull request backlog that predates our current contribution policy. This PR is being closed because it does not reference a GitHub issue. All PRs must reference an existing issue using the format This is not a judgement on the change itself. If you'd still like to land it:
Please see CONTRIBUTING.md for details. Thanks again for taking the time to contribute. |
Summary
Adds a "Known Limitations" section to the transaction memo integration example documenting the EOA-only constraint of the Memo contract.
What this adds
The
callFromprecompile requiresmsg.sender == tx.origin, which means any contract-based account (Circle Developer Controlled Wallets, ERC-4337 SCAs, Modular Wallets) will silently revert when callingmemo().This was confirmed on Arc Testnet (Chain ID: 5042002) — gas estimation also fails for the same reason when using
callFromsimulation with contract-based senders.Changes
Related
This was flagged in the Arc Discord by @timothy Baker after I reported the revert behavior while building on Arc Testnet.