monorepo icon indicating copy to clipboard operation
monorepo copied to clipboard

enrollCustom does not emit events

Open just-a-node opened this issue 3 years ago • 0 comments

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:

  1. Setup new asset
  2. Call enrollCustom to register the new asset as the new representation in the lookup tables
  3. Try to transfer the new representation with xcall
  4. Router subscriber will error with "Unable to get asset" on execute
  5. XCall stalls forever

Additional context

See transferId: 0x90410c48109664efa8a73d4ad01fdedb5ba3876ad6f34d49e5806623cfc0a388 for an example using madWETH from Rinkeby -> Goerli.

The relevant DD logs

just-a-node avatar Aug 12 '22 02:08 just-a-node