Consensys / linea-attestation-registry

Verax is a shared registry for storing attestations of public interest on EVM chains, designed to enhance data discoverability and consumption for dApps across the network.
https://ver.ax
MIT License
129 stars 65 forks source link

[US] As an Issuer, I want to pass my custom ABI to the SDK to get contextualized errors #770

Open alainncls opened 2 days ago

alainncls commented 2 days ago

As an Issuer, I want to pass my custom ABI to the SDK to get contextualized errors, So that my application can handle error cases seemlessly


Currently, only the errors defined in the DefaultPortal ABI (and main registries ABI are taken into account when handling an error thrown by a transaction simulation.

This story aims to add a parameter/option to the SDK Portal's function (attest, replace, etc.) to pass a custom ABI for the Issuer's Portal. This ABI would be merged to the default one, so that all errors can be thrown in a contextual manner.

Chirag-S-Kotian commented 1 day ago

assign this to me and tell me where exactly this code is.