Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ZKSync provider types #5207

Open
wants to merge 274 commits into
base: main
Choose a base branch
from

Conversation

ljankovic-txfusion
Copy link
Collaborator

@ljankovic-txfusion ljankovic-txfusion commented Jan 20, 2025

Description

This PR introduces specific ZKSync Provider types for SDK.

PR to feat/core-zksync

Drive-by changes

  • Added ZKSync provider types and interfaces
  • Created builder functions for ZKSync provider configuration

Related issues

None

Backward compatibility

Yes

Testing

Build passing

ljankovic-txfusion and others added 30 commits September 30, 2024 15:28
…hyperlane-monorepo-zksync into txfusion/sending-messages
type: ProviderType.ZkSync;
transaction: zkSyncTypes.TransactionRequest;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't it have to ba added to the enum below?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it should?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did this not cause an issue in a later PR?

Copy link
Contributor

@paulbalaji paulbalaji Jan 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ethers/zksync-ethers provider are similar enough in where we use them that it would still be fine with the original ethers provider type / interface

would open up something breaking in the future should we do something that is in the zk-ethers but not in regular ethers

Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.53%. Comparing base (11cf66c) to head (67369ae).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5207   +/-   ##
=======================================
  Coverage   77.53%   77.53%           
=======================================
  Files         103      103           
  Lines        2110     2110           
  Branches      190      190           
=======================================
  Hits         1636     1636           
  Misses        453      453           
  Partials       21       21           
Components Coverage Δ
core 87.80% <ø> (ø)
hooks 79.39% <ø> (ø)
isms 83.68% <ø> (ø)
token 91.27% <ø> (ø)
middlewares 79.80% <ø> (ø)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

6 participants