Skip to content

Commit

Permalink
fix: copy Flags field from SectorOnChainInfo
Browse files Browse the repository at this point in the history
Fixes: #11962
  • Loading branch information
rvagg committed May 6, 2024
1 parent 10f7b6e commit f10f053
Show file tree
Hide file tree
Showing 195 changed files with 1,245 additions and 1,044 deletions.
18 changes: 13 additions & 5 deletions chain/actors/builtin/account/account.go
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
package account

import (
actorstypes "github.com/filecoin-project/go-state-types/actors"
"github.com/filecoin-project/lotus/chain/actors"
"github.com/ipfs/go-cid"
"golang.org/x/xerrors"

"github.com/filecoin-project/go-address"
actorstypes "github.com/filecoin-project/go-state-types/actors"
builtin13 "github.com/filecoin-project/go-state-types/builtin"
"github.com/filecoin-project/go-state-types/cbor"

"github.com/filecoin-project/go-state-types/manifest"
"github.com/filecoin-project/lotus/chain/actors/adt"
"github.com/filecoin-project/lotus/chain/types"

builtin0 "github.com/filecoin-project/specs-actors/actors/builtin"

builtin2 "github.com/filecoin-project/specs-actors/v2/actors/builtin"

builtin3 "github.com/filecoin-project/specs-actors/v3/actors/builtin"

builtin4 "github.com/filecoin-project/specs-actors/v4/actors/builtin"

builtin5 "github.com/filecoin-project/specs-actors/v5/actors/builtin"

builtin6 "github.com/filecoin-project/specs-actors/v6/actors/builtin"

builtin7 "github.com/filecoin-project/specs-actors/v7/actors/builtin"

"github.com/filecoin-project/lotus/chain/actors"
"github.com/filecoin-project/lotus/chain/actors/adt"
"github.com/filecoin-project/lotus/chain/types"
builtin13 "github.com/filecoin-project/go-state-types/builtin"
)

var Methods = builtin13.MethodsAccount
Expand Down
8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v0.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v10.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v11.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v12.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v13.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v2.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v3.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v4.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v5.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v6.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v7.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v8.go

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

8 changes: 4 additions & 4 deletions chain/actors/builtin/account/v9.go

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

22 changes: 15 additions & 7 deletions chain/actors/builtin/builtin.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,32 @@ package builtin
import (
"fmt"

"github.com/filecoin-project/go-address"
"github.com/ipfs/go-cid"

"github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/builtin"
smoothingtypes "github.com/filecoin-project/go-state-types/builtin/v8/util/smoothing"
minertypes "github.com/filecoin-project/go-state-types/builtin/v9/miner"
"github.com/filecoin-project/go-state-types/manifest"
"github.com/filecoin-project/go-state-types/proof"
builtin0 "github.com/filecoin-project/specs-actors/actors/builtin"

builtin2 "github.com/filecoin-project/specs-actors/v2/actors/builtin"

builtin3 "github.com/filecoin-project/specs-actors/v3/actors/builtin"

builtin4 "github.com/filecoin-project/specs-actors/v4/actors/builtin"

builtin5 "github.com/filecoin-project/specs-actors/v5/actors/builtin"

builtin6 "github.com/filecoin-project/specs-actors/v6/actors/builtin"

builtin7 "github.com/filecoin-project/specs-actors/v7/actors/builtin"

"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/builtin"
"github.com/filecoin-project/go-state-types/manifest"
"github.com/filecoin-project/go-state-types/proof"

"github.com/filecoin-project/lotus/chain/actors"

smoothingtypes "github.com/filecoin-project/go-state-types/builtin/v8/util/smoothing"
minertypes "github.com/filecoin-project/go-state-types/builtin/v9/miner"
)

var InitActorAddr = builtin.InitActorAddr
Expand Down
18 changes: 12 additions & 6 deletions chain/actors/builtin/cron/cron.go
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
package cron

import (
actorstypes "github.com/filecoin-project/go-state-types/actors"
"github.com/filecoin-project/go-state-types/manifest"
"github.com/filecoin-project/lotus/chain/actors"
"github.com/filecoin-project/lotus/chain/actors/adt"
"github.com/filecoin-project/lotus/chain/types"
"github.com/ipfs/go-cid"
"golang.org/x/xerrors"

actorstypes "github.com/filecoin-project/go-state-types/actors"
builtin13 "github.com/filecoin-project/go-state-types/builtin"
"github.com/filecoin-project/go-state-types/manifest"
builtin0 "github.com/filecoin-project/specs-actors/actors/builtin"

builtin2 "github.com/filecoin-project/specs-actors/v2/actors/builtin"

builtin3 "github.com/filecoin-project/specs-actors/v3/actors/builtin"

builtin4 "github.com/filecoin-project/specs-actors/v4/actors/builtin"

builtin5 "github.com/filecoin-project/specs-actors/v5/actors/builtin"

builtin6 "github.com/filecoin-project/specs-actors/v6/actors/builtin"

builtin7 "github.com/filecoin-project/specs-actors/v7/actors/builtin"

"github.com/filecoin-project/lotus/chain/actors"
"github.com/filecoin-project/lotus/chain/actors/adt"
"github.com/filecoin-project/lotus/chain/types"
builtin13 "github.com/filecoin-project/go-state-types/builtin"
)

func Load(store adt.Store, act *types.Actor) (State, error) {
Expand Down
Loading

0 comments on commit f10f053

Please sign in to comment.