Skip to content

Commit

Permalink
v13: make AggregateProofType optional on ProveCommitSectors3Params & …
Browse files Browse the repository at this point in the history
…ProveReplicaUpdates3Params

Ref: filecoin-project/FIPs#934
  • Loading branch information
rvagg committed Feb 7, 2024
1 parent 191c05a commit 45ac7d0
Show file tree
Hide file tree
Showing 86 changed files with 868 additions and 741 deletions.
2 changes: 1 addition & 1 deletion abi/cbor_bytes.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
type CborBytes []byte

func (t *CborBytes) MarshalCBOR(w io.Writer) error {
if len(*t) > cbg.ByteArrayMaxLen {
if uint64(len(*t)) > cbg.ByteArrayMaxLen {
return xerrors.Errorf("byte array was too long")
}

Expand Down
2 changes: 1 addition & 1 deletion abi/cbor_string.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type CborString string
func (t *CborString) MarshalCBOR(w io.Writer) error {
scratch := make([]byte, 8)

if len(*t) > cbg.MaxLength {
if uint64(len(*t)) > cbg.MaxLength {
return xerrors.Errorf("Value in t was too long")
}

Expand Down
4 changes: 2 additions & 2 deletions builtin/v10/account/cbor_gen.go

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

2 changes: 1 addition & 1 deletion builtin/v10/cron/cbor_gen.go

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

12 changes: 6 additions & 6 deletions builtin/v10/datacap/cbor_gen.go

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

12 changes: 6 additions & 6 deletions builtin/v10/eam/cbor_gen.go

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

12 changes: 6 additions & 6 deletions builtin/v10/evm/cbor_gen.go

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

10 changes: 5 additions & 5 deletions builtin/v10/init/cbor_gen.go

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

26 changes: 15 additions & 11 deletions builtin/v10/market/cbor_gen.go

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

Loading

0 comments on commit 45ac7d0

Please sign in to comment.