Skip to content

Commit

Permalink
chore: types: fix type mismatches missed in #12246
Browse files Browse the repository at this point in the history
Makes testground build again, namely:

 for d in ./cmd/lotus*; do go build -tags testground -o /dev/null $d || break ; done
  • Loading branch information
ribasushi authored and rvagg committed Jul 24, 2024
1 parent 1f0f558 commit 294ffc0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions build/buildconstants/params_shared_vals.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ const BlockMessageLimit = 10000
var BlockGasLimit = int64(10_000_000_000)
var BlockGasTarget = BlockGasLimit / 2

const BaseFeeMaxChangeDenom = 8 // 12.5%
const InitialBaseFee = 100e6
const MinimumBaseFee = 100
const PackingEfficiencyNum = 4
const PackingEfficiencyDenom = 5
const BaseFeeMaxChangeDenom int64 = 8 // 12.5%
const InitialBaseFee int64 = 100e6
const MinimumBaseFee int64 = 100
const PackingEfficiencyNum int64 = 4
const PackingEfficiencyDenom int64 = 5
10 changes: 5 additions & 5 deletions build/params_shared_vals.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ var BlockMessageLimit = buildconstants.BlockMessageLimit // Deprecated: Use buil
var BlockGasLimit = buildconstants.BlockGasLimit // Deprecated: Use buildconstants.BlockGasLimit instead
var BlockGasTarget = buildconstants.BlockGasTarget // Deprecated: Use buildconstants.BlockGasTarget instead

var BaseFeeMaxChangeDenom int64 = buildconstants.BaseFeeMaxChangeDenom // Deprecated: Use buildconstants.BaseFeeMaxChangeDenom instead
var InitialBaseFee int64 = buildconstants.InitialBaseFee // Deprecated: Use buildconstants.InitialBaseFee instead
var MinimumBaseFee int64 = buildconstants.MinimumBaseFee // Deprecated: Use buildconstants.MinimumBaseFee instead
var PackingEfficiencyNum int64 = buildconstants.PackingEfficiencyNum // Deprecated: Use buildconstants.PackingEfficiencyNum instead
var PackingEfficiencyDenom int64 = buildconstants.PackingEfficiencyDenom // Deprecated: Use buildconstants.PackingEfficiencyDenom instead
var BaseFeeMaxChangeDenom = buildconstants.BaseFeeMaxChangeDenom // Deprecated: Use buildconstants.BaseFeeMaxChangeDenom instead
var InitialBaseFee = buildconstants.InitialBaseFee // Deprecated: Use buildconstants.InitialBaseFee instead
var MinimumBaseFee = buildconstants.MinimumBaseFee // Deprecated: Use buildconstants.MinimumBaseFee instead
var PackingEfficiencyNum = buildconstants.PackingEfficiencyNum // Deprecated: Use buildconstants.PackingEfficiencyNum instead
var PackingEfficiencyDenom = buildconstants.PackingEfficiencyDenom // Deprecated: Use buildconstants.PackingEfficiencyDenom instead

const TestNetworkVersion = buildconstants.TestNetworkVersion // Deprecated: Use buildconstants.TestNetworkVersion instead

Expand Down
2 changes: 1 addition & 1 deletion chain/messagepool/messagepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var rbfDenomBig = types.NewInt(100)

var RepublishInterval = time.Duration(10*buildconstants.BlockDelaySecs+buildconstants.PropagationDelaySecs) * time.Second

var minimumBaseFee = types.NewInt(buildconstants.MinimumBaseFee)
var minimumBaseFee = types.NewInt(uint64(buildconstants.MinimumBaseFee))
var baseFeeLowerBoundFactor = types.NewInt(10)
var baseFeeLowerBoundFactorConservative = types.NewInt(100)

Expand Down

0 comments on commit 294ffc0

Please sign in to comment.