diff options
Diffstat (limited to 'core/test')
-rw-r--r-- | core/test/governance.go | 10 |
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( |