From e2a93a3febfea5b42ebb5f7bb48a38ae7007ad41 Mon Sep 17 00:00:00 2001 From: Elijah Seed-Arita Date: Fri, 18 Feb 2022 11:09:56 -1000 Subject: [PATCH] add itests ensemble mocknet getter --- itests/kit/ensemble.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/itests/kit/ensemble.go b/itests/kit/ensemble.go index 0227ee81e..6a0158429 100644 --- a/itests/kit/ensemble.go +++ b/itests/kit/ensemble.go @@ -151,6 +151,11 @@ func NewEnsemble(t *testing.T, opts ...EnsembleOpt) *Ensemble { return n } +// Mocknet returns the underlying mocknet. +func (n *Ensemble) Mocknet() mocknet.Mocknet { + return n.mn +} + // FullNode enrolls a new full node. func (n *Ensemble) FullNode(full *TestFullNode, opts ...NodeOpt) *Ensemble { options := DefaultNodeOpts