Skip to content

Commit

Permalink
chore: types: fix type mismatches missed in filecoin-project#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 committed Aug 20, 2024
1 parent d3b1b06 commit 7bfc8f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 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

0 comments on commit 7bfc8f2

Please sign in to comment.