Fix testground build
This commit is contained in:
parent
b216785071
commit
1101d4b66a
@ -22,6 +22,10 @@ var (
|
|||||||
BlocksPerEpoch = uint64(builtin.ExpectedLeadersPerEpoch)
|
BlocksPerEpoch = uint64(builtin.ExpectedLeadersPerEpoch)
|
||||||
BlockMessageLimit = 512
|
BlockMessageLimit = 512
|
||||||
BlockGasLimit = int64(100_000_000_000)
|
BlockGasLimit = int64(100_000_000_000)
|
||||||
|
BlockGasTarget = int64(BlockGasLimit / 2)
|
||||||
|
BaseFeeMaxChangeDenom = int64(8) // 12.5%
|
||||||
|
InitialBaseFee = int64(100e6)
|
||||||
|
MinimumBaseFee = int64(100)
|
||||||
BlockDelaySecs = uint64(builtin.EpochDurationSeconds)
|
BlockDelaySecs = uint64(builtin.EpochDurationSeconds)
|
||||||
PropagationDelaySecs = uint64(6)
|
PropagationDelaySecs = uint64(6)
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ func (a *GasAPI) GasEstimateGasLimit(ctx context.Context, msgIn *types.Message,
|
|||||||
|
|
||||||
msg := *msgIn
|
msg := *msgIn
|
||||||
msg.GasLimit = build.BlockGasLimit
|
msg.GasLimit = build.BlockGasLimit
|
||||||
msg.GasFeeCap = types.NewInt(build.MinimumBaseFee + 1)
|
msg.GasFeeCap = types.NewInt(uint64(build.MinimumBaseFee) + 1)
|
||||||
msg.GasPremium = types.NewInt(1)
|
msg.GasPremium = types.NewInt(1)
|
||||||
|
|
||||||
currTs := a.Chain.GetHeaviestTipSet()
|
currTs := a.Chain.GetHeaviestTipSet()
|
||||||
|
Loading…
Reference in New Issue
Block a user