Skip to content

Commit 6f0efd8

Browse files
authored
fix: apply changes for shared bridge and custom base token (#152)
1 parent bba983b commit 6f0efd8

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

package-lock.json

+10-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"scripts": {
1818
"build": "tsc -p tsconfig.build.json",
19-
"dev": "cross-env NODE_ENV=development ts-node-esm src/index.ts",
19+
"dev": "cross-env NODE_ENV=development node --no-warnings=ExperimentalWarning --loader ts-node/esm src/index.ts",
2020
"typecheck": "tsc -p . --noEmit",
2121
"lint": "eslint . --ext ./src/* --fix --ignore-path .gitignore --no-error-on-unmatched-pattern --max-warnings=0",
2222
"commitlint": "commitlint --edit"
@@ -49,7 +49,7 @@
4949
"zkcli-dockerized-node": "^1.0.9",
5050
"zkcli-in-memory-node": "^1.0.8",
5151
"zkcli-portal": "^1.0.3",
52-
"zksync-ethers": "^5.1.0"
52+
"zksync-ethers": "5.9.1"
5353
},
5454
"devDependencies": {
5555
"@commitlint/cli": "^17.7.1",

src/commands/bridge/deposit.ts

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export const handler = async (options: DepositOptions) => {
125125
token: token.l1Address,
126126
amount: decimalToBigNumber(options.amount),
127127
approveERC20: true,
128+
approveBaseERC20: true,
128129
});
129130
await depositHandle.waitL1Commit();
130131
spinner.stop();

0 commit comments

Comments
 (0)