From 26635d9795b79ed674a0ab3d5b85f9b2b8234005 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..7143744a0 160000 --- a/Lib9c +++ b/Lib9c @@ -1 +1 @@ -Subproject commit a463acae5fe51871e0b9e8a3b2a238a003a19bfd +Subproject commit 7143744a0fd03adbf919a7e7da7cbe06cfe90bf9 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(); } }