Feature: Add more Block Configuration (set base fee, gas limit, timestamp, etc) #13
Labels
D: Easy
Difficulty: Easy
Good First Issue
Good for newcomers
P: Low
Priority: Low
T: Enhancement
Type: Enhancement
Important
If you would like to work on this, please comment and we will assign you to the issue.
On the Block Configuration screen, on top of configuring the mining configuration, it would be nice if we could also configure the base fee, gas limit, and also timestamps (increase timestamp, set timestamp, timestamp intervals).
Suggested Implementation
We will probably need to add a bunch of new mutation Hooks for viem's:
a.
setNextBlockBaseFeePerGas
b.
setBlockGasLimit
c.
increaseTime
d.
setNextBlockTimestamp
e.
setBlockTimestampInterval
After that, improvize some UI on the Block Configuration screen so the user can:
a. Set a new base fee,
b. Set a new gas limit,
c. Increase the current timestamp,
d. Set a timestamp,
e. Set the timestamp interval (for interval mining).
Note: for these changes to propagate, we will need to mine the pending block with
useMine
.The text was updated successfully, but these errors were encountered: