Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/events/events_called.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ type StateMatchFunc func(oldTs, newTs *types.TipSet) (bool, StateChange, error)
// - `StateChangeHandler` is called when the specified state change was observed
// on-chain, and a confidence threshold was reached, or the specified `timeout`
// height was reached with no state change observed. When this callback is
// invoked on a timeout, `oldTs` and `states are set to nil.
// invoked on a timeout, `oldTs` and `states` are set to nil.
// This callback returns a boolean specifying whether further notifications
// should be sent, like `more` return param from `CheckFunc` above.
//
Expand Down
4 changes: 2 additions & 2 deletions pkg/fvm/fvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (x *FvmExtern) VerifyConsensusFault(ctx context.Context, a, b, extra []byte

// Note that block syntax is not validated. Any validly signed block will be accepted pursuant to the below conditions.
// Whether or not it could ever have been accepted in a chain is not checked/does not matter here.
// for that reason when checking block parent relationships, rather than instantiating a Tipset to do so
// For that reason when checking block parent relationships, rather than instantiating a Tipset to do so
// (which runs a syntactic check), we do it directly on the CIDs.

// (0) cheap preliminary checks
Expand Down Expand Up @@ -669,7 +669,7 @@ func (r *xRedirect) MarshalCBOR(w io.Writer) error {
// WARNING: You will not affect your node's execution by misusing this feature, but you will confuse yourself thoroughly!
// An envvar that allows the user to specify debug actors bundles to be used by the FVM
// alongside regular execution. This is basically only to be used to print out specific logging information.
// Message failures, unexpected terminations,gas costs, etc. should all be ignored.
// Message failures, unexpected terminations, gas costs, etc. should all be ignored.
var useFvmDebug = os.Getenv("VENUS_FVM_DEVELOPER_DEBUG") == "1"

func NewVM(ctx context.Context, opts vm.VmOption) (vm.Interface, error) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/messagepool/messagepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func New(ctx context.Context,
}

func (mp *MessagePool) resolveToKey(ctx context.Context, addr address.Address) (address.Address, error) {
//if addr is not an ID addr, then it is already resolved to a key
// if addr is not an ID addr, then it is already resolved to a key
if addr.Protocol() != address.ID {
return addr, nil
}
Expand Down