-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ProviderError: pending state is not available for Taiko Mainnet #6076
Comments
Does the account |
Yes, it has. I can deploy a contract with this account via remix ide without problems. |
Check the RPC you're using, that might be th issue.
…On Mon, Dec 30, 2024, 19:10 Uladzimir ***@***.***> wrote:
Does the account process.env.WALLET_PRIVATE_KEY have enough tokens for
gas?
Yes, it has. I can deploy a contract with that account via remix ide.
Also, my coworker can't deploy a contract with his account either.
—
Reply to this email directly, view it on GitHub
<#6076 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD6D34NGQ34NX7DBE5YZCGL2IGEC5AVCNFSM6AAAAABUFS6LAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRVG43TSMZVGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I tried different rpcs, public and private, but no luck, as I wrote in the original post. |
@airled apparently that RPC endpoint doesn't support the pending block tag:
And since you mentioned that you tried other endpoints, this might be a problem with Taiko's node itself. The pending block tag, as far as I know, is part of the execution APIs specs, so I think it should work. I'd recommend contacting the Taiko team about this. I'm tentatively closing this. There is a workaround on our side that we could implement, but I don't think we should, at least not right now. If a lot of EVM chains stop supporting the pending block tag (which I think is highly unlikely), then we could re-consider this. |
Version of Hardhat
2.22.4
What happened?
Seems like something wrong when Hardhat tries to deploy a contract to the Taiko mainnet. When I try to call
await hre.ethers.deployContract()
, Hardhat raises with the error:There are no problems with deployment exactly the same contract to other chains.
I tried different rpcs, also private ones, but no luck. Also Remix IDE has successfully deployed the contract.
Minimal reproduction steps
Create an empty contract and try to deploy the contract to the Taiko Mainnet.
hardhat.config.js:
The text was updated successfully, but these errors were encountered: