Skip to content

Commit

Permalink
EVM: Cleanup Contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
imsk17 committed Jun 6, 2024
1 parent 3a6f762 commit ac520ac
Show file tree
Hide file tree
Showing 94 changed files with 9 additions and 14,609 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@ton/crypto": "^3.2.0",
"@ton/ton": "^13.11.1",
"buffer": "^6.0.3",
"ethers": "^6.12.1",
"ethers": "^6.13",
"ethers-decode-error": "^2.1.3"
}
}
6 changes: 2 additions & 4 deletions src/chains/web3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export async function web3Helper({
tokenBalance: async (tkn, addr) =>
WrappedERC20__factory.connect(tkn, provider).balanceOf(addr),
sendInstallment: async (signer, amt, cid, fs, ts, da, gasArgs) => {
const ed = ErrorDecoder.create([bridge.interface])
const ed = ErrorDecoder.create([bridge.interface]);
try {
const tx = await bridge
.connect(signer)
Expand All @@ -106,10 +106,8 @@ export async function web3Helper({
hash: tx.hash,
};
} catch (e) {
throw await ed.decode(e)
throw await ed.decode(e);
}


},
};
}

This file was deleted.

Loading

0 comments on commit ac520ac

Please sign in to comment.