From fad1896b85c63950631c50a1c3df05c775c2754f Mon Sep 17 00:00:00 2001 From: teenager-ETH Date: Sat, 21 Dec 2024 21:40:39 +0100 Subject: [PATCH 1/3] fix typos abci.go --- baseapp/abci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baseapp/abci.go b/baseapp/abci.go index b74bee323222..fb15133ef740 100644 --- a/baseapp/abci.go +++ b/baseapp/abci.go @@ -936,7 +936,7 @@ func (app *BaseApp) FinalizeBlock(req *abci.RequestFinalizeBlock) (res *abci.Res return res, err } -// checkHalt checkes if height or time exceeds halt-height or halt-time respectively. +// checkHalt checks if height or time exceeds halt-height or halt-time respectively. func (app *BaseApp) checkHalt(height int64, time time.Time) error { var halt bool switch { From 52a7d28d08f6250da939b68d17745a790f6ff35e Mon Sep 17 00:00:00 2001 From: teenager-ETH Date: Sat, 21 Dec 2024 21:42:10 +0100 Subject: [PATCH 2/3] fix typo secp256k1.h --- .../internal/secp256k1/libsecp256k1/include/secp256k1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/include/secp256k1.h b/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/include/secp256k1.h index f268e309d0bf..76af8396918e 100644 --- a/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/include/secp256k1.h +++ b/crypto/keys/secp256k1/internal/secp256k1/libsecp256k1/include/secp256k1.h @@ -357,7 +357,7 @@ SECP256K1_API int secp256k1_ecdsa_signature_serialize_compact( /** Verify an ECDSA signature. * * Returns: 1: correct signature - * 0: incorrect or unparseable signature + * 0: incorrect or unparsable signature * Args: ctx: a secp256k1 context object, initialized for verification. * In: sig: the signature being verified (cannot be NULL) * msg32: the 32-byte message hash being verified (cannot be NULL) From 208c07ec52e5c77ee112778d3dfd1da2137f6d8f Mon Sep 17 00:00:00 2001 From: teenager-ETH Date: Sat, 21 Dec 2024 21:42:58 +0100 Subject: [PATCH 3/3] fix typo codec.go --- collections/colltest/codec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collections/colltest/codec.go b/collections/colltest/codec.go index c0bb5038199c..18f24983f4f1 100644 --- a/collections/colltest/codec.go +++ b/collections/colltest/codec.go @@ -119,7 +119,7 @@ func (m mockValueCodec[T]) Decode(b []byte) (t T, err error) { typ, exists := m.seenTypes[wrappedValue.TypeName] if !exists { - return t, fmt.Errorf("uknown type %s, you're dealing with interfaces... in order to make the interface types known for the MockValueCodec, you need to first encode them", wrappedValue.TypeName) + return t, fmt.Errorf("unknown type %s, you're dealing with interfaces... in order to make the interface types known for the MockValueCodec, you need to first encode them", wrappedValue.TypeName) } newT := reflect.New(typ).Interface()