hardhat_api: Implement hardhat_setNextBlockBaseFeePerGas
method
#150
Labels
hardhat_api 👷
Indicates hardhat namespace api tasks
medium 🚩
Indicates moderately difficult item
p2 🟡
Indicates moderately high priority item
Description:
The
hardhat_setNextBlockBaseFeePerGas
endpoint needs to be implemented. This endpoint is designed to set the base fee for the next block. Refer to the Hardhat documentation for more details. Test implementations can be derived from the Hardhat repo here.JS implementation:
Expected response
Command to test the endpoint:
Response should be:
Requirements:
Implement the API:
true
if successful in setting the base fee for the next block, otherwisefalse
.Unit Tests:
setNextBlockBaseFeePerGas
method functionality.Documentation:
///
comments) detailing the method's purpose, potential return values, and any significant edge cases or errors.SUPPORTED_APIS.md
.test_endpoints.http
for more straightforward manual testing.Task Checklist:
setNextBlockBaseFeePerGas
method.setNextBlockBaseFeePerGas
method.hardhat_setNextBlockBaseFeePerGas
endpoint.Additional Notes:
If you're an external contributor looking to take on this issue, please comment below to let us know you're working on it. If you need further clarification on the requirements or need assistance with anything related to the implementation, feel free to ask!
The text was updated successfully, but these errors were encountered: