Merge pull request #94 from TrooperCrypto/master

update zksync sdk to "^0.13"
This commit is contained in:
Trooper
2022-08-08 22:48:01 +02:00
committed by GitHub
3 changed files with 902 additions and 777 deletions

View File

@@ -400,7 +400,7 @@ async function sendFillRequest(orderreceipt, accountId) {
ratio: zksync.utils.tokenRatio(tokenRatio),
validUntil: oneMinExpiry
}
const fillOrder = await WALLETS[accountId].syncWallet.getOrder(orderDetails);
const fillOrder = await WALLETS[accountId].syncWallet.signOrder(orderDetails);
// Set wallet flag
WALLETS[accountId]['ORDER_BROADCASTING'] = true;

1675
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -14,7 +14,7 @@
"ethers": "^5.5.1",
"node-fetch": "^3.1.0",
"ws": "^8.2.3",
"zksync": "0.11.6"
"zksync": "^0.13.1"
},
"type": "module",
"devDependencies": {},