-
Notifications
You must be signed in to change notification settings - Fork 6
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
Deploy problems with npx hardhat run scripts/deploy.ts
#73
Comments
npx hardhat run scripts/deploy.ts
npx hardhat run scripts/deploy.ts
npx hardhat run scripts/deploy.ts
npx hardhat run scripts/deploy.ts
How are you getting this error can you share some code snippets? You are running the example repo right? We dont use viem or fetch in there by default if I remember correctly |
@excaliborr yes, I am running the example repository, then the error could be in relation to pimlico, I also get this as part of the error: details: 'fetch is not defined',
docsPath: undefined,
metaMessages: [
'URL: https://api.pimlico.io/v1/mumbai/rpc?apikey=my_key',
'Request body: {"method":"eth_chainId","params":[]}'
],
shortMessage: 'HTTP request failed.',
version: '[email protected]',
body: { method: 'eth_chainId', params: [] },
headers: undefined,
status: undefined,
url: 'https://api.pimlico.io/v1/mumbai/rpc?apikey=my_key' I am using Pimlico's bundler and paymaster |
the |
that |
oh oops mb! Have you installed the dependencies in both the account-abstraction repo and the example repo, and ran |
yes, I have installed the dependencies as in the instructions and all the commands as well, up to step (9) I got there, the only thing I modified of course was the |
What node version are you using, can you try with node 20+ |
@excaliborr nice!! it was that, i updated my node version and it worked fine, now with the next pass which is to run the integration tests it breaks
Should send a transaction:
Error: could not decode result data (value="0x", info={ "method": "balanceOf", "signature": "balanceOf(address)" }, code=BAD_DATA, version=6.9.0) Should transfer tokens from the smart account:
Error: could not decode result data (value="0x", info={ "method": "balanceOf", "signature": "balanceOf(address)" }, code=BAD_DATA, version=6.9.0) |
Our integration test suite uses testnet contracts on ethereum sepolia, if you are using a different network that is probably why as the contracts we test dont exist there |
of course, that's right! now it's working for me! |
have you done any test with Error: Unknown paymaster type |
Yes we currently do not support biconomy in this version of the plugin, here is a list of paymasters we support: https://github.com/defi-wonderland/hardhat-account-abstraction?tab=readme-ov-file#supported-paymaster-types If you would like to attempt to add support for this paymaster you are welcome to give it a go! |
good, I will try! |
hi @excaliborr following the instructions of the repo I have a problem in step number 9 of here when I run the command to deploy I get this error:
have you seen it before? thanks in advance!
The text was updated successfully, but these errors were encountered: