Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

improve deal accounting performance #309

Merged
merged 11 commits into from
May 6, 2020
14 changes: 10 additions & 4 deletions actors/builtin/cron/cron_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ func ConstructState(entries []Entry) *State {

// The default entries to install in the cron actor's state at genesis.
func BuiltInEntries() []Entry {
return []Entry{{
Receiver: builtin.StoragePowerActorAddr,
MethodNum: builtin.MethodsPower.OnEpochTickEnd,
}}
return []Entry{
{
Receiver: builtin.StoragePowerActorAddr,
MethodNum: builtin.MethodsPower.OnEpochTickEnd,
},
{
Receiver: builtin.StorageMarketActorAddr,
MethodNum: builtin.MethodsMarket.CronTick,
},
}
}
203 changes: 43 additions & 160 deletions actors/builtin/market/cbor_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading