Skip to content
New issue

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

eth_estimateUserOperationGas bad response format #5037

Open
zpoken opened this issue Oct 15, 2024 · 1 comment
Open

eth_estimateUserOperationGas bad response format #5037

zpoken opened this issue Oct 15, 2024 · 1 comment

Comments

@zpoken
Copy link

zpoken commented Oct 15, 2024

eth_estimateUserOperationGas response doesn`t include verificationGas which added to estimateUserOpGas function https://github.com/thirdweb-dev/js/blob/main/packages/thirdweb/src/wallets/smart/lib/bundler.ts#L87
Знімок екрана 2024-10-15 о 17 08 49

@zpoken
Copy link
Author

zpoken commented Oct 15, 2024

export const accountAbstraction: SmartWalletOptions = {
  sponsorGas: false,
  chain: process.env['NEXT_PUBLIC_ENV'] === 'development' ? sepolia : mainnet,
  factoryAddress,
};

i set sponsorGas to false, and mutateAsync return error
Знімок екрана 2024-10-15 о 17 11 52

@zpoken zpoken changed the title eth_estimateUserOperationGas bad format response eth_estimateUserOperationGas bad response format Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant