From 11162da5673eff8ee381e038176d1ef40295c369 Mon Sep 17 00:00:00 2001 From: Suho Lee Date: Sat, 16 Sep 2023 03:57:35 +0900 Subject: [PATCH] for UpdatedFungibleAssets --- Lib9c | 2 +- .../ForkableActionEvaluatorTest.cs | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Lib9c b/Lib9c index a463acae5..901c59e3c 160000 --- a/Lib9c +++ b/Lib9c @@ -1 +1 @@ -Subproject commit a463acae5fe51871e0b9e8a3b2a238a003a19bfd +Subproject commit 901c59e3c618fcc07d3727c61cf1f20fd48e2893 diff --git a/Libplanet.Extensions.ForkableActionEvaluator.Tests/ForkableActionEvaluatorTest.cs b/Libplanet.Extensions.ForkableActionEvaluator.Tests/ForkableActionEvaluatorTest.cs index 210ab2689..9a29936ee 100644 --- a/Libplanet.Extensions.ForkableActionEvaluator.Tests/ForkableActionEvaluatorTest.cs +++ b/Libplanet.Extensions.ForkableActionEvaluator.Tests/ForkableActionEvaluatorTest.cs @@ -1,3 +1,5 @@ +using System.Collections.Immutable; +using System.Numerics; using System.Security.Cryptography; using Bencodex.Types; using Libplanet.Action; @@ -6,6 +8,7 @@ using Libplanet.Common; using Libplanet.Crypto; using Libplanet.Extensions.ActionEvaluatorCommonComponents; +using Libplanet.Types.Assets; using Libplanet.Types.Tx; using ActionEvaluation = Libplanet.Extensions.ActionEvaluatorCommonComponents.ActionEvaluation; using ArgumentOutOfRangeException = System.ArgumentOutOfRangeException; @@ -68,7 +71,7 @@ public IReadOnlyList Evaluate(IPreEvaluationBlock block) false), new AccountStateDelta(), null) - }.Select(x => new ActionResult(x)).ToArray(); + }.Select(x => new ActionResult(x, ImmutableDictionary<(Address, Currency), BigInteger>.Empty)).ToArray(); } } @@ -95,7 +98,7 @@ public IReadOnlyList Evaluate(IPreEvaluationBlock block) false), new AccountStateDelta(), null) - }.Select(x => new ActionResult(x)).ToArray(); + }.Select(x => new ActionResult(x, ImmutableDictionary<(Address, Currency), BigInteger>.Empty)).ToArray(); } }