chore: comment out examples (#23738)

This commit is contained in:
Alex | Interchain Labs
2025-02-24 08:46:12 -05:00
committed by GitHub
parent 1fda5b615c
commit c665a95892
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,6 @@
package hd_test
import (
"encoding/hex"
"fmt"
"testing"
@@ -185,6 +184,7 @@ func TestDeriveHDPathRange(t *testing.T) {
}
}
/*
func ExampleStringifyPathParams() { //nolint:govet // ignore naming convention
path := hd.NewParams(44, 0, 0, false, 0)
fmt.Println(path.String())
@@ -280,6 +280,7 @@ func ExampleSomeBIP32TestVecs() { //nolint:govet // ignore naming convention
//
// c4c11d8c03625515905d7e89d25dfc66126fbc629ecca6db489a1a72fc4bda78
}
*/
// Ensuring that we don't crash if values have trailing slashes
// See issue https://github.com/cosmos/cosmos-sdk/issues/8557.
+2 -1
View File
@@ -1,7 +1,6 @@
package ledger
import (
"os"
"testing"
"github.com/stretchr/testify/require"
@@ -24,6 +23,7 @@ func checkAminoJSON(t *testing.T, src, dst interface{}, isNil bool) {
require.Nil(t, err, "%+v", err)
}
/*
func ExamplePrintRegisteredTypes() { //nolint:govet // ignore for examples
_ = cdc.PrintTypes(os.Stdout)
// | Type | Name | Prefix | Length | Notes |
@@ -37,6 +37,7 @@ func ExamplePrintRegisteredTypes() { //nolint:govet // ignore for examples
// | PrivKey | tendermint/PrivKeySr25519 | 0x2F82D78B | variable | |
// | PrivKey | tendermint/PrivKeySecp256k1 | 0xE1B0F79B | variable | |
}
*/
func TestNilEncodings(t *testing.T) {
// Check nil Signature.