v1.27.0-a #10
@ -587,6 +587,7 @@ func fromV{{.v}}SectorOnChainInfo(v{{.v}} miner{{.v}}.SectorOnChainInfo) SectorO
|
|||||||
{{if (ge .v 12)}}
|
{{if (ge .v 12)}}
|
||||||
PowerBaseEpoch: v{{.v}}.PowerBaseEpoch,
|
PowerBaseEpoch: v{{.v}}.PowerBaseEpoch,
|
||||||
ReplacedDayReward: v{{.v}}.ReplacedDayReward,
|
ReplacedDayReward: v{{.v}}.ReplacedDayReward,
|
||||||
|
Flags: SectorOnChainInfoFlags(v{{.v}}.Flags),
|
||||||
{{end}}
|
{{end}}
|
||||||
}
|
}
|
||||||
return info
|
return info
|
||||||
|
1
chain/actors/builtin/miner/v12.go
generated
1
chain/actors/builtin/miner/v12.go
generated
@ -548,6 +548,7 @@ func fromV12SectorOnChainInfo(v12 miner12.SectorOnChainInfo) SectorOnChainInfo {
|
|||||||
|
|
||||||
PowerBaseEpoch: v12.PowerBaseEpoch,
|
PowerBaseEpoch: v12.PowerBaseEpoch,
|
||||||
ReplacedDayReward: v12.ReplacedDayReward,
|
ReplacedDayReward: v12.ReplacedDayReward,
|
||||||
|
Flags: SectorOnChainInfoFlags(v12.Flags),
|
||||||
}
|
}
|
||||||
return info
|
return info
|
||||||
}
|
}
|
||||||
|
1
chain/actors/builtin/miner/v13.go
generated
1
chain/actors/builtin/miner/v13.go
generated
@ -548,6 +548,7 @@ func fromV13SectorOnChainInfo(v13 miner13.SectorOnChainInfo) SectorOnChainInfo {
|
|||||||
|
|
||||||
PowerBaseEpoch: v13.PowerBaseEpoch,
|
PowerBaseEpoch: v13.PowerBaseEpoch,
|
||||||
ReplacedDayReward: v13.ReplacedDayReward,
|
ReplacedDayReward: v13.ReplacedDayReward,
|
||||||
|
Flags: SectorOnChainInfoFlags(v13.Flags),
|
||||||
}
|
}
|
||||||
return info
|
return info
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user