Skip to content

Add solomachine clientID constant to testing package #2843

Closed

Description

Summary

Add a default clientID used for association of solo machine clients created on a tendermint chain:

diff --git a/testing/values.go b/testing/values.go
index 460e27a23..44af56e8f 100644
--- a/testing/values.go
+++ b/testing/values.go
@@ -18,9 +18,10 @@ import (
 )
 
 const (
-       FirstClientID     = "07-tendermint-0"
-       FirstChannelID    = "channel-0"
-       FirstConnectionID = "connection-0"
+       FirstClientID       = "07-tendermint-0"
+       FirstChannelID      = "channel-0"
+       FirstConnectionID   = "connection-0"
+       SolomachineClientID = "06-solomachine-0"
 
        // Default params constants used to create a TM client
        TrustingPeriod     time.Duration = time.Hour * 24 * 7 * 2

Replace all usage of the "06-solomachine-0" string. See comment

It could make sense to use the name DefaultSolomachineClientID over SolomachineClientID


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions