Skip to content

Commit

Permalink
fix: Update command
Browse files Browse the repository at this point in the history
Co-authored-by: Chanhyuck Ko <[email protected]>
Co-authored-by: Lee, Suho <[email protected]>
(cherry picked from commit c71f8b6)
  • Loading branch information
OnedgeLee committed Oct 18, 2023
1 parent 4d56d9a commit 4050dd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Libplanet.Extensions.Cocona/Commands/BlockCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ public void GenerateGenesis(
.Select(PublicKey.FromHex)
.Select(k => new Validator(k, BigInteger.One))
.ToList());
var emptyState =
ImmutableTrieDictionary<Address, IImmutableDictionary<Address, IValue>>.Empty;
ImmutableList<Transaction> txs = Array.Empty<Transaction>()

// FIXME: Remove this pragma after fixing the following issue:
Expand All @@ -150,7 +152,7 @@ public void GenerateGenesis(
null,
new IAction[]
{
new Initialize(validatorSet, ImmutableTrieDictionary<Address, IValue>.Empty),
new Initialize(validatorSet, emptyState),
}.Select(x => x.PlainValue)))
.ToImmutableList();

Expand Down

0 comments on commit 4050dd3

Please sign in to comment.