Skip to content

Commit

Permalink
Arka_Paymaster_Fix (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
vignesha22 authored Dec 13, 2024
1 parent 207cd64 commit 7fbedb6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## [1.9.1] - 2024-12-13
### Bug Fix
- Added `0x` before sending userOp to paymaster

## [1.9.0] - 2024-12-02
- Added default configuration for Arbitrum Sepolia

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@etherspot/prime-sdk",
"version": "1.9.0",
"version": "1.9.1",
"description": "Etherspot Prime (Account Abstraction) SDK",
"keywords": [
"ether",
Expand Down
1 change: 1 addition & 0 deletions src/sdk/base/VerifyingPaymasterAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class VerifyingPaymasterAPI extends PaymasterAPI {
};
const op = await ethers.utils.resolveProperties(pmOp);
op.preVerificationGas = calcPreVerificationGas(op);
op.paymasterAndData = '0x'

// Ask the paymaster to sign the transaction and return a valid paymasterAndData value.
const paymasterAndData = await fetch(this.paymasterUrl, {
Expand Down

0 comments on commit 7fbedb6

Please sign in to comment.