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
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func TestPayIota(t *testing.T) {
require.Empty(t, simulate.Effects.Data.V1.Status.Error)
require.True(t, simulate.Effects.Data.IsSuccess())

// 3 stands for the three amounts (3 crated IOTA objects) in unsafe_payIota API
// 3 stands for the three amounts (3 created IOTA objects) in unsafe_payIota API
amountNum := uint(3)
require.Len(t, simulate.ObjectChanges, int(limit)+int(amountNum))
delObjNum := uint(0)
Expand Down
2 changes: 1 addition & 1 deletion clients/iota-go/iotago/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type Object struct {
}

// ObjectType is the representation of a Iota object type, e.g. `0x000...0002::iota::IOTA`
// Two instances of ObjectType are equal iif they represent the same type.
// Two instances of ObjectType are equal if they represent the same type.
type ObjectType struct { // struct to enforce using the constructor functions
s string
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func TestPayIota(t *testing.T) {
require.Empty(t, simulate.Effects.Data.V1.Status.Error)
require.True(t, simulate.Effects.Data.IsSuccess())

// 3 stands for the three amounts (3 crated IOTA objects) in unsafe_payIota API
// 3 stands for the three amounts (3 created IOTA objects) in unsafe_payIota API
amountNum := uint(3)
require.Len(t, simulate.ObjectChanges, limit+int(amountNum))
delObjNum := uint(0)
Expand Down
2 changes: 1 addition & 1 deletion packages/coin/coin.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func IsBaseToken(t string) (bool, error) {
}

// Type is the representation of a Iota coin type, e.g. `0x000...0002::iota::IOTA`
// Two instances of Type are equal iif they represent the same coin type.
// Two instances of Type are equal if they represent the same coin type.
type Type = iotago.ObjectType

func TypeFromString(s string) (Type, error) {
Expand Down
2 changes: 1 addition & 1 deletion packages/vm/vmtask.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
type VMTask struct {
Processors *processors.Config
Anchor *isc.StateAnchor
// GasCoin is allowed to be nil iif EstimateGasMode == true || EVMTracer != nil,
// GasCoin is allowed to be nil if EstimateGasMode == true || EVMTracer != nil,
// in which case no PTB will be produced.
GasCoin *coin.CoinWithRef
Store state.Store
Expand Down