Skip to content

Add static supported chains view method and add block constructor creation in case of valid chain Id #5

Description

@claudiovb

I'm submitting a...

  • bug report
  • feature request
  • documentation change

What is the issue?

Its hard in devX terms currently to know beforehand if a valid provider is supported or not by our current implementation of wdk-protocol-lending-aave-evm the user needs to create an instance and call one of the methods to have _getAddressMap called and the error returned
will say said blockchain is not supported

What is the current behaviour?

Possible solution

Implement a public static getSupportedChainsMethod or validateChain and also check the validity of the chains on constructor method
A possible solution could be...

Node v24.8.0 arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions