diff --git a/package-lock.json b/package-lock.json index 9691dec934..9b284f6da5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "origintrail_node", - "version": "6.0.0-beta.3.1.1", + "version": "6.0.0-beta.3.1.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "origintrail_node", - "version": "6.0.0-beta.3.1.1", + "version": "6.0.0-beta.3.1.2", "license": "ISC", "dependencies": { "@comunica/query-sparql": "^2.4.3", diff --git a/package.json b/package.json index 87cf4e38e3..761ff6f3b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "origintrail_node", - "version": "6.0.0-beta.3.1.1", + "version": "6.0.0-beta.3.1.2", "description": "OTNode v6 Beta 2", "main": "index.js", "type": "module", diff --git a/scripts/set-ask.js b/scripts/set-ask.js index cf36230a25..cd122cf494 100644 --- a/scripts/set-ask.js +++ b/scripts/set-ask.js @@ -31,7 +31,9 @@ async function setAsk(rpcEndpoint, ask, walletPrivateKey, hubContractAddress) { const askWei = ethers.utils.parseEther(ask); const walletSigner = wallet.connect(provider); - await profile.connect(walletSigner).setAsk(identityId, askWei, { gasLimit: 1_000_000 }); + await profile + .connect(walletSigner) + .setAsk(identityId, askWei, { gasPrice: 1_000, gasLimit: 1_000_000 }); } const expectedArguments = ['rpcEndpoint', 'ask', 'privateKey', 'hubContractAddress']; diff --git a/scripts/set-operator-fee.js b/scripts/set-operator-fee.js index 8695281717..b81d695b91 100644 --- a/scripts/set-operator-fee.js +++ b/scripts/set-operator-fee.js @@ -31,7 +31,7 @@ async function setOperatorFee(rpcEndpoint, operatorFee, walletPrivateKey, hubCon const walletSigner = wallet.connect(provider); stakingContract .connect(walletSigner) - .setOperatorFee(identityId, operatorFee, { gasLimit: 1_000_000 }); + .setOperatorFee(identityId, operatorFee, { gasPrice: 1_000, gasLimit: 1_000_000 }); } const expectedArguments = ['rpcEndpoint', 'operatorFee', 'privateKey', 'hubContractAddress']; diff --git a/scripts/set-stake.js b/scripts/set-stake.js index ba9c1e9d95..549d71f89d 100644 --- a/scripts/set-stake.js +++ b/scripts/set-stake.js @@ -49,11 +49,14 @@ async function setStake( const managementWalletSigner = managementWallet.connect(provider); await tokenContract .connect(managementWalletSigner) - .increaseAllowance(stakingContractAddress, stakeWei, { gasLimit: 1_000_000 }); + .increaseAllowance(stakingContractAddress, stakeWei, { + gasPrice: 1_000, + gasLimit: 1_000_000, + }); // TODO: Add ABI instead of hard-coded function definition await stakingContract .connect(managementWalletSigner) - ['addStake(uint72,uint96)'](identityId, stakeWei, { gasLimit: 1_000_000 }); + ['addStake(uint72,uint96)'](identityId, stakeWei, { gasPrice: 1_000, gasLimit: 1_000_000 }); } const expectedArguments = [