Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dependencies #43

Merged
merged 2 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 37 additions & 27 deletions e2edemo/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 e2edemo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"devDependencies": {
"@iconfoundation/btp2-solidity-library": "^0.2.0",
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
"@openzeppelin/contracts-upgradeable": "^4.7.3",
"@openzeppelin/contracts-upgradeable": "^4.9.2",
"hardhat": "^2.12.7",
"icon-sdk-js": "^1.4.5",
"icon-sdk-js": "^1.5.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
Expand Down
4 changes: 2 additions & 2 deletions e2edemo/scripts/demo_dapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ async function checkCallMessage(dst: string, srcChain: any, dstChain: any, sn: B
async function invokeExecuteCall(dst: string, dstChain: any, reqId: BigNumber, data: string) {
if (isEVMChain(dstChain)) {
const xcallDst = await ethers.getContractAt('CallService', dstChain.contracts.xcall);
return await xcallDst.executeCall(reqId, data, {gasLimit: 300000})
return await xcallDst.executeCall(reqId, data, {gasLimit: 600000})
.then((tx) => tx.wait(1))
.then((receipt) => {
if (receipt.status != 1) {
Expand Down Expand Up @@ -376,7 +376,7 @@ async function checkRollbackMessage(src: string, srcChain: any, blockNum: number
async function invokeExecuteRollback(src: string, srcChain: any, sn: BigNumber) {
if (isEVMChain(srcChain)) {
const xcallSrc = await ethers.getContractAt('CallService', srcChain.contracts.xcall);
return await xcallSrc.executeRollback(sn, {gasLimit: 300000})
return await xcallSrc.executeRollback(sn, {gasLimit: 600000})
.then((tx) => tx.wait(1))
.then((receipt) => {
if (receipt.status != 1) {
Expand Down