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.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/test/governance.go b/core/test/governance.go
index 74eca85..42294fc 100644
--- a/core/test/governance.go
+++ b/core/test/governance.go
@@ -90,6 +90,11 @@ func (g *Governance) Configuration(round uint64) *types.Config {
return g.configs[round]
}
+// GetRoundHeight returns the begin height of a round.
+func (g *Governance) GetRoundHeight(round uint64) uint64 {
+ return 0
+}
+
// CRS returns the CRS for a given round.
func (g *Governance) CRS(round uint64) common.Hash {
return g.stateModule.CRS(round)