fix linter errors

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2023-07-19 14:13:08 +02:00
parent 02f2140df4
commit d43b61b9aa
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A
2 changed files with 6 additions and 4 deletions

View File

@ -11,6 +11,7 @@ import (
txtypes "github.com/cosmos/cosmos-sdk/types/tx"
)
// TestNotarizeAssetREST notarizes asset over REST endpoint
func (s *E2ETestSuite) TestNotarizeAssetREST() {
val := s.network.Validators[0]

View File

@ -30,7 +30,7 @@ import (
// Queryable pubkey for TestNotarizeAsset
const mnemonic = "helmet hedgehog lab actor weekend elbow pelican valid obtain hungry rocket decade tower gallery fit practice cart cherry giggle hair snack glance bulb farm"
// Struct definition of machine E2ETestSuite
// E2ETestSuite struct definition of asset suite
type E2ETestSuite struct {
suite.Suite
@ -38,12 +38,12 @@ type E2ETestSuite struct {
network *network.Network
}
// Returns new machine E2ETestSuite
// NewE2ETestSuite returns configured asset E2ETestSuite
func NewE2ETestSuite(cfg network.Config) *E2ETestSuite {
return &E2ETestSuite{cfg: cfg}
}
// Sets up new machine E2ETestSuite
// SetupSuite initializes asset E2ETestSuite
func (s *E2ETestSuite) SetupSuite() {
s.T().Log("setting up e2e test suite")
@ -101,7 +101,7 @@ func (s *E2ETestSuite) SetupSuite() {
s.Require().NoError(s.network.WaitForNextBlock())
}
// Tear down machine E2ETestSuite
// TearDownSuite clean up after testing
func (s *E2ETestSuite) TearDownSuite() {
s.T().Log("tearing down e2e test suite")
}
@ -111,6 +111,7 @@ type unsafeExporter interface {
ExportPrivateKeyObject(uid string) (types.PrivKey, error)
}
// TestNotarizeAsset notarizes asset over cli
func (s *E2ETestSuite) TestNotarizeAsset() {
val := s.network.Validators[0]