diff --git a/examples/call/package.json b/examples/call/package.json index 5cb6659e..7d02a7ce 100644 --- a/examples/call/package.json +++ b/examples/call/package.json @@ -28,7 +28,7 @@ "@types/node": ">=12.0.0", "@typescript-eslint/eslint-plugin": "^5.59.9", "@typescript-eslint/parser": "^5.59.9", - "@zetachain/localnet": "6.0.0-rc5", + "@zetachain/localnet": "6.0.0-rc6", "@zetachain/toolkit": "13.0.0-rc15", "axios": "^1.3.6", "chai": "^4.2.0", @@ -61,4 +61,4 @@ "@zetachain/protocol-contracts": "11.0.0-rc3", "@zetachain/protocol-contracts-solana": "2.0.0-rc1" } -} \ No newline at end of file +} diff --git a/examples/call/yarn.lock b/examples/call/yarn.lock index 990e946c..4451ba99 100644 --- a/examples/call/yarn.lock +++ b/examples/call/yarn.lock @@ -2370,10 +2370,10 @@ typescript "5.5.4" zod "3.22.4" -"@zetachain/localnet@6.0.0-rc5": - version "6.0.0-rc5" - resolved "https://registry.yarnpkg.com/@zetachain/localnet/-/localnet-6.0.0-rc5.tgz#ebb2abfea80ae260ae96320bda29c28c288dd5d4" - integrity sha512-iZeJpS11dARW8wbPEAWsx98vLH1ZissBHgZK9X+gEa2iZNC/LomFS6SS3oKoyqFzLzDA8boBWjKnYu0GZldkuw== +"@zetachain/localnet@6.0.0-rc6": + version "6.0.0-rc6" + resolved "https://registry.yarnpkg.com/@zetachain/localnet/-/localnet-6.0.0-rc6.tgz#4cb8ce2f3388019b2d90ef74de87e271ceb9cfc1" + integrity sha512-3AMK/ya9SJxBENeGs1+bZtVwXgDZCuTTOP2cfxHq90qPwrpMeZnHGhhm9PCcLhoodXDOx8z+S/4vkzWRj9ghdw== dependencies: "@coral-xyz/anchor" "^0.30.1" "@inquirer/prompts" "^5.5.0" diff --git a/examples/hello/package.json b/examples/hello/package.json index 50aeadf5..87502153 100644 --- a/examples/hello/package.json +++ b/examples/hello/package.json @@ -28,7 +28,7 @@ "@types/node": ">=12.0.0", "@typescript-eslint/eslint-plugin": "^5.59.9", "@typescript-eslint/parser": "^5.59.9", - "@zetachain/localnet": "6.0.0-rc5", + "@zetachain/localnet": "6.0.0-rc6", "@zetachain/toolkit": "13.0.0-rc15", "axios": "^1.3.6", "chai": "^4.2.0", @@ -60,4 +60,4 @@ "@zetachain/networks": "10.0.0-rc4", "@zetachain/protocol-contracts": "11.0.0-rc3" } -} \ No newline at end of file +} diff --git a/examples/hello/yarn.lock b/examples/hello/yarn.lock index 990e946c..4451ba99 100644 --- a/examples/hello/yarn.lock +++ b/examples/hello/yarn.lock @@ -2370,10 +2370,10 @@ typescript "5.5.4" zod "3.22.4" -"@zetachain/localnet@6.0.0-rc5": - version "6.0.0-rc5" - resolved "https://registry.yarnpkg.com/@zetachain/localnet/-/localnet-6.0.0-rc5.tgz#ebb2abfea80ae260ae96320bda29c28c288dd5d4" - integrity sha512-iZeJpS11dARW8wbPEAWsx98vLH1ZissBHgZK9X+gEa2iZNC/LomFS6SS3oKoyqFzLzDA8boBWjKnYu0GZldkuw== +"@zetachain/localnet@6.0.0-rc6": + version "6.0.0-rc6" + resolved "https://registry.yarnpkg.com/@zetachain/localnet/-/localnet-6.0.0-rc6.tgz#4cb8ce2f3388019b2d90ef74de87e271ceb9cfc1" + integrity sha512-3AMK/ya9SJxBENeGs1+bZtVwXgDZCuTTOP2cfxHq90qPwrpMeZnHGhhm9PCcLhoodXDOx8z+S/4vkzWRj9ghdw== dependencies: "@coral-xyz/anchor" "^0.30.1" "@inquirer/prompts" "^5.5.0" diff --git a/examples/swap/scripts/localnet.sh b/examples/swap/scripts/localnet.sh index 85850399..f8f808e6 100755 --- a/examples/swap/scripts/localnet.sh +++ b/examples/swap/scripts/localnet.sh @@ -27,6 +27,7 @@ npx hardhat evm-swap \ --receiver "$CONTRACT_SWAP" \ --amount 0.1 \ --target "$ZRC20_USDC" \ + --skip-checks \ --recipient "$SENDER" npx hardhat localnet-check @@ -51,6 +52,7 @@ npx hardhat localnet-check npx hardhat companion-swap \ --network localhost \ + --skip-checks \ --contract "$COMPANION" \ --universal-contract "$CONTRACT_SWAP" \ --amount 0.1 \ @@ -127,4 +129,4 @@ npx hardhat localnet-check # npx hardhat localnet-check -if [ "$1" = "start" ]; then npx hardhat localnet-stop; fi \ No newline at end of file +# if [ "$1" = "start" ]; then npx hardhat localnet-stop; fi \ No newline at end of file diff --git a/examples/swap/tasks/evmSwap.ts b/examples/swap/tasks/evmSwap.ts index 32c79efd..04da663d 100644 --- a/examples/swap/tasks/evmSwap.ts +++ b/examples/swap/tasks/evmSwap.ts @@ -98,7 +98,7 @@ task("evm-swap", "Swap tokens from EVM", evmDepositAndCall) .addOptionalParam( "gasLimit", "The gas limit for the transaction", - 50000, + 500000, types.int ) .addOptionalParam(