chore: comment out examples (#23738)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user