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

bug: HardhatError: HH303: Unrecognized task callRPC #1

Open
akhileshthite opened this issue Feb 14, 2023 · 3 comments
Open

bug: HardhatError: HH303: Unrecognized task callRPC #1

akhileshthite opened this issue Feb 14, 2023 · 3 comments
Labels
discussion What are your thoughts?

Comments

@akhileshthite
Copy link
Owner

akhileshthite commented Feb 14, 2023

Had to set the priorityFee to resolve the HTTP Error: Provider Error issue while deploying contracts.

Getting "HardhatError: HH303: Unrecognized task callRPC" for dynamically setting the priority fees:

  const priorityFee = await hre.run('callRPC', {
     method: 'eth_maxPriorityFeePerGas',
     params: [],
   });

Hence, setting priority fees manually:

maxPriorityFeePerGas: 199992,

There's is something wrong with the hardhat version.
current hardhat version: 2.12.7

Feel free to raise a PR.

@akhileshthite akhileshthite added bug Something isn't working help wanted Extra attention is needed discussion What are your thoughts? and removed bug Something isn't working help wanted Extra attention is needed labels Feb 14, 2023
@akhileshthite
Copy link
Owner Author

Had to set the priorityFee to resolve the HTTP Error: Provider Error issue while deploying contracts.

Getting "HardhatError: HH303: Unrecognized task callRPC" for dynamically setting the priority fees:

  const priorityFee = await hre.run('callRPC', {
     method: 'eth_maxPriorityFeePerGas',
     params: [],
   });

Hence, setting priority fees manually:

maxPriorityFeePerGas: 199992,

There's is something wrong with the hardhat version. current hardhat version: 2.12.7

Feel free to raise a PR.

Update:
I believe that the latest FVM Hyperspace update resolves this issue (HTTP Error: Provider Error), although deploying it without setting priorityFee may still take some time.

Any thoughts?

Repository owner deleted a comment Feb 1, 2024
@ruppysuppy
Copy link

Such fake posts seem to be running rampant now - received 2 "job offers" within 12 hours

Repository owner deleted a comment from mepcovenkat97 Feb 23, 2024
Repository owner deleted a comment from 12Chris12 Feb 23, 2024
@homemadestea58
Copy link

Such fake posts seem to be running rampant now - received 2 "job offers" within 12 hours

I've reported so many of them it's not funny. It's really annoying have spam like this on legitimate repositories that actually provide support for their code.

Repository owner deleted a comment from hansa-panot Mar 19, 2024
@github-staff github-staff deleted a comment May 12, 2024
@github-staff github-staff deleted a comment from maulanaayub May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion What are your thoughts?
Projects
None yet
Development

No branches or pull requests

6 participants
@ruppysuppy @homemadestea58 @akhileshthite and others