From 46ba491191760a796ad88cf0f9fe4aad5f6a9675 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..de3a33409 160000 --- a/Lib9c +++ b/Lib9c @@ -1 +1 @@ -Subproject commit a463acae5fe51871e0b9e8a3b2a238a003a19bfd +Subproject commit de3a33409a5b1836d4aadb6df9d3aee999c26b7d 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(); } }