Skip to content

Commit

Permalink
update overide
Browse files Browse the repository at this point in the history
  • Loading branch information
PiVortex committed Sep 16, 2024
1 parent 8739cef commit 1e25df1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/services/ethereum.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
}

Expand Down

0 comments on commit 1e25df1

Please sign in to comment.