Skip to content

feat: use on-chain discoverability for deposits #59

@itegulov

Description

@itegulov

End goal: Stop calling zks_getBridgeContracts for deposits
Motivation: This RPC method is scheduled for deprecation

We only use two fields from the return object both of which can be replaced with on-chain discoverability:

  • l1_shared_default_bridge = bridgeHub.sharedBridge()
  • l2_shared_default_bridge = 0x10003

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions