Skip to content

Commit

Permalink
fix: zksync default build artifact (#5269)
Browse files Browse the repository at this point in the history
### Description

The aim of this PR is to satisfy the exports in `package.json` and to
ensure that the SDK build command succeeds in the upcoming ZKSync PRs
(imported by ContractVerification classes). In the `dist` folder, this
file is overwritten with the correct values when 'build:zk' is run.

### Drive-by changes

- Default export of buildArtifact as an empty object

### Related issues

None

### Backward compatibility

Yes

### Testing

Build passing in the upcoming ZKSync PRs

---------

Co-authored-by: Morteza Shojaei <[email protected]>
Co-authored-by: mshojaei-txfusion <[email protected]>
  • Loading branch information
3 people authored Jan 23, 2025
1 parent ea85aa8 commit 11cf66c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-feet-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/core': patch
---

Export empty zksync buildArtifact to satisfy package.json exports
1 change: 1 addition & 0 deletions solidity/core-utils/zksync/buildArtifact.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const buildArtifact: any = {};

0 comments on commit 11cf66c

Please sign in to comment.