diff --git a/Libplanet.Extensions.Cocona/Commands/BlockCommand.cs b/Libplanet.Extensions.Cocona/Commands/BlockCommand.cs index 882c869fb6e..e5975a47632 100644 --- a/Libplanet.Extensions.Cocona/Commands/BlockCommand.cs +++ b/Libplanet.Extensions.Cocona/Commands/BlockCommand.cs @@ -138,6 +138,8 @@ public void GenerateGenesis( .Select(PublicKey.FromHex) .Select(k => new Validator(k, BigInteger.One)) .ToList()); + var emptyState = + ImmutableTrieDictionary>.Empty; ImmutableList txs = Array.Empty() // FIXME: Remove this pragma after fixing the following issue: @@ -150,7 +152,7 @@ public void GenerateGenesis( null, new IAction[] { - new Initialize(validatorSet, ImmutableTrieDictionary.Empty), + new Initialize(validatorSet, emptyState), }.Select(x => x.PlainValue))) .ToImmutableList();