diff --git a/docs/docs/contributing.md b/docs/docs/contributing.md index e20403167b..e4e6f229ed 100644 --- a/docs/docs/contributing.md +++ b/docs/docs/contributing.md @@ -94,7 +94,7 @@ func TestStringTest(t *testing.T) { func TestLargeStringTest(t *testing.T) { if testing.Short() { - t.Skip("\033[33mSkipping memory intesive test for in short mode\033[0m") + t.Skip("\033[33mSkipping memory intensive test for in short mode\033[0m") } else { ... } diff --git a/pkg/scale/README.md b/pkg/scale/README.md index 5ebc06f5db..4fa13cabca 100644 --- a/pkg/scale/README.md +++ b/pkg/scale/README.md @@ -210,7 +210,7 @@ func ExampleResult() { ### Varying Data Type -A `VaryingDataType` is analogous to a Rust enum. A `VaryingDataType` is an interface that needs to be implemented. From the Polkadot spec there are values associated to a `VaryingDataType`, which is analagous to a rust enum variant. Each value has an associated index integer value which is used to determine which value type go-scale should decode to. The following interface needs to be implemented for go-scale to be able to marshal from or unmarshal into. +A `VaryingDataType` is analogous to a Rust enum. A `VaryingDataType` is an interface that needs to be implemented. From the Polkadot spec there are values associated to a `VaryingDataType`, which is analogous to a rust enum variant. Each value has an associated index integer value which is used to determine which value type go-scale should decode to. The following interface needs to be implemented for go-scale to be able to marshal from or unmarshal into. ```go type EncodeVaryingDataType interface { IndexValue() (index uint, value any, err error)