TGLD do not support cross chain transfer for Smart Wallet
users as per current logic. Smart Accounts have different address on each chain, and current cross chain logic only allows same address to be on all chains.
Relevant link - https://github.com/Cyfrin/2024-07-templegold/blob/main/protocol/contracts/templegold/TempleGold.sol#L281-L300
If you check the highlighted line, it enforced the to
must be msg.sender
, It works well for EOA's. However smart accounts aka ERC4337 wallets have different address on each chain most of the time.
With over 9.6 Million smart wallets and over 100 billion assets stored in them, and increasing usage of it day by day, there is high chance that there will users will have smart wallets for TGLD. This will be an issue as, the current logic will prevent smart account users to bridge TGLD to other chains like ETH, which could have been better for them, to participate in cross chain spice auction to get same incentive as other EOA's.
Smart accounts users are forced to stuck on same chain, missing the opportunity that other EOA's will be getting like participating in reverse spice chain auction on eth. If sent to same address, they will loose there TGLD to someone else.
Manual Review
As TGLD is by default non-transferrable, so minting it cross to any to address should not affect the protocol.
Alternatively, it should be shown on front end app, that smart accounts wallet won't be able to move cross chain.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.