aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/governance.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/governance.go')
-rw-r--r--core/test/governance.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/test/governance.go b/core/test/governance.go
index 58ab582..8df7e80 100644
--- a/core/test/governance.go
+++ b/core/test/governance.go
@@ -88,6 +88,16 @@ func (g *Governance) GetConfigurationChangeEvent(
return nil
}
+// GetGenesisCRS returns the CRS string.
+func (g *Governance) GetGenesisCRS() string {
+ return "🆕 DEXON"
+}
+
+// GetAgreementK returns number of blocks for a CRS.
+func (g *Governance) GetAgreementK() int {
+ return 20
+}
+
// GetPrivateKey return the private key for that validator, this function
// is a test utility and not a general core.Governance interface.
func (g *Governance) GetPrivateKey(