We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am running into some errors with sendUserOperation attempting to use the relay-kit:
sendUserOperation
Error: {"message":"UserOperation mismatch, EntryPoint expects UserOperation of version 0.7","code":-32602}
According to these docs: https://eips.ethereum.org/EIPS/eip-4337#rpc-methods-eth-namespace
The initCode field should be split into factory & factoryData
initCode
factory
factoryData
safe-core-sdk/packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
Lines 71 to 89 in 4b8db6d
Note that we are using the entry point supplied by @safe-global/safe-modules-deployments
@safe-global/safe-modules-deployments
Its a bit funny because the PimlicoFeeEstimator doesn't complian about this userOperation type on gas estimation.
PimlicoFeeEstimator
After splitting the initCode into factory and factoryData we also ran into an issue with the packed PaymasterData:
Error: {"message":"Validation error: Unrecognized key(s) in object: 'paymasterAndData' at \"params[0]\"","code":-32601}
It seems that we should be using:
paymaster, // address paymasterVerificationGasLimit, // uint256 paymasterPostOpGasLimit, // uint256 paymasterData, // bytes
The text was updated successfully, but these errors were encountered:
Hey @bh2smith , currently the relay kit is only compatible with entrypoint v0.6. There is no expected yet to support v0.7.
Using a v0.6 entrypoint should solve your issue.
Sorry, something went wrong.
About to add v0.7 support with #1103
No branches or pull requests
I am running into some errors with
sendUserOperation
attempting to use the relay-kit:According to these docs:
https://eips.ethereum.org/EIPS/eip-4337#rpc-methods-eth-namespace
The
initCode
field should be split intofactory
&factoryData
safe-core-sdk/packages/relay-kit/src/packs/safe-4337/SafeOperation.ts
Lines 71 to 89 in 4b8db6d
Note that we are using the entry point supplied by
@safe-global/safe-modules-deployments
Its a bit funny because the
PimlicoFeeEstimator
doesn't complian about this userOperation type on gas estimation.After splitting the
initCode
intofactory
andfactoryData
we also ran into an issue with the packed PaymasterData:It seems that we should be using:
The text was updated successfully, but these errors were encountered: