diff --git a/package.json b/package.json index 2e2fc89..f9d21e0 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "web3": "^4.6.0" }, "overrides": { - "near-api-js": "^3.0.4" + "near-api-js": "^5.0.0" }, "devDependencies": { "@types/react": "^18.2.64", diff --git a/src/services/ethereum.js b/src/services/ethereum.js index 090c551..6585a6e 100644 --- a/src/services/ethereum.js +++ b/src/services/ethereum.js @@ -77,7 +77,7 @@ export class Ethereum { sessionStorage.setItem('derivation', path); const payload = Array.from(ethPayload); - const { big_r, s, recovery_id } = await wallet.callMethod({ contractId, method: 'sign', args: { request: { payload, path, key_version: 0 } }, gas: '250000000000000', deposit: parseNearAmount('0.05') }); + const { big_r, s, recovery_id } = await wallet.callMethod({ contractId, method: 'sign', args: { request: { payload, path, key_version: 0 } }, gas: '250000000000000', deposit: parseNearAmount('0.25') }); return { big_r, s, recovery_id }; }