Skip to content

Commit

Permalink
fix: apply changes for shared bridge and custom base token (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
Romsters authored Jul 9, 2024
1 parent bba983b commit 6f0efd8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
17 changes: 10 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"dev": "cross-env NODE_ENV=development ts-node-esm src/index.ts",
"dev": "cross-env NODE_ENV=development node --no-warnings=ExperimentalWarning --loader ts-node/esm src/index.ts",
"typecheck": "tsc -p . --noEmit",
"lint": "eslint . --ext ./src/* --fix --ignore-path .gitignore --no-error-on-unmatched-pattern --max-warnings=0",
"commitlint": "commitlint --edit"
Expand Down Expand Up @@ -49,7 +49,7 @@
"zkcli-dockerized-node": "^1.0.9",
"zkcli-in-memory-node": "^1.0.8",
"zkcli-portal": "^1.0.3",
"zksync-ethers": "^5.1.0"
"zksync-ethers": "5.9.1"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
Expand Down
1 change: 1 addition & 0 deletions src/commands/bridge/deposit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const handler = async (options: DepositOptions) => {
token: token.l1Address,
amount: decimalToBigNumber(options.amount),
approveERC20: true,
approveBaseERC20: true,
});
await depositHandle.waitL1Commit();
spinner.stop();
Expand Down

0 comments on commit 6f0efd8

Please sign in to comment.