diff --git a/.Lib9c.DevExtensions.Tests/Action/CreateOrReplaceAvatarTest.cs b/.Lib9c.DevExtensions.Tests/Action/CreateOrReplaceAvatarTest.cs index 0ab36e8230..75a07d981e 100644 --- a/.Lib9c.DevExtensions.Tests/Action/CreateOrReplaceAvatarTest.cs +++ b/.Lib9c.DevExtensions.Tests/Action/CreateOrReplaceAvatarTest.cs @@ -460,7 +460,6 @@ private static void Execute( PreviousState = previousStates, Signer = agentAddr, RandomSeed = 0, - Rehearsal = false, BlockIndex = blockIndex, }); var agent = new AgentState((Dictionary)nextStates.GetState(agentAddr)!); diff --git a/.Lib9c.Tests/Action/ActionContext.cs b/.Lib9c.Tests/Action/ActionContext.cs index 62ba8ded68..a4e6e1610d 100644 --- a/.Lib9c.Tests/Action/ActionContext.cs +++ b/.Lib9c.Tests/Action/ActionContext.cs @@ -27,7 +27,7 @@ public class ActionContext : IActionContext public int BlockProtocolVersion { get; set; } - public bool Rehearsal { get; set; } + public bool Rehearsal => false; public IAccount PreviousState { get; set; } diff --git a/.Lib9c.Tests/Action/BattleArena10Test.cs b/.Lib9c.Tests/Action/BattleArena10Test.cs index 734030b98a..9bbf5ca6f7 100644 --- a/.Lib9c.Tests/Action/BattleArena10Test.cs +++ b/.Lib9c.Tests/Action/BattleArena10Test.cs @@ -973,7 +973,6 @@ public void ExecuteDuplicatedException(int slotIndex, int runeId, int slotIndex2 PreviousState = previousStates, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, })); } @@ -1205,7 +1204,6 @@ private void Execute( PreviousState = previousStates, Signer = myAgentAddress, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -1310,7 +1308,6 @@ private IAccount JoinArena( PreviousState = states, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return states; diff --git a/.Lib9c.Tests/Action/BattleArena11Test.cs b/.Lib9c.Tests/Action/BattleArena11Test.cs index ef11262ce3..76a7849e59 100644 --- a/.Lib9c.Tests/Action/BattleArena11Test.cs +++ b/.Lib9c.Tests/Action/BattleArena11Test.cs @@ -973,7 +973,6 @@ public void ExecuteDuplicatedException(int slotIndex, int runeId, int slotIndex2 PreviousState = previousStates, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, })); } @@ -1205,7 +1204,6 @@ private void Execute( PreviousState = previousStates, Signer = myAgentAddress, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -1310,7 +1308,6 @@ private IAccount JoinArena( PreviousState = states, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return states; diff --git a/.Lib9c.Tests/Action/BattleArena12Test.cs b/.Lib9c.Tests/Action/BattleArena12Test.cs index e478c53e27..151753f012 100644 --- a/.Lib9c.Tests/Action/BattleArena12Test.cs +++ b/.Lib9c.Tests/Action/BattleArena12Test.cs @@ -973,7 +973,6 @@ public void ExecuteDuplicatedException(int slotIndex, int runeId, int slotIndex2 PreviousState = previousStates, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, })); } @@ -1244,7 +1243,6 @@ private void Execute( PreviousState = previousStates, Signer = myAgentAddress, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -1349,7 +1347,6 @@ private IAccount JoinArena( PreviousState = states, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return states; diff --git a/.Lib9c.Tests/Action/BattleArena13Test.cs b/.Lib9c.Tests/Action/BattleArena13Test.cs index a74780bb27..9c98b560a7 100644 --- a/.Lib9c.Tests/Action/BattleArena13Test.cs +++ b/.Lib9c.Tests/Action/BattleArena13Test.cs @@ -973,7 +973,6 @@ public void ExecuteDuplicatedException(int slotIndex, int runeId, int slotIndex2 PreviousState = previousStates, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, })); } @@ -1205,7 +1204,6 @@ private void Execute( PreviousState = previousStates, Signer = myAgentAddress, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -1310,7 +1308,6 @@ private IAccount JoinArena( PreviousState = states, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return states; diff --git a/.Lib9c.Tests/Action/BattleArena1Test.cs b/.Lib9c.Tests/Action/BattleArena1Test.cs index f7065a2d85..c1f9bc277c 100644 --- a/.Lib9c.Tests/Action/BattleArena1Test.cs +++ b/.Lib9c.Tests/Action/BattleArena1Test.cs @@ -209,7 +209,6 @@ public IAccount JoinArena(IActionContext context, Address signer, Address avatar PreviousState = _state, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return _state; @@ -293,7 +292,6 @@ public void Execute(long nextBlockIndex, int championshipId, int round, int tick PreviousState = _state, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/BattleArena2Test.cs b/.Lib9c.Tests/Action/BattleArena2Test.cs index 93a9ea9293..a9c5a9fe96 100644 --- a/.Lib9c.Tests/Action/BattleArena2Test.cs +++ b/.Lib9c.Tests/Action/BattleArena2Test.cs @@ -213,7 +213,6 @@ public IAccount JoinArena(IActionContext context, Address signer, Address avatar PreviousState = _state, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return _state; @@ -308,7 +307,6 @@ public void Execute( PreviousState = _state, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/BattleArena3Test.cs b/.Lib9c.Tests/Action/BattleArena3Test.cs index 18dd8ef071..8b17bc5fa5 100644 --- a/.Lib9c.Tests/Action/BattleArena3Test.cs +++ b/.Lib9c.Tests/Action/BattleArena3Test.cs @@ -213,7 +213,6 @@ public IAccount JoinArena(IActionContext context, Address signer, Address avatar PreviousState = _state, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return _state; @@ -308,7 +307,6 @@ public void Execute( PreviousState = _state, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/BattleArena4Test.cs b/.Lib9c.Tests/Action/BattleArena4Test.cs index b78894e10d..c49f29830b 100644 --- a/.Lib9c.Tests/Action/BattleArena4Test.cs +++ b/.Lib9c.Tests/Action/BattleArena4Test.cs @@ -213,7 +213,6 @@ public IAccount JoinArena(IActionContext context, Address signer, Address avatar PreviousState = _state, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return _state; @@ -308,7 +307,6 @@ public void Execute( PreviousState = _state, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -927,7 +925,6 @@ public void Execute_v100291() PreviousState = _state, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/BattleArena5Test.cs b/.Lib9c.Tests/Action/BattleArena5Test.cs index 8b2f9aab84..f30765fae8 100644 --- a/.Lib9c.Tests/Action/BattleArena5Test.cs +++ b/.Lib9c.Tests/Action/BattleArena5Test.cs @@ -896,7 +896,6 @@ private void Execute( PreviousState = previousStates, Signer = myAgentAddress, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -1001,7 +1000,6 @@ private IAccount JoinArena( PreviousState = states, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return states; diff --git a/.Lib9c.Tests/Action/BattleArena6Test.cs b/.Lib9c.Tests/Action/BattleArena6Test.cs index 7067a0b31f..59ccc0d8ae 100644 --- a/.Lib9c.Tests/Action/BattleArena6Test.cs +++ b/.Lib9c.Tests/Action/BattleArena6Test.cs @@ -982,7 +982,6 @@ private void Execute( PreviousState = previousStates, Signer = myAgentAddress, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -1087,7 +1086,6 @@ private IAccount JoinArena( PreviousState = states, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return states; diff --git a/.Lib9c.Tests/Action/BattleArena7Test.cs b/.Lib9c.Tests/Action/BattleArena7Test.cs index 523a5626f7..2847662dcd 100644 --- a/.Lib9c.Tests/Action/BattleArena7Test.cs +++ b/.Lib9c.Tests/Action/BattleArena7Test.cs @@ -995,7 +995,6 @@ private void Execute( PreviousState = previousStates, Signer = myAgentAddress, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -1100,7 +1099,6 @@ private IAccount JoinArena( PreviousState = states, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return states; diff --git a/.Lib9c.Tests/Action/BattleArena8Test.cs b/.Lib9c.Tests/Action/BattleArena8Test.cs index 41779f3cf7..3814ffddcb 100644 --- a/.Lib9c.Tests/Action/BattleArena8Test.cs +++ b/.Lib9c.Tests/Action/BattleArena8Test.cs @@ -973,7 +973,6 @@ public void ExecuteDuplicatedException(int slotIndex, int runeId, int slotIndex2 PreviousState = previousStates, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, })); } @@ -1205,7 +1204,6 @@ private void Execute( PreviousState = previousStates, Signer = myAgentAddress, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -1310,7 +1308,6 @@ private IAccount JoinArena( PreviousState = states, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return states; diff --git a/.Lib9c.Tests/Action/BattleArena9Test.cs b/.Lib9c.Tests/Action/BattleArena9Test.cs index e79f7a291e..ab3554db6c 100644 --- a/.Lib9c.Tests/Action/BattleArena9Test.cs +++ b/.Lib9c.Tests/Action/BattleArena9Test.cs @@ -973,7 +973,6 @@ public void ExecuteDuplicatedException(int slotIndex, int runeId, int slotIndex2 PreviousState = previousStates, Signer = _agent1Address, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, })); } @@ -1205,7 +1204,6 @@ private void Execute( PreviousState = previousStates, Signer = myAgentAddress, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -1310,7 +1308,6 @@ private IAccount JoinArena( PreviousState = states, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return states; diff --git a/.Lib9c.Tests/Action/Buy10Test.cs b/.Lib9c.Tests/Action/Buy10Test.cs index 3a3f550419..bddb360d9d 100644 --- a/.Lib9c.Tests/Action/Buy10Test.cs +++ b/.Lib9c.Tests/Action/Buy10Test.cs @@ -332,7 +332,6 @@ public void Execute(params OrderData[] orderDataList) BlockIndex = 100, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); @@ -701,7 +700,6 @@ public void Execute_ReconfigureFungibleItem(params OrderData[] orderDataList) BlockIndex = 100, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); @@ -809,7 +807,6 @@ public void Execute_With_Testbed() BlockIndex = 100, PreviousState = nextState, RandomSeed = 0, - Rehearsal = false, Signer = result.GetAgentState().address, }); diff --git a/.Lib9c.Tests/Action/Buy11Test.cs b/.Lib9c.Tests/Action/Buy11Test.cs index 6a68862fb3..30e0275d23 100644 --- a/.Lib9c.Tests/Action/Buy11Test.cs +++ b/.Lib9c.Tests/Action/Buy11Test.cs @@ -338,7 +338,6 @@ public void Execute(params OrderData[] orderDataList) BlockIndex = 100, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); @@ -707,7 +706,6 @@ public void Execute_ReconfigureFungibleItem(params OrderData[] orderDataList) BlockIndex = 100, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); @@ -818,7 +816,6 @@ public void Execute_With_Testbed() BlockIndex = 100, PreviousState = nextState, RandomSeed = 0, - Rehearsal = false, Signer = result.GetAgentState().address, }); @@ -937,7 +934,6 @@ public void Execute_ActionObsoletedException() BlockIndex = 100, PreviousState = nextState, RandomSeed = 0, - Rehearsal = false, Signer = result.GetAgentState().address, }); }); diff --git a/.Lib9c.Tests/Action/Buy2Test.cs b/.Lib9c.Tests/Action/Buy2Test.cs index 4efc953256..da5b9ea375 100644 --- a/.Lib9c.Tests/Action/Buy2Test.cs +++ b/.Lib9c.Tests/Action/Buy2Test.cs @@ -151,7 +151,6 @@ public void Execute() BlockIndex = 0, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); diff --git a/.Lib9c.Tests/Action/Buy3Test.cs b/.Lib9c.Tests/Action/Buy3Test.cs index 499bb94572..d6b72c532b 100644 --- a/.Lib9c.Tests/Action/Buy3Test.cs +++ b/.Lib9c.Tests/Action/Buy3Test.cs @@ -165,7 +165,6 @@ public void Execute() BlockIndex = 0, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); diff --git a/.Lib9c.Tests/Action/Buy4Test.cs b/.Lib9c.Tests/Action/Buy4Test.cs index 6ad35d7fb6..072ece0228 100644 --- a/.Lib9c.Tests/Action/Buy4Test.cs +++ b/.Lib9c.Tests/Action/Buy4Test.cs @@ -184,7 +184,6 @@ public void Execute() BlockIndex = 0, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); diff --git a/.Lib9c.Tests/Action/Buy5Test.cs b/.Lib9c.Tests/Action/Buy5Test.cs index 18e7413aa4..f17caa6b54 100644 --- a/.Lib9c.Tests/Action/Buy5Test.cs +++ b/.Lib9c.Tests/Action/Buy5Test.cs @@ -260,7 +260,6 @@ public void Execute(params ShopItemData[] shopItemMembers) BlockIndex = 1, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); diff --git a/.Lib9c.Tests/Action/Buy6Test.cs b/.Lib9c.Tests/Action/Buy6Test.cs index 6d61fa7104..79507ddd07 100644 --- a/.Lib9c.Tests/Action/Buy6Test.cs +++ b/.Lib9c.Tests/Action/Buy6Test.cs @@ -320,7 +320,6 @@ out _ BlockIndex = 1, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); diff --git a/.Lib9c.Tests/Action/Buy7Test.cs b/.Lib9c.Tests/Action/Buy7Test.cs index 7f77c8a1de..dc5468be03 100644 --- a/.Lib9c.Tests/Action/Buy7Test.cs +++ b/.Lib9c.Tests/Action/Buy7Test.cs @@ -321,7 +321,6 @@ out _ BlockIndex = 1, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); diff --git a/.Lib9c.Tests/Action/Buy8Test.cs b/.Lib9c.Tests/Action/Buy8Test.cs index f968b3815b..f5f899e048 100644 --- a/.Lib9c.Tests/Action/Buy8Test.cs +++ b/.Lib9c.Tests/Action/Buy8Test.cs @@ -306,7 +306,6 @@ out _ BlockIndex = 100, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); diff --git a/.Lib9c.Tests/Action/Buy9Test.cs b/.Lib9c.Tests/Action/Buy9Test.cs index b0da320384..5f8b67d0aa 100644 --- a/.Lib9c.Tests/Action/Buy9Test.cs +++ b/.Lib9c.Tests/Action/Buy9Test.cs @@ -404,7 +404,6 @@ out _ BlockIndex = 100, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); diff --git a/.Lib9c.Tests/Action/BuyMultipleTest.cs b/.Lib9c.Tests/Action/BuyMultipleTest.cs index 50a56ce6d3..83f9da09f9 100644 --- a/.Lib9c.Tests/Action/BuyMultipleTest.cs +++ b/.Lib9c.Tests/Action/BuyMultipleTest.cs @@ -335,7 +335,6 @@ public void Execute(params ShopItemData[] productDatas) BlockIndex = 1, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); diff --git a/.Lib9c.Tests/Action/BuyTest.cs b/.Lib9c.Tests/Action/BuyTest.cs index dd26c09de8..fb6b6a14e6 100644 --- a/.Lib9c.Tests/Action/BuyTest.cs +++ b/.Lib9c.Tests/Action/BuyTest.cs @@ -347,7 +347,6 @@ public void Execute(params OrderData[] orderDataList) BlockIndex = 100, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); @@ -361,7 +360,6 @@ public void Execute(params OrderData[] orderDataList) BlockIndex = 100, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); @@ -776,7 +774,6 @@ public void Execute_ReconfigureFungibleItem(params OrderData[] orderDataList) BlockIndex = 100, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _buyerAgentAddress, }); @@ -884,7 +881,6 @@ public void Execute_With_Testbed() BlockIndex = 100, PreviousState = nextState, RandomSeed = 0, - Rehearsal = false, Signer = result.GetAgentState().address, }); diff --git a/.Lib9c.Tests/Action/ChargeActionPoint0Test.cs b/.Lib9c.Tests/Action/ChargeActionPoint0Test.cs index 48cd7890fc..7d95a4c606 100644 --- a/.Lib9c.Tests/Action/ChargeActionPoint0Test.cs +++ b/.Lib9c.Tests/Action/ChargeActionPoint0Test.cs @@ -73,7 +73,6 @@ public void Execute() PreviousState = state, Signer = agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(avatarAddress); diff --git a/.Lib9c.Tests/Action/ChargeActionPoint2Test.cs b/.Lib9c.Tests/Action/ChargeActionPoint2Test.cs index 2b38a15601..f15b2ab401 100644 --- a/.Lib9c.Tests/Action/ChargeActionPoint2Test.cs +++ b/.Lib9c.Tests/Action/ChargeActionPoint2Test.cs @@ -91,7 +91,6 @@ public void Execute(bool useTradable) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); @@ -146,7 +145,6 @@ public void Execute_Throw_NotEnoughMaterialException(bool useTradable) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); } diff --git a/.Lib9c.Tests/Action/ChargeActionPointTest.cs b/.Lib9c.Tests/Action/ChargeActionPointTest.cs index c02d549f7f..7a78f06e33 100644 --- a/.Lib9c.Tests/Action/ChargeActionPointTest.cs +++ b/.Lib9c.Tests/Action/ChargeActionPointTest.cs @@ -108,7 +108,6 @@ public void Execute(bool useTradable, bool backward) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -164,7 +163,6 @@ public void Execute_Throw_Exception(bool useAvatarAddress, bool useTradable, boo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); } diff --git a/.Lib9c.Tests/Action/Coupons/IssueCouponsTest.cs b/.Lib9c.Tests/Action/Coupons/IssueCouponsTest.cs index 4a2f2a5060..712254c8fd 100644 --- a/.Lib9c.Tests/Action/Coupons/IssueCouponsTest.cs +++ b/.Lib9c.Tests/Action/Coupons/IssueCouponsTest.cs @@ -33,7 +33,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, RandomSeed = random.Seed, BlockIndex = long.MaxValue, Signer = CouponsFixture.AgentAddress1, @@ -47,7 +46,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, RandomSeed = random.Seed, BlockIndex = 0, Signer = CouponsFixture.AgentAddress2, @@ -62,7 +60,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, RandomSeed = random.Seed, BlockIndex = 0, Signer = CouponsFixture.AgentAddress1, @@ -78,7 +75,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, RandomSeed = random.Seed, BlockIndex = 0, Signer = CouponsFixture.AgentAddress1, @@ -92,7 +88,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, RandomSeed = random.Seed, BlockIndex = 0, Signer = CouponsFixture.AgentAddress1, diff --git a/.Lib9c.Tests/Action/Coupons/RedeemCouponTest.cs b/.Lib9c.Tests/Action/Coupons/RedeemCouponTest.cs index 812a174853..dc7d2bd104 100644 --- a/.Lib9c.Tests/Action/Coupons/RedeemCouponTest.cs +++ b/.Lib9c.Tests/Action/Coupons/RedeemCouponTest.cs @@ -117,7 +117,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress1, RandomSeed = random.Seed, })); @@ -148,7 +147,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress1, RandomSeed = random.Seed, }); @@ -164,7 +162,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress1, RandomSeed = random.Seed, }); @@ -183,7 +180,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress1, RandomSeed = random.Seed, }); @@ -203,7 +199,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress1, RandomSeed = random.Seed, }); @@ -221,7 +216,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress1, RandomSeed = random.Seed, }); @@ -243,7 +237,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress1, RandomSeed = random.Seed, }); @@ -260,7 +253,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress1, RandomSeed = random.Seed, }); @@ -280,7 +272,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress2, RandomSeed = random.Seed, }); @@ -302,7 +293,6 @@ public void Execute() new ActionContext { PreviousState = state, - Rehearsal = false, Signer = CouponsFixture.AgentAddress1, RandomSeed = random.Seed, }); diff --git a/.Lib9c.Tests/Action/Coupons/TransferCouponsTest.cs b/.Lib9c.Tests/Action/Coupons/TransferCouponsTest.cs index 741ce778aa..19671779c3 100644 --- a/.Lib9c.Tests/Action/Coupons/TransferCouponsTest.cs +++ b/.Lib9c.Tests/Action/Coupons/TransferCouponsTest.cs @@ -42,7 +42,6 @@ public void Execute() { PreviousState = state, Signer = CouponsFixture.AgentAddress1, - Rehearsal = false, })); // can't transfer coupon that's not mine @@ -55,7 +54,6 @@ public void Execute() { PreviousState = state, Signer = CouponsFixture.AgentAddress2, - Rehearsal = false, })); // can't transfer a coupon to two different people @@ -70,7 +68,6 @@ public void Execute() { PreviousState = state, Signer = CouponsFixture.AgentAddress1, - Rehearsal = false, })); // transfer to self @@ -84,7 +81,6 @@ public void Execute() { PreviousState = state, Signer = CouponsFixture.AgentAddress1, - Rehearsal = false, }); Assert.Equal(expected, state.GetCouponWallet(CouponsFixture.AgentAddress1)); @@ -97,7 +93,6 @@ public void Execute() { PreviousState = state, Signer = CouponsFixture.AgentAddress1, - Rehearsal = false, }); Assert.Equal(expected, state.GetCouponWallet(CouponsFixture.AgentAddress1)); @@ -112,7 +107,6 @@ public void Execute() { PreviousState = state, Signer = CouponsFixture.AgentAddress1, - Rehearsal = false, }); Assert.Equal( expected.Remove(CouponsFixture.Guid1), @@ -132,7 +126,6 @@ public void Execute() { PreviousState = state, Signer = CouponsFixture.AgentAddress1, - Rehearsal = false, })); // multiple transfer @@ -162,7 +155,6 @@ public void Execute() { PreviousState = state, Signer = CouponsFixture.AgentAddress1, - Rehearsal = false, }); Assert.Equal( ImmutableDictionary.Empty, diff --git a/.Lib9c.Tests/Action/DailyReward0Test.cs b/.Lib9c.Tests/Action/DailyReward0Test.cs index 8ee7adf08b..28b3fac50b 100644 --- a/.Lib9c.Tests/Action/DailyReward0Test.cs +++ b/.Lib9c.Tests/Action/DailyReward0Test.cs @@ -65,7 +65,6 @@ public void Execute() { BlockIndex = 0, PreviousState = _initialState, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/DailyReward2Test.cs b/.Lib9c.Tests/Action/DailyReward2Test.cs index aae8b3ccaa..d9fa11a272 100644 --- a/.Lib9c.Tests/Action/DailyReward2Test.cs +++ b/.Lib9c.Tests/Action/DailyReward2Test.cs @@ -68,7 +68,6 @@ public void Execute() BlockIndex = 0, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/DailyReward3Test.cs b/.Lib9c.Tests/Action/DailyReward3Test.cs index 0a299a2594..f107300ff8 100644 --- a/.Lib9c.Tests/Action/DailyReward3Test.cs +++ b/.Lib9c.Tests/Action/DailyReward3Test.cs @@ -68,7 +68,6 @@ public void Execute() BlockIndex = 0, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/DailyReward4Test.cs b/.Lib9c.Tests/Action/DailyReward4Test.cs index 4fa13eb6e7..1ea3a98d08 100644 --- a/.Lib9c.Tests/Action/DailyReward4Test.cs +++ b/.Lib9c.Tests/Action/DailyReward4Test.cs @@ -83,7 +83,6 @@ public void Execute(bool backward) BlockIndex = 0, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/DailyReward5Test.cs b/.Lib9c.Tests/Action/DailyReward5Test.cs index 0fdd70f9ea..0bfc80f725 100644 --- a/.Lib9c.Tests/Action/DailyReward5Test.cs +++ b/.Lib9c.Tests/Action/DailyReward5Test.cs @@ -139,7 +139,6 @@ private IAccount ExecuteInternal(IAccount previousStates, long blockIndex = 0) BlockIndex = blockIndex, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); } diff --git a/.Lib9c.Tests/Action/DailyReward6Test.cs b/.Lib9c.Tests/Action/DailyReward6Test.cs index 1b344d4d82..6835f4054e 100644 --- a/.Lib9c.Tests/Action/DailyReward6Test.cs +++ b/.Lib9c.Tests/Action/DailyReward6Test.cs @@ -164,7 +164,6 @@ private IAccount ExecuteInternal(IAccount previousStates, long blockIndex = 0) BlockIndex = blockIndex, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); } diff --git a/.Lib9c.Tests/Action/DailyRewardTest.cs b/.Lib9c.Tests/Action/DailyRewardTest.cs index d07eac4d56..bbcc161752 100644 --- a/.Lib9c.Tests/Action/DailyRewardTest.cs +++ b/.Lib9c.Tests/Action/DailyRewardTest.cs @@ -163,7 +163,6 @@ private IAccount ExecuteInternal(IAccount previousStates, long blockIndex = 0) BlockIndex = blockIndex, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); } diff --git a/.Lib9c.Tests/Action/EventConsumableItemCrafts0Test.cs b/.Lib9c.Tests/Action/EventConsumableItemCrafts0Test.cs index f3dfd1c6a7..8c9e06f59a 100644 --- a/.Lib9c.Tests/Action/EventConsumableItemCrafts0Test.cs +++ b/.Lib9c.Tests/Action/EventConsumableItemCrafts0Test.cs @@ -156,7 +156,6 @@ private void Execute( PreviousState = previousStates, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/EventDungeonBattleV1Test.cs b/.Lib9c.Tests/Action/EventDungeonBattleV1Test.cs index 4c1204ece2..6ae643a3c0 100644 --- a/.Lib9c.Tests/Action/EventDungeonBattleV1Test.cs +++ b/.Lib9c.Tests/Action/EventDungeonBattleV1Test.cs @@ -418,7 +418,6 @@ private IAccount Execute( PreviousState = previousStates, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/EventDungeonBattleV2Test.cs b/.Lib9c.Tests/Action/EventDungeonBattleV2Test.cs index 685463ec8d..1ce14efbb4 100644 --- a/.Lib9c.Tests/Action/EventDungeonBattleV2Test.cs +++ b/.Lib9c.Tests/Action/EventDungeonBattleV2Test.cs @@ -432,7 +432,6 @@ private IAccount Execute( PreviousState = previousStates, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/EventDungeonBattleV3Test.cs b/.Lib9c.Tests/Action/EventDungeonBattleV3Test.cs index 80969c7e0b..c60a9b1bb0 100644 --- a/.Lib9c.Tests/Action/EventDungeonBattleV3Test.cs +++ b/.Lib9c.Tests/Action/EventDungeonBattleV3Test.cs @@ -431,7 +431,6 @@ private IAccount Execute( PreviousState = previousStates, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/EventDungeonBattleV4Test.cs b/.Lib9c.Tests/Action/EventDungeonBattleV4Test.cs index d19a701981..dcc3ffa847 100644 --- a/.Lib9c.Tests/Action/EventDungeonBattleV4Test.cs +++ b/.Lib9c.Tests/Action/EventDungeonBattleV4Test.cs @@ -479,7 +479,6 @@ private IAccount Execute( PreviousState = previousStates, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/EventDungeonBattleV5Test.cs b/.Lib9c.Tests/Action/EventDungeonBattleV5Test.cs index 9db984f2c1..cfb0c9bd6c 100644 --- a/.Lib9c.Tests/Action/EventDungeonBattleV5Test.cs +++ b/.Lib9c.Tests/Action/EventDungeonBattleV5Test.cs @@ -480,7 +480,6 @@ private IAccount Execute( PreviousState = previousStates, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/EventMaterialItemCrafts0Test.cs b/.Lib9c.Tests/Action/EventMaterialItemCrafts0Test.cs index 3dbd1a3c75..73b093e7ec 100644 --- a/.Lib9c.Tests/Action/EventMaterialItemCrafts0Test.cs +++ b/.Lib9c.Tests/Action/EventMaterialItemCrafts0Test.cs @@ -250,7 +250,6 @@ private void Execute( PreviousState = previousStates, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = blockIndex, }); diff --git a/.Lib9c.Tests/Action/Garages/DeliverToOthersGaragesTest.cs b/.Lib9c.Tests/Action/Garages/DeliverToOthersGaragesTest.cs index fcc560bd4c..f302680934 100644 --- a/.Lib9c.Tests/Action/Garages/DeliverToOthersGaragesTest.cs +++ b/.Lib9c.Tests/Action/Garages/DeliverToOthersGaragesTest.cs @@ -336,7 +336,6 @@ private static (DeliverToOthersGarages action, IAccount nextStates) Execute( { Signer = signer, BlockIndex = blockIndex, - Rehearsal = false, PreviousState = previousState, RandomSeed = random.Seed, })); diff --git a/.Lib9c.Tests/Action/Garages/LoadIntoMyGaragesTest.cs b/.Lib9c.Tests/Action/Garages/LoadIntoMyGaragesTest.cs index 244a09035a..afa3f56fd6 100644 --- a/.Lib9c.Tests/Action/Garages/LoadIntoMyGaragesTest.cs +++ b/.Lib9c.Tests/Action/Garages/LoadIntoMyGaragesTest.cs @@ -415,7 +415,6 @@ private static (LoadIntoMyGarages action, IAccount nextStates) Execute( { Signer = signer, BlockIndex = blockIndex, - Rehearsal = false, PreviousState = previousState, RandomSeed = random.Seed, }; diff --git a/.Lib9c.Tests/Action/Garages/UnloadFromMyGaragesTest.cs b/.Lib9c.Tests/Action/Garages/UnloadFromMyGaragesTest.cs index 13625c7a9f..f6db803197 100644 --- a/.Lib9c.Tests/Action/Garages/UnloadFromMyGaragesTest.cs +++ b/.Lib9c.Tests/Action/Garages/UnloadFromMyGaragesTest.cs @@ -344,7 +344,6 @@ private static (UnloadFromMyGarages action, IAccount nextStates) Execute( { Signer = signer, BlockIndex = blockIndex, - Rehearsal = false, PreviousState = previousState, RandomSeed = random.Seed, })); diff --git a/.Lib9c.Tests/Action/HackAndSlash0Test.cs b/.Lib9c.Tests/Action/HackAndSlash0Test.cs index 6c64e632a4..4f5099e874 100644 --- a/.Lib9c.Tests/Action/HackAndSlash0Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash0Test.cs @@ -118,7 +118,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool contains) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); @@ -163,7 +162,6 @@ public void ExecuteThrowInvalidRankingMapAddress() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); @@ -587,7 +585,6 @@ public void SerializeWithDotnetAPI() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var formatter = new BinaryFormatter(); diff --git a/.Lib9c.Tests/Action/HackAndSlash10Test.cs b/.Lib9c.Tests/Action/HackAndSlash10Test.cs index a05f433b14..cc3cfa3a3b 100644 --- a/.Lib9c.Tests/Action/HackAndSlash10Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash10Test.cs @@ -232,7 +232,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -373,7 +372,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -436,7 +434,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -463,7 +460,6 @@ public void ExecuteThrowInvalidRankingMapAddress() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); @@ -892,7 +888,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1056,7 +1051,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId, int playCo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/HackAndSlash11Test.cs b/.Lib9c.Tests/Action/HackAndSlash11Test.cs index 136de735b0..e4ee28fcb7 100644 --- a/.Lib9c.Tests/Action/HackAndSlash11Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash11Test.cs @@ -230,7 +230,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -360,7 +359,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -422,7 +420,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -839,7 +836,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1002,7 +998,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId, int playCo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/HackAndSlash12Test.cs b/.Lib9c.Tests/Action/HackAndSlash12Test.cs index 95c9fe5f39..9c892f5e8e 100644 --- a/.Lib9c.Tests/Action/HackAndSlash12Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash12Test.cs @@ -204,7 +204,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -344,7 +343,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -406,7 +404,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -823,7 +820,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -998,7 +994,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId, int playCo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/HackAndSlash13Test.cs b/.Lib9c.Tests/Action/HackAndSlash13Test.cs index 1194844368..63f71388f0 100644 --- a/.Lib9c.Tests/Action/HackAndSlash13Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash13Test.cs @@ -210,7 +210,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -352,7 +351,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -413,7 +411,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -832,7 +829,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1039,7 +1035,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/HackAndSlash15Test.cs b/.Lib9c.Tests/Action/HackAndSlash15Test.cs index 83f66fe53f..444e561047 100644 --- a/.Lib9c.Tests/Action/HackAndSlash15Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash15Test.cs @@ -206,7 +206,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -348,7 +347,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -409,7 +407,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -804,7 +801,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -980,7 +976,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1130,7 +1125,6 @@ public void CheckCrystalRandomSkillState(bool forceClear, bool skillStateExist, PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); diff --git a/.Lib9c.Tests/Action/HackAndSlash16Test.cs b/.Lib9c.Tests/Action/HackAndSlash16Test.cs index ed94d53d1a..fbcf6f1092 100644 --- a/.Lib9c.Tests/Action/HackAndSlash16Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash16Test.cs @@ -207,7 +207,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -349,7 +348,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -410,7 +408,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -815,7 +812,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1025,7 +1021,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1175,7 +1170,6 @@ public void CheckCrystalRandomSkillState(bool forceClear, bool skillStateExist, PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); diff --git a/.Lib9c.Tests/Action/HackAndSlash17Test.cs b/.Lib9c.Tests/Action/HackAndSlash17Test.cs index 5098b6b8ca..5edba40101 100644 --- a/.Lib9c.Tests/Action/HackAndSlash17Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash17Test.cs @@ -207,7 +207,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -349,7 +348,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -410,7 +408,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -815,7 +812,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1025,7 +1021,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1175,7 +1170,6 @@ public void CheckCrystalRandomSkillState(bool forceClear, bool skillStateExist, PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); diff --git a/.Lib9c.Tests/Action/HackAndSlash18Test.cs b/.Lib9c.Tests/Action/HackAndSlash18Test.cs index 2c7913f005..a21d3551c0 100644 --- a/.Lib9c.Tests/Action/HackAndSlash18Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash18Test.cs @@ -205,7 +205,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -347,7 +346,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -408,7 +406,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -813,7 +810,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1010,7 +1006,6 @@ public void Execute_V100291() PreviousState = initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1119,7 +1114,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1289,7 +1283,6 @@ public void CheckCrystalRandomSkillState( PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); @@ -1409,7 +1402,6 @@ public void CheckUsedApByStaking(int level, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); diff --git a/.Lib9c.Tests/Action/HackAndSlash19Test.cs b/.Lib9c.Tests/Action/HackAndSlash19Test.cs index b55ba76a8f..7cbcf25b2a 100644 --- a/.Lib9c.Tests/Action/HackAndSlash19Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash19Test.cs @@ -205,7 +205,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -349,7 +348,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -411,7 +409,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -827,7 +824,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1040,7 +1036,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1211,7 +1206,6 @@ public void CheckCrystalRandomSkillState( PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); @@ -1333,7 +1327,6 @@ public void CheckUsedApByStaking(int level, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); diff --git a/.Lib9c.Tests/Action/HackAndSlash20Test.cs b/.Lib9c.Tests/Action/HackAndSlash20Test.cs index e2d29ceadd..154f5d533a 100644 --- a/.Lib9c.Tests/Action/HackAndSlash20Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash20Test.cs @@ -206,7 +206,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -350,7 +349,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -412,7 +410,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -828,7 +825,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1130,7 +1126,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1301,7 +1296,6 @@ public void CheckCrystalRandomSkillState( PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); @@ -1423,7 +1417,6 @@ public void CheckUsedApByStaking(int level, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); @@ -1503,7 +1496,6 @@ public void CheckUsingApStoneWithStaking(int level, int apStoneCount, int totalR PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); @@ -1650,7 +1642,6 @@ public void ExecuteTwoRepetitions() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -1674,7 +1665,6 @@ public void ExecuteTwoRepetitions() PreviousState = nextState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); } diff --git a/.Lib9c.Tests/Action/HackAndSlash21Test.cs b/.Lib9c.Tests/Action/HackAndSlash21Test.cs index a742a65683..15db05f4fc 100644 --- a/.Lib9c.Tests/Action/HackAndSlash21Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash21Test.cs @@ -207,7 +207,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -351,7 +350,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -413,7 +411,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -829,7 +826,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1131,7 +1127,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1302,7 +1297,6 @@ public void CheckCrystalRandomSkillState( PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); @@ -1424,7 +1418,6 @@ public void CheckUsedApByStaking(int level, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); @@ -1504,7 +1497,6 @@ public void CheckUsingApStoneWithStaking(int level, int apStoneCount, int totalR PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); @@ -1651,7 +1643,6 @@ public void ExecuteTwoRepetitions() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -1675,7 +1666,6 @@ public void ExecuteTwoRepetitions() PreviousState = nextState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); } diff --git a/.Lib9c.Tests/Action/HackAndSlash2Test.cs b/.Lib9c.Tests/Action/HackAndSlash2Test.cs index cc18f27730..8852574dd7 100644 --- a/.Lib9c.Tests/Action/HackAndSlash2Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash2Test.cs @@ -120,7 +120,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool contains) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); @@ -172,7 +171,6 @@ public void ExecuteThrowInvalidRankingMapAddress() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); @@ -596,7 +594,6 @@ public void SerializeWithDotnetAPI() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var formatter = new BinaryFormatter(); diff --git a/.Lib9c.Tests/Action/HackAndSlash3Test.cs b/.Lib9c.Tests/Action/HackAndSlash3Test.cs index a9087c4b87..5803ddeb06 100644 --- a/.Lib9c.Tests/Action/HackAndSlash3Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash3Test.cs @@ -134,7 +134,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool contains) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); diff --git a/.Lib9c.Tests/Action/HackAndSlash4Test.cs b/.Lib9c.Tests/Action/HackAndSlash4Test.cs index b38c565904..d2e5150168 100644 --- a/.Lib9c.Tests/Action/HackAndSlash4Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash4Test.cs @@ -182,7 +182,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool contains) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); @@ -261,7 +260,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); @@ -324,7 +322,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -353,7 +350,6 @@ public void ExecuteThrowInvalidRankingMapAddress() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); diff --git a/.Lib9c.Tests/Action/HackAndSlash5Test.cs b/.Lib9c.Tests/Action/HackAndSlash5Test.cs index c17382bf6b..928e98228d 100644 --- a/.Lib9c.Tests/Action/HackAndSlash5Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash5Test.cs @@ -182,7 +182,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool contains) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -262,7 +261,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); @@ -325,7 +323,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -354,7 +351,6 @@ public void ExecuteThrowInvalidRankingMapAddress() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); diff --git a/.Lib9c.Tests/Action/HackAndSlash6Test.cs b/.Lib9c.Tests/Action/HackAndSlash6Test.cs index b104abcfd7..f25c495e63 100644 --- a/.Lib9c.Tests/Action/HackAndSlash6Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash6Test.cs @@ -198,7 +198,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool contains, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -278,7 +277,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); @@ -341,7 +339,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -370,7 +367,6 @@ public void ExecuteThrowInvalidRankingMapAddress() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); diff --git a/.Lib9c.Tests/Action/HackAndSlash7Test.cs b/.Lib9c.Tests/Action/HackAndSlash7Test.cs index 0250496732..ff19531cd7 100644 --- a/.Lib9c.Tests/Action/HackAndSlash7Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash7Test.cs @@ -224,7 +224,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool contains, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -383,7 +382,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -446,7 +444,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -473,7 +470,6 @@ public void ExecuteThrowInvalidRankingMapAddress() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); diff --git a/.Lib9c.Tests/Action/HackAndSlash8Test.cs b/.Lib9c.Tests/Action/HackAndSlash8Test.cs index 034c6e71db..c5720fd0d8 100644 --- a/.Lib9c.Tests/Action/HackAndSlash8Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash8Test.cs @@ -230,7 +230,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -379,7 +378,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -441,7 +439,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -467,7 +464,6 @@ public void ExecuteThrowInvalidRankingMapAddress() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); diff --git a/.Lib9c.Tests/Action/HackAndSlash9Test.cs b/.Lib9c.Tests/Action/HackAndSlash9Test.cs index 18ba2738db..eddd1289dc 100644 --- a/.Lib9c.Tests/Action/HackAndSlash9Test.cs +++ b/.Lib9c.Tests/Action/HackAndSlash9Test.cs @@ -232,7 +232,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -396,7 +395,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -459,7 +457,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -486,7 +483,6 @@ public void ExecuteThrowInvalidRankingMapAddress() PreviousState = _initialState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }) ); @@ -915,7 +911,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1079,7 +1074,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId, int playCo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/HackAndSlashTest14.cs b/.Lib9c.Tests/Action/HackAndSlashTest14.cs index af79f5af6b..81af3850c0 100644 --- a/.Lib9c.Tests/Action/HackAndSlashTest14.cs +++ b/.Lib9c.Tests/Action/HackAndSlashTest14.cs @@ -197,7 +197,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, bool backward, bo PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -339,7 +338,6 @@ public void MaxLevelTest() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarStateV2(_avatarAddress); @@ -400,7 +398,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, })); SerializeException(exec); @@ -795,7 +792,6 @@ public void ExecuteWithoutPlayCount() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -971,7 +967,6 @@ public void CheckRewardItems(bool backward, int worldId, int stageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -1121,7 +1116,6 @@ public void CheckCrystalRandomSkillState(bool forceClear, bool skillStateExist, PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }; var nextState = action.Execute(ctx); diff --git a/.Lib9c.Tests/Action/JoinArena1Test.cs b/.Lib9c.Tests/Action/JoinArena1Test.cs index f197955dd5..a721dca2ce 100644 --- a/.Lib9c.Tests/Action/JoinArena1Test.cs +++ b/.Lib9c.Tests/Action/JoinArena1Test.cs @@ -221,7 +221,6 @@ public void Execute(long blockIndex, int championshipId, int round, string balan PreviousState = state, Signer = _signer, RandomSeed = _random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -403,7 +402,6 @@ public void Execute_ArenaScoreAlreadyContainsException() PreviousState = state, Signer = _signer, RandomSeed = _random.Seed, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/JoinArena2Test.cs b/.Lib9c.Tests/Action/JoinArena2Test.cs index 8d622408ac..6be17483a0 100644 --- a/.Lib9c.Tests/Action/JoinArena2Test.cs +++ b/.Lib9c.Tests/Action/JoinArena2Test.cs @@ -222,7 +222,6 @@ public void Execute(long blockIndex, int championshipId, int round, string balan PreviousState = state, Signer = _signer, RandomSeed = _random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -409,7 +408,6 @@ public void Execute_ArenaScoreAlreadyContainsException() PreviousState = state, Signer = _signer, RandomSeed = _random.Seed, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/JoinArena3Test.cs b/.Lib9c.Tests/Action/JoinArena3Test.cs index b0b21fde97..1785f2d33d 100644 --- a/.Lib9c.Tests/Action/JoinArena3Test.cs +++ b/.Lib9c.Tests/Action/JoinArena3Test.cs @@ -225,7 +225,6 @@ public void Execute(long blockIndex, int championshipId, int round, string balan PreviousState = state, Signer = _signer, RandomSeed = _random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); @@ -412,7 +411,6 @@ public void Execute_ArenaScoreAlreadyContainsException() PreviousState = state, Signer = _signer, RandomSeed = _random.Seed, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle0Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle0Test.cs index dfd998d6be..79bb52f22c 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle0Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle0Test.cs @@ -169,7 +169,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int clearStageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); @@ -259,7 +258,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -494,7 +492,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext() { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -584,7 +582,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle10Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle10Test.cs index f4f5c22988..5259f6eaf1 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle10Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle10Test.cs @@ -159,7 +159,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, in PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -233,7 +232,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -429,7 +427,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -512,7 +510,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } @@ -711,7 +708,6 @@ public void Execute_v100291() PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -821,7 +817,6 @@ public void CheckRewardItems(bool backward, int stageIndex, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle11Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle11Test.cs index 82b62d5d05..f826103bd5 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle11Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle11Test.cs @@ -158,7 +158,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, in PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -233,7 +232,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -434,7 +432,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -519,7 +517,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } @@ -717,7 +714,6 @@ public void CheckRewardItems(bool backward, int stageIndex, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle12Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle12Test.cs index 55c0a813d6..e5e9e5d7e0 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle12Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle12Test.cs @@ -165,7 +165,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, in PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -240,7 +239,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -441,7 +439,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -526,7 +524,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } @@ -724,7 +721,6 @@ public void CheckRewardItems(bool backward, int stageIndex, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -854,7 +850,6 @@ public void ExecuteDuplicatedException(int slotIndex, int runeId, int slotIndex2 PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, })); } diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle13Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle13Test.cs index 100cc6a8dd..f0bb910580 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle13Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle13Test.cs @@ -166,7 +166,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, in PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, }); @@ -241,7 +240,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -442,7 +440,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -527,7 +525,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } @@ -725,7 +722,6 @@ public void CheckRewardItems(bool backward, int stageIndex, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -855,7 +851,6 @@ public void ExecuteDuplicatedException(int slotIndex, int runeId, int slotIndex2 PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = ActionObsoleteConfig.V100301ExecutedBlockIndex, })); } diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle2Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle2Test.cs index 38cafdaf2d..7445e75fd2 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle2Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle2Test.cs @@ -169,7 +169,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int clearStageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); var nextAvatarState = nextState.GetAvatarState(_avatarAddress); @@ -259,7 +258,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -494,7 +492,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext() { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -584,7 +582,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle3Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle3Test.cs index b136b3f99b..ea89b64de1 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle3Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle3Test.cs @@ -169,7 +169,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int clearStageId) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -260,7 +259,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -495,7 +493,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext() { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -585,7 +583,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle4Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle4Test.cs index 16dbecae07..9a25271149 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle4Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle4Test.cs @@ -182,7 +182,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int clearStageId, PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -269,7 +268,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -495,7 +493,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext() { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -581,7 +579,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle5Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle5Test.cs index 1e0dbf0ad9..3f17b2f013 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle5Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle5Test.cs @@ -177,7 +177,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int clearStageId, PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -262,7 +261,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -482,7 +480,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext() { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -566,7 +564,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle6Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle6Test.cs index 0a07bcdcb9..dd10fb4a00 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle6Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle6Test.cs @@ -187,7 +187,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, in PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -273,7 +272,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -499,7 +497,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext() { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -584,7 +582,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } @@ -706,7 +703,6 @@ public void CheckRewardItems(bool backward, int stageIndex, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle7Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle7Test.cs index 1eae59601a..a0c3eff931 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle7Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle7Test.cs @@ -187,7 +187,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, in PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -273,7 +272,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -499,7 +497,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext() { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -584,7 +582,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } @@ -706,7 +703,6 @@ public void CheckRewardItems(bool backward, int stageIndex, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle8Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle8Test.cs index 5f1a32d5d4..570019c5d1 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle8Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle8Test.cs @@ -182,7 +182,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, in PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -257,7 +256,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -453,7 +451,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext() { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -536,7 +534,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } @@ -657,7 +654,6 @@ public void CheckRewardItems(bool backward, int stageIndex, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/MimisbrunnrBattle9Test.cs b/.Lib9c.Tests/Action/MimisbrunnrBattle9Test.cs index 519be580bf..75ec852eaf 100644 --- a/.Lib9c.Tests/Action/MimisbrunnrBattle9Test.cs +++ b/.Lib9c.Tests/Action/MimisbrunnrBattle9Test.cs @@ -158,7 +158,6 @@ public void Execute(int avatarLevel, int worldId, int stageId, int playCount, in PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); @@ -232,7 +231,6 @@ public void ExecuteThrowInvalidStageException() PreviousState = previousState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -428,7 +426,7 @@ public void ExecuteThrowInvalidWorld(int avatarLevel, int worldId, int stageId, { action.Execute(new ActionContext { - PreviousState = state, Signer = _agentAddress, RandomSeed = 0, Rehearsal = false, + PreviousState = state, Signer = _agentAddress, RandomSeed = 0, }); }); } @@ -511,7 +509,6 @@ public void ExecuteEquippableItemValidation() { PreviousState = nextState, Signer = _agentAddress, - Rehearsal = false, RandomSeed = 0, }); } @@ -707,7 +704,6 @@ public void CheckRewardItems(bool backward, int stageIndex, int playCount) PreviousState = state, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, BlockIndex = 1, }); diff --git a/.Lib9c.Tests/Action/PatchTableSheetTest.cs b/.Lib9c.Tests/Action/PatchTableSheetTest.cs index 4da2f7e2b5..e202d047d8 100644 --- a/.Lib9c.Tests/Action/PatchTableSheetTest.cs +++ b/.Lib9c.Tests/Action/PatchTableSheetTest.cs @@ -54,7 +54,6 @@ public void Execute() { BlockIndex = 0, PreviousState = _initialState, - Rehearsal = false, }); var nextWorldSheetCsv = nextState.GetSheetCsv(); @@ -73,7 +72,6 @@ public void Execute() { BlockIndex = 0, PreviousState = _initialState, - Rehearsal = false, }); nextWorldSheet = nextState.GetSheet(); diff --git a/.Lib9c.Tests/Action/PetEnhancement0Test.cs b/.Lib9c.Tests/Action/PetEnhancement0Test.cs index ad523b8783..02cdca6cfa 100644 --- a/.Lib9c.Tests/Action/PetEnhancement0Test.cs +++ b/.Lib9c.Tests/Action/PetEnhancement0Test.cs @@ -379,7 +379,6 @@ private static IAccount Execute( BlockIndex = blockIndex, PreviousState = prevStates, RandomSeed = 0, - Rehearsal = false, Signer = agentAddr, }); var nextNcgBal = nextStates.GetBalance(agentAddr, ncgCurrency); diff --git a/.Lib9c.Tests/Action/Raid1Test.cs b/.Lib9c.Tests/Action/Raid1Test.cs index ed7e5c58bb..f59273bdec 100644 --- a/.Lib9c.Tests/Action/Raid1Test.cs +++ b/.Lib9c.Tests/Action/Raid1Test.cs @@ -213,7 +213,6 @@ long executeOffset BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }; @@ -350,7 +349,6 @@ Dictionary rewardMap BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, })); } @@ -463,7 +461,6 @@ Dictionary rewardMap BlockIndex = worldBossRow.StartedBlockIndex + Raid4.RequiredInterval, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }); @@ -561,7 +558,6 @@ public void Execute_Throw_ActionObsoletedException() BlockIndex = blockIndex, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, })); } diff --git a/.Lib9c.Tests/Action/Raid2Test.cs b/.Lib9c.Tests/Action/Raid2Test.cs index 87bc1af9a8..d3fc73659d 100644 --- a/.Lib9c.Tests/Action/Raid2Test.cs +++ b/.Lib9c.Tests/Action/Raid2Test.cs @@ -225,7 +225,6 @@ bool raiderListExist BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }; @@ -368,7 +367,6 @@ Dictionary rewardMap BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, })); } @@ -482,7 +480,6 @@ Dictionary rewardMap BlockIndex = worldBossRow.StartedBlockIndex + Raid4.RequiredInterval, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/Raid3Test.cs b/.Lib9c.Tests/Action/Raid3Test.cs index d136b07503..8dab740d7e 100644 --- a/.Lib9c.Tests/Action/Raid3Test.cs +++ b/.Lib9c.Tests/Action/Raid3Test.cs @@ -226,7 +226,6 @@ bool raiderListExist BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }; @@ -369,7 +368,6 @@ Dictionary rewardMap BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, })); } @@ -484,7 +482,6 @@ Dictionary rewardMap BlockIndex = worldBossRow.StartedBlockIndex + Raid4.RequiredInterval, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/Raid4Test.cs b/.Lib9c.Tests/Action/Raid4Test.cs index ff3c6d6ec6..919fbecd72 100644 --- a/.Lib9c.Tests/Action/Raid4Test.cs +++ b/.Lib9c.Tests/Action/Raid4Test.cs @@ -247,7 +247,6 @@ int runeId2 BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }; @@ -410,7 +409,6 @@ Dictionary rewardMap BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, })); } @@ -525,7 +523,6 @@ Dictionary rewardMap BlockIndex = worldBossRow.StartedBlockIndex + Raid4.RequiredInterval, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }); @@ -626,7 +623,6 @@ public void Execute_With_Free_Crystal_Fee() BlockIndex = blockIndex, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }; diff --git a/.Lib9c.Tests/Action/Raid5Test.cs b/.Lib9c.Tests/Action/Raid5Test.cs index 9edb82739d..21fdc1fb65 100644 --- a/.Lib9c.Tests/Action/Raid5Test.cs +++ b/.Lib9c.Tests/Action/Raid5Test.cs @@ -247,7 +247,6 @@ int runeId2 BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }; @@ -410,7 +409,6 @@ Dictionary rewardMap BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, })); } @@ -527,7 +525,6 @@ Dictionary rewardMap BlockIndex = worldBossRow.StartedBlockIndex + gameConfigState.WorldBossRequiredInterval, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }); @@ -628,7 +625,6 @@ public void Execute_With_Free_Crystal_Fee() BlockIndex = blockIndex, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }; diff --git a/.Lib9c.Tests/Action/Raid6Test.cs b/.Lib9c.Tests/Action/Raid6Test.cs index 50c1cba896..9752e2d93e 100644 --- a/.Lib9c.Tests/Action/Raid6Test.cs +++ b/.Lib9c.Tests/Action/Raid6Test.cs @@ -247,7 +247,6 @@ int runeId2 BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }; @@ -410,7 +409,6 @@ Dictionary rewardMap BlockIndex = blockIndex + executeOffset, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, })); } @@ -527,7 +525,6 @@ Dictionary rewardMap BlockIndex = worldBossRow.StartedBlockIndex + gameConfigState.WorldBossRequiredInterval, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }); @@ -628,7 +625,6 @@ public void Execute_With_Free_Crystal_Fee() BlockIndex = blockIndex, PreviousState = state, RandomSeed = randomSeed, - Rehearsal = false, Signer = _agentAddress, }; diff --git a/.Lib9c.Tests/Action/RankingBattle0Test.cs b/.Lib9c.Tests/Action/RankingBattle0Test.cs index 553780f326..55f862cb46 100644 --- a/.Lib9c.Tests/Action/RankingBattle0Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle0Test.cs @@ -135,7 +135,6 @@ public void Execute() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarState(_avatar1Address); @@ -169,7 +168,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -214,7 +212,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -249,7 +246,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -281,7 +277,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -327,7 +322,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException( PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -368,7 +362,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -419,7 +412,6 @@ public void ExecuteThrowNotEnoughFungibleAssetValueException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } diff --git a/.Lib9c.Tests/Action/RankingBattle10Test.cs b/.Lib9c.Tests/Action/RankingBattle10Test.cs index e142848af9..119863a3c9 100644 --- a/.Lib9c.Tests/Action/RankingBattle10Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle10Test.cs @@ -215,7 +215,6 @@ public void Execute(bool isNew, bool avatarBackward, bool enemyBackward) PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarStateV2(_avatar1Address); @@ -269,7 +268,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -313,7 +311,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -347,7 +344,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -378,7 +374,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -411,7 +406,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -451,7 +445,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -506,7 +499,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, })); } } diff --git a/.Lib9c.Tests/Action/RankingBattle11Test.cs b/.Lib9c.Tests/Action/RankingBattle11Test.cs index 112d594f6f..d7697f8676 100644 --- a/.Lib9c.Tests/Action/RankingBattle11Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle11Test.cs @@ -198,7 +198,6 @@ public void Execute() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, BlockIndex = RankingBattle11.UpdateTargetBlockIndex, }); @@ -340,7 +339,6 @@ public void Execute_Backward_Compatible(bool isNew, bool avatarBackward, bool en PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, BlockIndex = RankingBattle11.UpdateTargetBlockIndex - 1, }); @@ -395,7 +393,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -439,7 +436,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -473,7 +469,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -504,7 +499,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -537,7 +531,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -577,7 +570,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -708,7 +700,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, })); } @@ -744,7 +735,6 @@ public void Execute_ActionObsoletedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } diff --git a/.Lib9c.Tests/Action/RankingBattle2Test.cs b/.Lib9c.Tests/Action/RankingBattle2Test.cs index 72e673c4db..9ce0b1ee24 100644 --- a/.Lib9c.Tests/Action/RankingBattle2Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle2Test.cs @@ -128,7 +128,6 @@ public void Execute() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarState(_avatar1Address); @@ -162,7 +161,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -207,7 +205,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -242,7 +239,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -274,7 +270,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -320,7 +315,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException( PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -361,7 +355,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -383,7 +376,6 @@ public void SerializeWithDotnetAPI() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var formatter = new BinaryFormatter(); diff --git a/.Lib9c.Tests/Action/RankingBattle3Test.cs b/.Lib9c.Tests/Action/RankingBattle3Test.cs index c408f0ba18..22a1762d14 100644 --- a/.Lib9c.Tests/Action/RankingBattle3Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle3Test.cs @@ -128,7 +128,6 @@ public void Execute() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarState(_avatar1Address); @@ -162,7 +161,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -207,7 +205,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -242,7 +239,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -274,7 +270,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -320,7 +315,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException( PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -361,7 +355,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -383,7 +376,6 @@ public void SerializeWithDotnetAPI() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var formatter = new BinaryFormatter(); @@ -448,7 +440,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, })); } } diff --git a/.Lib9c.Tests/Action/RankingBattle4Test.cs b/.Lib9c.Tests/Action/RankingBattle4Test.cs index 3a1946b652..0dc6e03d9e 100644 --- a/.Lib9c.Tests/Action/RankingBattle4Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle4Test.cs @@ -165,7 +165,6 @@ public void Execute(bool isNew) PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarState(_avatar1Address); @@ -198,7 +197,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -243,7 +241,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -278,7 +275,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -310,7 +306,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -344,7 +339,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -385,7 +379,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -407,7 +400,6 @@ public void SerializeWithDotnetAPI() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var formatter = new BinaryFormatter(); @@ -472,7 +464,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, })); } } diff --git a/.Lib9c.Tests/Action/RankingBattle5Test.cs b/.Lib9c.Tests/Action/RankingBattle5Test.cs index 31eb8a4b63..dd5c069bfd 100644 --- a/.Lib9c.Tests/Action/RankingBattle5Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle5Test.cs @@ -195,7 +195,6 @@ public void Execute(bool isNew, bool avatarBackward, bool enemyBackward) PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarStateV2(_avatar1Address); @@ -228,7 +227,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -273,7 +271,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -308,7 +305,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -340,7 +336,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -374,7 +369,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -415,7 +409,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -437,7 +430,6 @@ public void SerializeWithDotnetAPI() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var formatter = new BinaryFormatter(); @@ -502,7 +494,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, })); } } diff --git a/.Lib9c.Tests/Action/RankingBattle6Test.cs b/.Lib9c.Tests/Action/RankingBattle6Test.cs index 870870629d..201e7d5817 100644 --- a/.Lib9c.Tests/Action/RankingBattle6Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle6Test.cs @@ -195,7 +195,6 @@ public void Execute(bool isNew, bool avatarBackward, bool enemyBackward) PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarStateV2(_avatar1Address); @@ -228,7 +227,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -273,7 +271,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -308,7 +305,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -340,7 +336,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -374,7 +369,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -415,7 +409,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -437,7 +430,6 @@ public void SerializeWithDotnetAPI() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var formatter = new BinaryFormatter(); @@ -502,7 +494,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, })); } } diff --git a/.Lib9c.Tests/Action/RankingBattle7Test.cs b/.Lib9c.Tests/Action/RankingBattle7Test.cs index 6a28b39206..c546d71d8b 100644 --- a/.Lib9c.Tests/Action/RankingBattle7Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle7Test.cs @@ -195,7 +195,6 @@ public void Execute(bool isNew, bool avatarBackward, bool enemyBackward) PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarStateV2(_avatar1Address); @@ -228,7 +227,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -273,7 +271,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -308,7 +305,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -340,7 +336,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -374,7 +369,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -415,7 +409,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -437,7 +430,6 @@ public void SerializeWithDotnetAPI() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var formatter = new BinaryFormatter(); @@ -502,7 +494,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, })); } } diff --git a/.Lib9c.Tests/Action/RankingBattle8Test.cs b/.Lib9c.Tests/Action/RankingBattle8Test.cs index f8c710ad08..bd13678a09 100644 --- a/.Lib9c.Tests/Action/RankingBattle8Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle8Test.cs @@ -210,7 +210,6 @@ public void Execute(bool isNew, bool avatarBackward, bool enemyBackward) PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarStateV2(_avatar1Address); @@ -265,7 +264,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -310,7 +308,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -345,7 +342,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -377,7 +373,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -411,7 +406,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -452,7 +446,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -510,7 +503,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, })); } } diff --git a/.Lib9c.Tests/Action/RankingBattle9Test.cs b/.Lib9c.Tests/Action/RankingBattle9Test.cs index 181bf157ce..93a53b6678 100644 --- a/.Lib9c.Tests/Action/RankingBattle9Test.cs +++ b/.Lib9c.Tests/Action/RankingBattle9Test.cs @@ -210,7 +210,6 @@ public void Execute(bool isNew, bool avatarBackward, bool enemyBackward) PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); var nextAvatar1State = nextState.GetAvatarStateV2(_avatar1Address); @@ -265,7 +264,6 @@ public void ExecuteThrowInvalidAddressException() PreviousState = _initialState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -310,7 +308,6 @@ public void ExecuteThrowFailedLoadStateException(int caseIndex) PreviousState = _initialState, Signer = signer, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -345,7 +342,6 @@ public void ExecuteThrowNotEnoughClearedStageLevelException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -377,7 +373,6 @@ public void ExecuteThrowWeeklyArenaStateAlreadyEndedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -411,7 +406,6 @@ public void ExecuteThrowWeeklyArenaStateNotContainsAvatarAddressException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -452,7 +446,6 @@ public void ExecuteThrowNotEnoughWeeklyArenaChallengeCountException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } @@ -510,7 +503,6 @@ public void MultipleEquipmentTest(ItemSubType type, int maxCount) PreviousState = state, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, })); } } diff --git a/.Lib9c.Tests/Action/RankingBattleTest.cs b/.Lib9c.Tests/Action/RankingBattleTest.cs index 9ad2abc37a..febeefe51f 100644 --- a/.Lib9c.Tests/Action/RankingBattleTest.cs +++ b/.Lib9c.Tests/Action/RankingBattleTest.cs @@ -170,7 +170,6 @@ public void ExecuteActionObsoletedException() PreviousState = previousState, Signer = _agent1Address, RandomSeed = 0, - Rehearsal = false, }); }); } diff --git a/.Lib9c.Tests/Action/ReRegisterProduct0Test.cs b/.Lib9c.Tests/Action/ReRegisterProduct0Test.cs index 65d5c1566d..6b47b8b1c0 100644 --- a/.Lib9c.Tests/Action/ReRegisterProduct0Test.cs +++ b/.Lib9c.Tests/Action/ReRegisterProduct0Test.cs @@ -236,7 +236,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); @@ -283,7 +282,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/ReRegisterProductTest.cs b/.Lib9c.Tests/Action/ReRegisterProductTest.cs index f240de2b79..b6c24e1f35 100644 --- a/.Lib9c.Tests/Action/ReRegisterProductTest.cs +++ b/.Lib9c.Tests/Action/ReRegisterProductTest.cs @@ -236,7 +236,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); @@ -283,7 +282,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/RedeemCode0Test.cs b/.Lib9c.Tests/Action/RedeemCode0Test.cs index 1e3cb7bb37..55bc786645 100644 --- a/.Lib9c.Tests/Action/RedeemCode0Test.cs +++ b/.Lib9c.Tests/Action/RedeemCode0Test.cs @@ -93,7 +93,6 @@ public void Execute() BlockIndex = 1, Miner = default, PreviousState = initialState, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/RedeemCodeTest.cs b/.Lib9c.Tests/Action/RedeemCodeTest.cs index 63a732fa1e..d84c25057f 100644 --- a/.Lib9c.Tests/Action/RedeemCodeTest.cs +++ b/.Lib9c.Tests/Action/RedeemCodeTest.cs @@ -108,7 +108,6 @@ public void Execute(bool backward) BlockIndex = 1, Miner = default, PreviousState = initialState, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/RuneEnhancement0Test.cs b/.Lib9c.Tests/Action/RuneEnhancement0Test.cs index 70db188fcc..47055e7b09 100644 --- a/.Lib9c.Tests/Action/RuneEnhancement0Test.cs +++ b/.Lib9c.Tests/Action/RuneEnhancement0Test.cs @@ -120,7 +120,6 @@ public void Execute(int seed) BlockIndex = blockIndex, PreviousState = state, RandomSeed = rand.Seed, - Rehearsal = false, Signer = agentAddress, }; @@ -384,7 +383,6 @@ public void Execute_NotEnoughFungibleAssetValueException(bool ncg, bool crystal, BlockIndex = blockIndex, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = agentAddress, }; diff --git a/.Lib9c.Tests/Action/RuneEnhancementTest.cs b/.Lib9c.Tests/Action/RuneEnhancementTest.cs index 48bdd085f4..5da3892af3 100644 --- a/.Lib9c.Tests/Action/RuneEnhancementTest.cs +++ b/.Lib9c.Tests/Action/RuneEnhancementTest.cs @@ -130,7 +130,6 @@ public void Execute(int seed) BlockIndex = blockIndex, PreviousState = state, RandomSeed = rand.Seed, - Rehearsal = false, Signer = agentAddress, }; @@ -421,7 +420,6 @@ public void Execute_NotEnoughFungibleAssetValueException(bool ncg, bool crystal, BlockIndex = blockIndex, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = agentAddress, }; diff --git a/.Lib9c.Tests/Action/Scenario/ArenaScenarioTest.cs b/.Lib9c.Tests/Action/Scenario/ArenaScenarioTest.cs index 4ba7592809..3124435899 100644 --- a/.Lib9c.Tests/Action/Scenario/ArenaScenarioTest.cs +++ b/.Lib9c.Tests/Action/Scenario/ArenaScenarioTest.cs @@ -116,7 +116,6 @@ public IAccount JoinArena( PreviousState = _state, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = roundData.StartBlockIndex, }); return _state; @@ -147,7 +146,6 @@ public IAccount BattleArena( PreviousState = _state, Signer = signer, RandomSeed = random.Seed, - Rehearsal = false, BlockIndex = blockIndex, }); return _state; diff --git a/.Lib9c.Tests/Action/Scenario/SellAndCancellationAndSellTest.cs b/.Lib9c.Tests/Action/Scenario/SellAndCancellationAndSellTest.cs index 55dfd1d9cd..bd451a4d3a 100644 --- a/.Lib9c.Tests/Action/Scenario/SellAndCancellationAndSellTest.cs +++ b/.Lib9c.Tests/Action/Scenario/SellAndCancellationAndSellTest.cs @@ -114,7 +114,6 @@ public void Execute_With_TradableMaterial() PreviousState = nextStates, BlockIndex = sellBlockIndex, RandomSeed = random.Seed, - Rehearsal = false, }); // TODO: Check state.. inventory, orders.. } @@ -142,7 +141,6 @@ public void Execute_With_TradableMaterial() PreviousState = nextStates, BlockIndex = sellBlockIndex + 1L, RandomSeed = random.Seed, - Rehearsal = false, }); // TODO: Check state.. inventory, orders.. } @@ -163,7 +161,6 @@ public void Execute_With_TradableMaterial() PreviousState = nextStates, BlockIndex = sellBlockIndex + 2L, RandomSeed = random.Seed, - Rehearsal = false, }); // Check inventory does not have ap stones. diff --git a/.Lib9c.Tests/Action/Scenario/StakeAndClaimScenarioTest.cs b/.Lib9c.Tests/Action/Scenario/StakeAndClaimScenarioTest.cs index 593b1eb321..58e7d5d213 100644 --- a/.Lib9c.Tests/Action/Scenario/StakeAndClaimScenarioTest.cs +++ b/.Lib9c.Tests/Action/Scenario/StakeAndClaimScenarioTest.cs @@ -165,7 +165,6 @@ private static IAccount MintAsset( PreviousState = state, Signer = Addresses.Admin, BlockIndex = blockIndex, - Rehearsal = false, }, recipient, amount); @@ -183,7 +182,6 @@ private static IAccount Stake2( PreviousState = state, Signer = agentAddr, BlockIndex = blockIndex, - Rehearsal = false, }); } @@ -199,7 +197,6 @@ private static IAccount Stake3( PreviousState = state, Signer = agentAddr, BlockIndex = blockIndex, - Rehearsal = false, }); } @@ -215,7 +212,6 @@ private static IAccount ClaimStakeReward9( PreviousState = state, Signer = agentAddr, BlockIndex = blockIndex, - Rehearsal = false, }); } diff --git a/.Lib9c.Tests/Action/Scenario/WorldUnlockScenarioTest.cs b/.Lib9c.Tests/Action/Scenario/WorldUnlockScenarioTest.cs index 2b6d632135..e6b09e6584 100644 --- a/.Lib9c.Tests/Action/Scenario/WorldUnlockScenarioTest.cs +++ b/.Lib9c.Tests/Action/Scenario/WorldUnlockScenarioTest.cs @@ -106,7 +106,6 @@ public void UnlockWorldByHackAndSlashAfterPatchTableWithAddRow( PreviousState = nextState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); Assert.True(hackAndSlash.Result.IsClear); @@ -138,7 +137,6 @@ public void UnlockWorldByHackAndSlashAfterPatchTableWithAddRow( PreviousState = nextState, Signer = AdminState.Address, RandomSeed = 0, - Rehearsal = false, }); var nextTableCsv = nextState.GetSheetCsv(); @@ -149,7 +147,6 @@ public void UnlockWorldByHackAndSlashAfterPatchTableWithAddRow( PreviousState = nextState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); Assert.True(hackAndSlash.Result.IsClear); @@ -228,7 +225,6 @@ public void UnlockWorldByMimisbrunnrBattleAfterPatchTableWithChangeRow( PreviousState = nextState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); }); @@ -248,7 +244,6 @@ public void UnlockWorldByMimisbrunnrBattleAfterPatchTableWithChangeRow( PreviousState = nextState, Signer = AdminState.Address, RandomSeed = 0, - Rehearsal = false, }); var nextTableCsv = nextState.GetSheetCsv(); @@ -259,7 +254,6 @@ public void UnlockWorldByMimisbrunnrBattleAfterPatchTableWithChangeRow( PreviousState = nextState, Signer = _agentAddress, RandomSeed = 0, - Rehearsal = false, }); avatarState = nextState.GetAvatarState(_avatarAddress); diff --git a/.Lib9c.Tests/Action/SecureMiningRewardTest.cs b/.Lib9c.Tests/Action/SecureMiningRewardTest.cs index 7e4c49c1da..7b62d3eb87 100644 --- a/.Lib9c.Tests/Action/SecureMiningRewardTest.cs +++ b/.Lib9c.Tests/Action/SecureMiningRewardTest.cs @@ -51,7 +51,6 @@ public void Execute() { PreviousState = _previousState, Signer = _admin, - Rehearsal = false, BlockIndex = 1, } ); @@ -81,7 +80,6 @@ public void Execute_InvalidSigner() { PreviousState = _previousState, Signer = invalidSigner, - Rehearsal = false, BlockIndex = 1, } )); diff --git a/.Lib9c.Tests/Action/Sell0Test.cs b/.Lib9c.Tests/Action/Sell0Test.cs index 50dff16b74..b7f0d18c84 100644 --- a/.Lib9c.Tests/Action/Sell0Test.cs +++ b/.Lib9c.Tests/Action/Sell0Test.cs @@ -104,7 +104,6 @@ public void Execute() { BlockIndex = 0, PreviousState = _initialState, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/Sell10Test.cs b/.Lib9c.Tests/Action/Sell10Test.cs index 16819ff046..5def9fb2da 100644 --- a/.Lib9c.Tests/Action/Sell10Test.cs +++ b/.Lib9c.Tests/Action/Sell10Test.cs @@ -164,7 +164,6 @@ bool backward { BlockIndex = blockIndex, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/Sell11Test.cs b/.Lib9c.Tests/Action/Sell11Test.cs index 3fa8503515..d1d21d35b3 100644 --- a/.Lib9c.Tests/Action/Sell11Test.cs +++ b/.Lib9c.Tests/Action/Sell11Test.cs @@ -164,7 +164,6 @@ bool backward { BlockIndex = blockIndex, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/Sell2Test.cs b/.Lib9c.Tests/Action/Sell2Test.cs index b79719436b..7bc01797c6 100644 --- a/.Lib9c.Tests/Action/Sell2Test.cs +++ b/.Lib9c.Tests/Action/Sell2Test.cs @@ -121,7 +121,6 @@ public void Execute() { BlockIndex = 0, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, }; ctx.SetRandom(random); diff --git a/.Lib9c.Tests/Action/Sell3Test.cs b/.Lib9c.Tests/Action/Sell3Test.cs index eef9d02c12..f0fbadbf8c 100644 --- a/.Lib9c.Tests/Action/Sell3Test.cs +++ b/.Lib9c.Tests/Action/Sell3Test.cs @@ -132,7 +132,6 @@ public void Execute() { BlockIndex = 0, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, }; ctx.SetRandom(random); diff --git a/.Lib9c.Tests/Action/Sell4Test.cs b/.Lib9c.Tests/Action/Sell4Test.cs index 1ca54164df..5ce3774e5d 100644 --- a/.Lib9c.Tests/Action/Sell4Test.cs +++ b/.Lib9c.Tests/Action/Sell4Test.cs @@ -159,7 +159,6 @@ public void Execute(ItemType itemType, bool shopItemExist, int blockIndex) { BlockIndex = 1, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/Sell5Test.cs b/.Lib9c.Tests/Action/Sell5Test.cs index b574dd77e9..233c895b5a 100644 --- a/.Lib9c.Tests/Action/Sell5Test.cs +++ b/.Lib9c.Tests/Action/Sell5Test.cs @@ -179,7 +179,6 @@ int expectedProductsCount { BlockIndex = 1, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/Sell6Test.cs b/.Lib9c.Tests/Action/Sell6Test.cs index d251e64b7b..6d44b68007 100644 --- a/.Lib9c.Tests/Action/Sell6Test.cs +++ b/.Lib9c.Tests/Action/Sell6Test.cs @@ -180,7 +180,6 @@ int expectedProductsCount { BlockIndex = 1, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); @@ -511,7 +510,6 @@ public void Execute_20210604( { BlockIndex = blockIndex, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/Sell7Test.cs b/.Lib9c.Tests/Action/Sell7Test.cs index 8db0beadec..ec0116f05b 100644 --- a/.Lib9c.Tests/Action/Sell7Test.cs +++ b/.Lib9c.Tests/Action/Sell7Test.cs @@ -194,7 +194,6 @@ bool backward { BlockIndex = blockIndex, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/Sell8Test.cs b/.Lib9c.Tests/Action/Sell8Test.cs index 04299495e2..729daedac7 100644 --- a/.Lib9c.Tests/Action/Sell8Test.cs +++ b/.Lib9c.Tests/Action/Sell8Test.cs @@ -194,7 +194,6 @@ bool backward { BlockIndex = blockIndex, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/Sell9Test.cs b/.Lib9c.Tests/Action/Sell9Test.cs index 295387c8d3..5114be1926 100644 --- a/.Lib9c.Tests/Action/Sell9Test.cs +++ b/.Lib9c.Tests/Action/Sell9Test.cs @@ -164,7 +164,6 @@ bool backward { BlockIndex = blockIndex, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/SellCancellation0Test.cs b/.Lib9c.Tests/Action/SellCancellation0Test.cs index 0671a7cbfc..84043434ba 100644 --- a/.Lib9c.Tests/Action/SellCancellation0Test.cs +++ b/.Lib9c.Tests/Action/SellCancellation0Test.cs @@ -105,7 +105,6 @@ public void Execute() BlockIndex = 0, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/SellCancellation2Test.cs b/.Lib9c.Tests/Action/SellCancellation2Test.cs index ceeb631054..f1fdad4622 100644 --- a/.Lib9c.Tests/Action/SellCancellation2Test.cs +++ b/.Lib9c.Tests/Action/SellCancellation2Test.cs @@ -122,7 +122,6 @@ public void Execute() BlockIndex = 0, PreviousState = _initialState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/SellCancellation3Test.cs b/.Lib9c.Tests/Action/SellCancellation3Test.cs index 1a22e15913..973836b275 100644 --- a/.Lib9c.Tests/Action/SellCancellation3Test.cs +++ b/.Lib9c.Tests/Action/SellCancellation3Test.cs @@ -132,7 +132,6 @@ public void Execute() BlockIndex = 0, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); productsCount--; @@ -162,7 +161,6 @@ public void Execute() BlockIndex = 0, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); productsCount--; diff --git a/.Lib9c.Tests/Action/SellCancellation4Test.cs b/.Lib9c.Tests/Action/SellCancellation4Test.cs index ed27848efa..15c09841de 100644 --- a/.Lib9c.Tests/Action/SellCancellation4Test.cs +++ b/.Lib9c.Tests/Action/SellCancellation4Test.cs @@ -132,7 +132,6 @@ public void Execute() BlockIndex = 0, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); productsCount--; @@ -162,7 +161,6 @@ public void Execute() BlockIndex = 0, PreviousState = previousStates, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); productsCount--; diff --git a/.Lib9c.Tests/Action/SellCancellation5Test.cs b/.Lib9c.Tests/Action/SellCancellation5Test.cs index 9630218640..ba3ba8a171 100644 --- a/.Lib9c.Tests/Action/SellCancellation5Test.cs +++ b/.Lib9c.Tests/Action/SellCancellation5Test.cs @@ -159,7 +159,6 @@ public void Execute(ItemType itemType, string guid, bool contain) BlockIndex = 1, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/SellCancellation6Test.cs b/.Lib9c.Tests/Action/SellCancellation6Test.cs index d92b37378f..7b7a35511e 100644 --- a/.Lib9c.Tests/Action/SellCancellation6Test.cs +++ b/.Lib9c.Tests/Action/SellCancellation6Test.cs @@ -194,7 +194,6 @@ public void Execute(ItemType itemType, string guid, bool contain, int itemCount, BlockIndex = 1, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/SellCancellation7Test.cs b/.Lib9c.Tests/Action/SellCancellation7Test.cs index e7ff546836..625c885a7b 100644 --- a/.Lib9c.Tests/Action/SellCancellation7Test.cs +++ b/.Lib9c.Tests/Action/SellCancellation7Test.cs @@ -228,7 +228,6 @@ bool backward BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/SellCancellation8Test.cs b/.Lib9c.Tests/Action/SellCancellation8Test.cs index f44991a04d..560e578e96 100644 --- a/.Lib9c.Tests/Action/SellCancellation8Test.cs +++ b/.Lib9c.Tests/Action/SellCancellation8Test.cs @@ -230,7 +230,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); @@ -640,7 +639,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/SellCancellationTest.cs b/.Lib9c.Tests/Action/SellCancellationTest.cs index 97c76c6170..dd76f90c64 100644 --- a/.Lib9c.Tests/Action/SellCancellationTest.cs +++ b/.Lib9c.Tests/Action/SellCancellationTest.cs @@ -234,7 +234,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); @@ -262,7 +261,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); @@ -675,7 +673,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/SellTest.cs b/.Lib9c.Tests/Action/SellTest.cs index 22255b68fd..f4cadd30de 100644 --- a/.Lib9c.Tests/Action/SellTest.cs +++ b/.Lib9c.Tests/Action/SellTest.cs @@ -163,7 +163,6 @@ bool backward { BlockIndex = blockIndex, PreviousState = previousStates, - Rehearsal = false, Signer = _agentAddress, RandomSeed = 0, }); diff --git a/.Lib9c.Tests/Action/StakeTest.cs b/.Lib9c.Tests/Action/StakeTest.cs index 61652ce59a..7306545b93 100644 --- a/.Lib9c.Tests/Action/StakeTest.cs +++ b/.Lib9c.Tests/Action/StakeTest.cs @@ -491,7 +491,6 @@ private IAccount Execute( BlockIndex = blockIndex, PreviousState = previousState, RandomSeed = random.Seed, - Rehearsal = false, Signer = signer, }); diff --git a/.Lib9c.Tests/Action/TransferAsset2Test.cs b/.Lib9c.Tests/Action/TransferAsset2Test.cs index e3257f6ce7..e0c1318ed8 100644 --- a/.Lib9c.Tests/Action/TransferAsset2Test.cs +++ b/.Lib9c.Tests/Action/TransferAsset2Test.cs @@ -61,7 +61,6 @@ public void Execute() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -89,7 +88,6 @@ public void ExecuteWithInvalidSigner() PreviousState = prevState, // 송금자가 직접 사인하지 않으면 실패해야 합니다. Signer = _recipient, - Rehearsal = false, BlockIndex = 1, }); }); @@ -117,7 +115,6 @@ public void ExecuteWithInvalidRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -127,7 +124,6 @@ public void ExecuteWithInvalidRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 380001, }); }); @@ -155,7 +151,6 @@ public void ExecuteWithInsufficientBalance() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -183,7 +178,6 @@ public void ExecuteWithMinterAsSender() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -215,7 +209,6 @@ public void ExecuteWithMinterAsRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -246,7 +239,6 @@ public void ExecuteWithUnactivatedRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -348,7 +340,6 @@ public void CheckObsolete() { PreviousState = new Account(MockState.Empty), Signer = _sender, - Rehearsal = false, BlockIndex = TransferAsset3.CrystalTransferringRestrictionStartIndex, }); }); diff --git a/.Lib9c.Tests/Action/TransferAsset3Test.cs b/.Lib9c.Tests/Action/TransferAsset3Test.cs index 00e49e17d9..94e43475cb 100644 --- a/.Lib9c.Tests/Action/TransferAsset3Test.cs +++ b/.Lib9c.Tests/Action/TransferAsset3Test.cs @@ -87,7 +87,6 @@ public void Execute(bool activate, bool legacyActivate, bool stateExist) { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -115,7 +114,6 @@ public void ExecuteWithInvalidSigner() PreviousState = prevState, // 송금자가 직접 사인하지 않으면 실패해야 합니다. Signer = _recipient, - Rehearsal = false, BlockIndex = 1, }); }); @@ -147,7 +145,6 @@ public void ExecuteWithInvalidRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -176,7 +173,6 @@ public void ExecuteWithInsufficientBalance() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -205,7 +201,6 @@ public void ExecuteWithMinterAsSender() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -238,7 +233,6 @@ public void ExecuteWithMinterAsRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -269,7 +263,6 @@ public void ExecuteWithUnactivatedRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -341,7 +334,6 @@ public void Execute_Throw_InvalidTransferCurrencyException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = TransferAsset3.CrystalTransferringRestrictionStartIndex, })); } diff --git a/.Lib9c.Tests/Action/TransferAsset4Test.cs b/.Lib9c.Tests/Action/TransferAsset4Test.cs index 089638deef..608685e4d1 100644 --- a/.Lib9c.Tests/Action/TransferAsset4Test.cs +++ b/.Lib9c.Tests/Action/TransferAsset4Test.cs @@ -63,7 +63,6 @@ public void Execute() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -92,7 +91,6 @@ public void Execute_Throw_InvalidTransferSignerException() PreviousState = prevState, // 송금자가 직접 사인하지 않으면 실패해야 합니다. Signer = _recipient, - Rehearsal = false, BlockIndex = 1, }); }); @@ -122,7 +120,6 @@ public void Execute_Throw_InvalidTransferRecipientException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -151,7 +148,6 @@ public void Execute_Throw_InsufficientBalanceException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -187,7 +183,6 @@ public void Execute_Throw_InvalidTransferMinterException(bool minterAsSender) { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -262,7 +257,6 @@ public void Execute_Throw_InvalidTransferCurrencyException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = TransferAsset3.CrystalTransferringRestrictionStartIndex, })); } diff --git a/.Lib9c.Tests/Action/TransferAssetTest.cs b/.Lib9c.Tests/Action/TransferAssetTest.cs index 9b8ed9a1f1..84b5f6548e 100644 --- a/.Lib9c.Tests/Action/TransferAssetTest.cs +++ b/.Lib9c.Tests/Action/TransferAssetTest.cs @@ -66,7 +66,6 @@ public void Execute() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -95,7 +94,6 @@ public void Execute_Throw_InvalidTransferSignerException() PreviousState = prevState, // 송금자가 직접 사인하지 않으면 실패해야 합니다. Signer = _recipient, - Rehearsal = false, BlockIndex = 1, }); }); @@ -125,7 +123,6 @@ public void Execute_Throw_InvalidTransferRecipientException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -154,7 +151,6 @@ public void Execute_Throw_InsufficientBalanceException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -190,7 +186,6 @@ public void Execute_Throw_InvalidTransferMinterException(bool minterAsSender) { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -265,7 +260,6 @@ public void Execute_Throw_InvalidTransferCurrencyException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = TransferAsset3.CrystalTransferringRestrictionStartIndex, })); } @@ -306,7 +300,6 @@ public void Execute_Throw_ArgumentException() StakeState.DeriveAddress(_recipient), new StakeState(StakeState.DeriveAddress(_recipient), 0).SerializeV2()), Signer = _sender, - Rehearsal = false, BlockIndex = 1, })); Assert.Throws("recipient", () => action.Execute(new ActionContext() @@ -322,7 +315,6 @@ public void Execute_Throw_ArgumentException() 201600), 0).Serialize()), Signer = _sender, - Rehearsal = false, BlockIndex = 1, })); Assert.Throws("recipient", () => action.Execute(new ActionContext() @@ -336,7 +328,6 @@ public void Execute_Throw_ArgumentException() 0) .Serialize()), Signer = _sender, - Rehearsal = false, BlockIndex = 1, })); var monsterCollectionRewardSheet = new MonsterCollectionRewardSheet(); @@ -354,7 +345,6 @@ public void Execute_Throw_ArgumentException() monsterCollectionRewardSheet) .Serialize()), Signer = _sender, - Rehearsal = false, BlockIndex = 1, })); } diff --git a/.Lib9c.Tests/Action/TransferAssetTest0.cs b/.Lib9c.Tests/Action/TransferAssetTest0.cs index 791fd24ff2..46cfb33ed6 100644 --- a/.Lib9c.Tests/Action/TransferAssetTest0.cs +++ b/.Lib9c.Tests/Action/TransferAssetTest0.cs @@ -59,7 +59,6 @@ public void Execute() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -87,7 +86,6 @@ public void ExecuteWithInvalidSigner() PreviousState = prevState, // 송금자가 직접 사인하지 않으면 실패해야 합니다. Signer = _recipient, - Rehearsal = false, BlockIndex = 1, }); }); @@ -115,7 +113,6 @@ public void ExecuteWithInvalidRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -125,7 +122,6 @@ public void ExecuteWithInvalidRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 380001, }); }); @@ -153,7 +149,6 @@ public void ExecuteWithInsufficientBalance() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -181,7 +176,6 @@ public void ExecuteWithMinterAsSender() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -213,7 +207,6 @@ public void ExecuteWithMinterAsRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); diff --git a/.Lib9c.Tests/Action/TransferAssets0Test.cs b/.Lib9c.Tests/Action/TransferAssets0Test.cs index 66d9189372..674d5402f9 100644 --- a/.Lib9c.Tests/Action/TransferAssets0Test.cs +++ b/.Lib9c.Tests/Action/TransferAssets0Test.cs @@ -111,7 +111,6 @@ public void Execute(bool activate, bool legacyActivate, bool stateExist) { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -142,7 +141,6 @@ public void ExecuteWithInvalidSigner() PreviousState = prevState, // 송금자가 직접 사인하지 않으면 실패해야 합니다. Signer = _recipient, - Rehearsal = false, BlockIndex = 1, }); }); @@ -173,7 +171,6 @@ public void ExecuteWithInvalidRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -204,7 +201,6 @@ public void ExecuteWithInsufficientBalance() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -235,7 +231,6 @@ public void ExecuteWithMinterAsSender() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -270,7 +265,6 @@ public void ExecuteWithMinterAsRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -303,7 +297,6 @@ public void ExecuteWithUnactivatedRecipient() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -427,7 +420,6 @@ public void Execute_Throw_ArgumentOutOfRangeException() { PreviousState = new Account(MockState.Empty), Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -453,7 +445,6 @@ public void Execute_Throw_InvalidTransferCurrencyException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = TransferAsset3.CrystalTransferringRestrictionStartIndex, })); } diff --git a/.Lib9c.Tests/Action/TransferAssets2Test.cs b/.Lib9c.Tests/Action/TransferAssets2Test.cs index 0573f40501..68d41a8760 100644 --- a/.Lib9c.Tests/Action/TransferAssets2Test.cs +++ b/.Lib9c.Tests/Action/TransferAssets2Test.cs @@ -82,7 +82,6 @@ public void Execute() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -115,7 +114,6 @@ public void Execute_Throw_InvalidTransferSignerException() PreviousState = prevState, // 송금자가 직접 사인하지 않으면 실패해야 합니다. Signer = _recipient, - Rehearsal = false, BlockIndex = 1, }); }); @@ -146,7 +144,6 @@ public void Execute_Throw_InvalidTransferRecipientException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -177,7 +174,6 @@ public void Execute_Throw_InsufficientBalanceException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -211,7 +207,6 @@ public void Execute_Throw_InvalidTransferMinterException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -337,7 +332,6 @@ public void Execute_Throw_ArgumentOutOfRangeException() { PreviousState = new Account(MockState.Empty), Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -363,7 +357,6 @@ public void Execute_Throw_InvalidTransferCurrencyException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = TransferAsset3.CrystalTransferringRestrictionStartIndex, })); } diff --git a/.Lib9c.Tests/Action/TransferAssetsTest.cs b/.Lib9c.Tests/Action/TransferAssetsTest.cs index 89757df3de..6cc584fb57 100644 --- a/.Lib9c.Tests/Action/TransferAssetsTest.cs +++ b/.Lib9c.Tests/Action/TransferAssetsTest.cs @@ -84,7 +84,6 @@ public void Execute() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); @@ -117,7 +116,6 @@ public void Execute_Throw_InvalidTransferSignerException() PreviousState = prevState, // 송금자가 직접 사인하지 않으면 실패해야 합니다. Signer = _recipient, - Rehearsal = false, BlockIndex = 1, }); }); @@ -148,7 +146,6 @@ public void Execute_Throw_InvalidTransferRecipientException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -179,7 +176,6 @@ public void Execute_Throw_InsufficientBalanceException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -213,7 +209,6 @@ public void Execute_Throw_InvalidTransferMinterException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -339,7 +334,6 @@ public void Execute_Throw_ArgumentOutOfRangeException() { PreviousState = new Account(MockState.Empty), Signer = _sender, - Rehearsal = false, BlockIndex = 1, }); }); @@ -365,7 +359,6 @@ public void Execute_Throw_InvalidTransferCurrencyException() { PreviousState = prevState, Signer = _sender, - Rehearsal = false, BlockIndex = TransferAsset3.CrystalTransferringRestrictionStartIndex, })); } @@ -392,7 +385,6 @@ public void Execute_Throw_ArgumentException() StakeState.DeriveAddress(_recipient), new StakeState(StakeState.DeriveAddress(_recipient), 0).SerializeV2()), Signer = _sender, - Rehearsal = false, BlockIndex = 1, })); Assert.Throws("recipient", () => action.Execute(new ActionContext() @@ -408,7 +400,6 @@ public void Execute_Throw_ArgumentException() 201600), 0).Serialize()), Signer = _sender, - Rehearsal = false, BlockIndex = 1, })); Assert.Throws("recipient", () => action.Execute(new ActionContext() @@ -422,7 +413,6 @@ public void Execute_Throw_ArgumentException() 0) .Serialize()), Signer = _sender, - Rehearsal = false, BlockIndex = 1, })); var monsterCollectionRewardSheet = new MonsterCollectionRewardSheet(); @@ -440,7 +430,6 @@ public void Execute_Throw_ArgumentException() monsterCollectionRewardSheet) .Serialize()), Signer = _sender, - Rehearsal = false, BlockIndex = 1, })); } diff --git a/.Lib9c.Tests/Action/UnlockRuneSlotTest.cs b/.Lib9c.Tests/Action/UnlockRuneSlotTest.cs index 75a7067495..2a0b436548 100644 --- a/.Lib9c.Tests/Action/UnlockRuneSlotTest.cs +++ b/.Lib9c.Tests/Action/UnlockRuneSlotTest.cs @@ -79,7 +79,6 @@ public void Execute(int slotIndex) BlockIndex = blockIndex, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = agentAddress, }; @@ -130,7 +129,6 @@ public void Execute_InsufficientBalanceException() BlockIndex = blockIndex, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = agentAddress, }; @@ -159,7 +157,6 @@ public void Execute_SlotNotFoundException() BlockIndex = blockIndex, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = agentAddress, }; @@ -188,7 +185,6 @@ public void Execute_MismatchRuneSlotTypeException() BlockIndex = blockIndex, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = agentAddress, }; @@ -221,7 +217,6 @@ public void Execute_SlotIsAlreadyUnlockedException() BlockIndex = blockIndex, PreviousState = state, RandomSeed = 0, - Rehearsal = false, Signer = agentAddress, }; diff --git a/.Lib9c.Tests/Action/UpdateSell0Test.cs b/.Lib9c.Tests/Action/UpdateSell0Test.cs index e3f2e64780..318f2e60b3 100644 --- a/.Lib9c.Tests/Action/UpdateSell0Test.cs +++ b/.Lib9c.Tests/Action/UpdateSell0Test.cs @@ -245,7 +245,6 @@ bool legacy BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/UpdateSell2Test.cs b/.Lib9c.Tests/Action/UpdateSell2Test.cs index d6161ae5e9..8fba2d6733 100644 --- a/.Lib9c.Tests/Action/UpdateSell2Test.cs +++ b/.Lib9c.Tests/Action/UpdateSell2Test.cs @@ -226,7 +226,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/UpdateSell3Test.cs b/.Lib9c.Tests/Action/UpdateSell3Test.cs index 0777a5f5e9..dfe27a77c9 100644 --- a/.Lib9c.Tests/Action/UpdateSell3Test.cs +++ b/.Lib9c.Tests/Action/UpdateSell3Test.cs @@ -232,7 +232,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/UpdateSell4Test.cs b/.Lib9c.Tests/Action/UpdateSell4Test.cs index 592c900be5..af62a0356a 100644 --- a/.Lib9c.Tests/Action/UpdateSell4Test.cs +++ b/.Lib9c.Tests/Action/UpdateSell4Test.cs @@ -232,7 +232,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/Action/UpdateSellTest.cs b/.Lib9c.Tests/Action/UpdateSellTest.cs index 7ba922a1c3..d93344e537 100644 --- a/.Lib9c.Tests/Action/UpdateSellTest.cs +++ b/.Lib9c.Tests/Action/UpdateSellTest.cs @@ -232,7 +232,6 @@ bool fromPreviousAction BlockIndex = 101, PreviousState = prevState, RandomSeed = 0, - Rehearsal = false, Signer = _agentAddress, }); diff --git a/.Lib9c.Tests/TestHelper/BlockChainHelper.cs b/.Lib9c.Tests/TestHelper/BlockChainHelper.cs index eddde7d10d..2eb854727b 100644 --- a/.Lib9c.Tests/TestHelper/BlockChainHelper.cs +++ b/.Lib9c.Tests/TestHelper/BlockChainHelper.cs @@ -158,7 +158,6 @@ public static MakeInitialStateResult MakeInitialState() BlockIndex = 0, PreviousState = initialState, RandomSeed = 0, - Rehearsal = false, }); return new MakeInitialStateResult(