Skip to content

Commit

Permalink
Replacing pnpx command with pnpm (#98)
Browse files Browse the repository at this point in the history
# What 💻 
* Replacing pnpx command with pnpm (pnpx is deprecated)

# Why ✋
* Pnpx command cause errors

# Evidence 📷
Include screenshots, screen recordings, or `console` output here
demonstrating that your changes work as intended

<!-- All sections below are optional. You can uncomment any section
applicable to your Pull Request. -->

<!-- # Notes 📝
* Any notes/thoughts that the reviewers should know prior to reviewing
the code? -->
  • Loading branch information
amelnytskyi authored May 31, 2024
1 parent d3e5944 commit 98a1ceb
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ yarn hardhat deploy-zksync --script deploy.ts
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script deploy.ts
pnpm exec hardhat deploy-zksync --script deploy.ts
# The deploy keyword will trigger the `deploy` script command on `package.json`
# To deploy the contract on local in-memory node:
# pnpx exec hardhat deploy-zksync --script deploy.ts --network inMemoryNode
# pnpm exec hardhat deploy-zksync --script deploy.ts --network inMemoryNode
```

```bash [bun]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ yarn hardhat deploy-zksync --script deployApprovalFlowPaymaster.ts
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script deployApprovalFlowPaymaster.ts
pnpm exec hardhat deploy-zksync --script deployApprovalFlowPaymaster.ts
# To deploy the contract on local in-memory node:
# pnpx exec hardhat deploy-zksync --script deployApprovalFlowPaymaster.ts --network inMemoryNode
# pnpm exec hardhat deploy-zksync --script deployApprovalFlowPaymaster.ts --network inMemoryNode
```

```bash [bun]
Expand Down Expand Up @@ -386,7 +386,7 @@ yarn hardhat deploy-zksync --script interact/interactWithApprovalFlowPaymaster.t
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script interact/interactWithApprovalFlowPaymaster.ts
pnpm exec hardhat deploy-zksync --script interact/interactWithApprovalFlowPaymaster.ts
```

```bash [bun]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ yarn hardhat deploy-zksync --script deployGaslessPaymaster.ts
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script deployGaslessPaymaster.ts
pnpm exec hardhat deploy-zksync --script deployGaslessPaymaster.ts
# To deploy the contract on local in-memory node:
# pnpx exec hardhat deploy-zksync --script deployGaslessPaymaster.ts --network inMemoryNode
# pnpm exec hardhat deploy-zksync --script deployGaslessPaymaster.ts --network inMemoryNode
```

```bash [bun]
Expand Down Expand Up @@ -337,7 +337,7 @@ yarn hardhat deploy-zksync --script interact/interactWithGaslessPaymaster.ts
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script interact/interactWithGaslessPaymaster.ts
pnpm exec hardhat deploy-zksync --script interact/interactWithGaslessPaymaster.ts
```

```bash [bun]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ yarn hardhat test --network hardhat
```

```bash [pnpm]
pnpx exec hardhat test --network hardhat
pnpm exec hardhat test --network hardhat
```

```bash [bun]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ yarn hardhat deploy-zksync --script deployBeaconProxy.ts
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script deployBeaconProxy.ts
pnpm exec hardhat deploy-zksync --script deployBeaconProxy.ts
# To deploy the contract on local in-memory node:
# pnpx exec hardhat deploy-zksync --script deployBeaconProxy.ts --network inMemoryNode
# pnpm exec hardhat deploy-zksync --script deployBeaconProxy.ts --network inMemoryNode
```

```bash [bun]
Expand Down Expand Up @@ -356,7 +356,7 @@ yarn hardhat deploy-zksync --script upgrade-scripts/upgradeBeaconCrowdfundingCam
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script upgrade-scripts/upgradeBeaconCrowdfundingCampaign.ts
pnpm exec hardhat deploy-zksync --script upgrade-scripts/upgradeBeaconCrowdfundingCampaign.ts
```

```bash [bun]
Expand Down Expand Up @@ -395,7 +395,7 @@ yarn hardhat verify <BEACON-PROXY-ADDRESS>
```

```bash [pnpm]
pnpx exec hardhat verify <BEACON-PROXY-ADDRESS>
pnpm exec hardhat verify <BEACON-PROXY-ADDRESS>
```

```bash [bun]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ yarn hardhat deploy-zksync --script deployTransparentProxy.ts
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script deployTransparentProxy.ts
pnpm exec hardhat deploy-zksync --script deployTransparentProxy.ts
# To deploy the contract on local in-memory node:
# pnpx exec hardhat deploy-zksync --script deployTransparentProxy.ts --network inMemoryNode
# pnpm exec hardhat deploy-zksync --script deployTransparentProxy.ts --network inMemoryNode
```

```bash [bun]
Expand Down Expand Up @@ -336,7 +336,7 @@ yarn hardhat deploy-zksync --script upgrade-scripts/upgradeCrowdfundingCampaign.
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script upgrade-scripts/upgradeCrowdfundingCampaign.ts
pnpm exec hardhat deploy-zksync --script upgrade-scripts/upgradeCrowdfundingCampaign.ts
```

```bash [bun]
Expand Down Expand Up @@ -377,7 +377,7 @@ yarn hardhat verify <PROXY-ADDRESS>
```

```bash [pnpm]
pnpx exec hardhat verify <PROXY-ADDRESS>
pnpm exec hardhat verify <PROXY-ADDRESS>
```

```bash [bun]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ yarn hardhat deploy-zksync --script deployUUPS.ts
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script deployUUPS.ts
pnpm exec hardhat deploy-zksync --script deployUUPS.ts
# To deploy the contract on local in-memory node:
# pnpx exec hardhat deploy-zksync --script deployUUPS.ts --network inMemoryNode
# pnpm exec hardhat deploy-zksync --script deployUUPS.ts --network inMemoryNode
```

```bash [bun]
Expand Down Expand Up @@ -346,7 +346,7 @@ yarn hardhat deploy-zksync --script upgrade-scripts/upgradeUUPSCrowdfundingCampa
```

```bash [pnpm]
pnpx exec hardhat deploy-zksync --script upgrade-scripts/upgradeUUPSCrowdfundingCampaign.ts
pnpm exec hardhat deploy-zksync --script upgrade-scripts/upgradeUUPSCrowdfundingCampaign.ts
```

```bash [bun]
Expand Down Expand Up @@ -382,7 +382,7 @@ yarn hardhat verify <PROXY-ADDRESS>
```

```bash [pnpm]
pnpx exec hardhat verify <PROXY-ADDRESS>
pnpm exec hardhat verify <PROXY-ADDRESS>
```

```bash [bun]
Expand Down

0 comments on commit 98a1ceb

Please sign in to comment.