Skip to content

Commit

Permalink
fix(relay-kit): userOperationToHexValues nonce encode (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniSomoza authored Jan 31, 2025
1 parent f658ff3 commit 75beced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/relay-kit/src/packs/safe-4337/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export function calculateSafeUserOperationHash(
export function userOperationToHexValues(userOperation: UserOperation) {
const userOperationWithHexValues = {
...userOperation,
nonce: toHex(userOperation.nonce),
nonce: toHex(BigInt(userOperation.nonce)),
callGasLimit: toHex(userOperation.callGasLimit),
verificationGasLimit: toHex(userOperation.verificationGasLimit),
preVerificationGas: toHex(userOperation.preVerificationGas),
Expand Down

0 comments on commit 75beced

Please sign in to comment.