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

Commit

Permalink
Set actor code CIDs to v5 (#1401)
Browse files Browse the repository at this point in the history
  • Loading branch information
arajasek committed May 7, 2021
1 parent f6a8d2a commit 9e636e6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions actors/builtin/codes.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ func init() {
builtinActors = make(map[cid.Cid]*actorInfo)

for id, info := range map[*cid.Cid]*actorInfo{ //nolint:nomaprange
&SystemActorCodeID: {name: "fil/4/system"},
&InitActorCodeID: {name: "fil/4/init"},
&CronActorCodeID: {name: "fil/4/cron"},
&StoragePowerActorCodeID: {name: "fil/4/storagepower"},
&StorageMinerActorCodeID: {name: "fil/4/storageminer"},
&StorageMarketActorCodeID: {name: "fil/4/storagemarket"},
&PaymentChannelActorCodeID: {name: "fil/4/paymentchannel"},
&RewardActorCodeID: {name: "fil/4/reward"},
&VerifiedRegistryActorCodeID: {name: "fil/4/verifiedregistry"},
&AccountActorCodeID: {name: "fil/4/account", signer: true},
&MultisigActorCodeID: {name: "fil/4/multisig", signer: true},
&SystemActorCodeID: {name: "fil/5/system"},
&InitActorCodeID: {name: "fil/5/init"},
&CronActorCodeID: {name: "fil/5/cron"},
&StoragePowerActorCodeID: {name: "fil/5/storagepower"},
&StorageMinerActorCodeID: {name: "fil/5/storageminer"},
&StorageMarketActorCodeID: {name: "fil/5/storagemarket"},
&PaymentChannelActorCodeID: {name: "fil/5/paymentchannel"},
&RewardActorCodeID: {name: "fil/5/reward"},
&VerifiedRegistryActorCodeID: {name: "fil/5/verifiedregistry"},
&AccountActorCodeID: {name: "fil/5/account", signer: true},
&MultisigActorCodeID: {name: "fil/5/multisig", signer: true},
} {
c, err := builder.Sum([]byte(info.name))
if err != nil {
Expand Down

0 comments on commit 9e636e6

Please sign in to comment.