monorepo
monorepo copied to clipboard
enrollCustom does not emit events
Describe the bug
The enrollCustom function does not emit events so the subgraph state doesn't accurately reflect custom representations. This causes offchain agents to be unable to retrieve the correct assets.
To Reproduce Steps to reproduce the behavior:
- Setup new asset
- Call
enrollCustomto register the new asset as the new representation in the lookup tables - Try to transfer the new representation with
xcall - Router subscriber will error with "Unable to get asset" on execute
- XCall stalls forever
Additional context
See transferId: 0x90410c48109664efa8a73d4ad01fdedb5ba3876ad6f34d49e5806623cfc0a388 for an example using madWETH from Rinkeby -> Goerli.