diff --git a/pkg/util/ffiwrapper/impl/config.go b/pkg/util/ffiwrapper/impl/config.go index eb8d269075..cc822120a2 100644 --- a/pkg/util/ffiwrapper/impl/config.go +++ b/pkg/util/ffiwrapper/impl/config.go @@ -16,7 +16,7 @@ type Config struct { _ struct{} // guard against nameless init } -//nolint +// nolint func SealProofTypeFromSectorSize(ssize abi.SectorSize, nv network.Version) (abi.RegisteredSealProof, error) { switch { case nv < network.Version7: diff --git a/pkg/vm/vmcontext/invocation_context.go b/pkg/vm/vmcontext/invocation_context.go index 1b5ed62f97..7ae04e2317 100644 --- a/pkg/vm/vmcontext/invocation_context.go +++ b/pkg/vm/vmcontext/invocation_context.go @@ -581,7 +581,7 @@ func (ctx *invocationContext) stateView() SyscallsStateView { return newSyscallsStateView(ctx, ctx.vm) } -// patternContext implements the PatternContext +// patternContext2 implements the PatternContext type patternContext2 invocationContext var _ runtime.PatternContext = (*patternContext2)(nil) diff --git a/venus-shared/actors/types/eth.go b/venus-shared/actors/types/eth.go index 603271e174..9deca4ef08 100644 --- a/venus-shared/actors/types/eth.go +++ b/venus-shared/actors/types/eth.go @@ -686,7 +686,7 @@ type EthFilterSpec struct { BlockHash *EthHash `json:"blockHash,omitempty"` } -// EthAddressSpec represents a list of addresses. +// EthAddressList represents a list of addresses. // The JSON decoding must treat a string as equivalent to an array with one value, for example // "0x8888f1f195afa192cfee86069858" must be decoded as [ "0x8888f1f195afa192cfee86069858" ] type EthAddressList []EthAddress