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
132 stars 69 forks source link

[TASK] Outstanding Issues in Multi-Chain Feature for SDK #746

Closed satyajeetkolhapure closed 2 weeks ago

satyajeetkolhapure commented 4 weeks ago

On the branch, the feature to call multi chain is implemented. Although there are below remaining open issues need to be fixed.

  1. The .graphclientrc.yml file points to resolvers.ts which works examples in sdk but in explorer packaging it needs to change to resolvers.js. The js extension doesn't work with examples. Find a way which works for both browser and console examples
additionalResolvers:
  - ./src/resolvers.ts
  1. The .graphclient code generated using graphclient build command has syntax error

Uncaught SyntaxError: Unexpected string

The similar issue seems to be reported by others as well e.g this issue

Fix this issue trying different versions which are compatible with vite version

  1. An other issue appeared while fixing the first 2 ones: While the SDK is now compatible with a frontend environment, its own dependencies uses process.env notations, which you be "polyfilled" to make them useable in such an environment.