aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/governance.go
diff options
context:
space:
mode:
Diffstat (limited to 'simulation/governance.go')
-rw-r--r--simulation/governance.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/simulation/governance.go b/simulation/governance.go
index 5220ae5..44f679d 100644
--- a/simulation/governance.go
+++ b/simulation/governance.go
@@ -85,8 +85,13 @@ func (g *simGovernance) GetBlockProposingInterval() int {
return 0
}
-// GetChainNumber returns number of chain.
-func (g *simGovernance) GetChainNumber() uint32 {
+// GetNumShards returns number of shards.
+func (g *simGovernance) GetNumShards() uint32 {
+ return 1
+}
+
+// GetNumChains returns number of chains.
+func (g *simGovernance) GetNumChains() uint32 {
return g.chainNum
}