Skip to content

Commit

Permalink
Remove obsoleted actions
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Aug 8, 2023
1 parent f10b41b commit 170da26
Show file tree
Hide file tree
Showing 343 changed files with 41 additions and 136,894 deletions.
2 changes: 1 addition & 1 deletion .Lib9c.Tests/Action/AccountStateDeltaExtensionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class AccountStateDeltaExtensionsTest
public AccountStateDeltaExtensionsTest()
{
_agentAddress = default;
_avatarAddress = _agentAddress.Derive(string.Format(CultureInfo.InvariantCulture, CreateAvatar2.DeriveFormat, 0));
_avatarAddress = _agentAddress.Derive(string.Format(CultureInfo.InvariantCulture, CreateAvatar.DeriveFormat, 0));
_agentState = new AgentState(_agentAddress);
_agentState.avatarAddresses[0] = _avatarAddress;
_tableSheets = new TableSheets(TableSheetsImporter.ImportSheets());
Expand Down
2 changes: 1 addition & 1 deletion .Lib9c.Tests/Action/AccountStateViewExtensionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class AccountStateViewExtensionsTest
public AccountStateViewExtensionsTest()
{
_agentAddress = default;
_avatarAddress = _agentAddress.Derive(string.Format(CultureInfo.InvariantCulture, CreateAvatar2.DeriveFormat, 0));
_avatarAddress = _agentAddress.Derive(string.Format(CultureInfo.InvariantCulture, CreateAvatar.DeriveFormat, 0));
_agentState = new AgentState(_agentAddress);
_agentState.avatarAddresses[0] = _avatarAddress;
_tableSheets = new TableSheets(TableSheetsImporter.ImportSheets());
Expand Down
19 changes: 0 additions & 19 deletions .Lib9c.Tests/Action/ActionEvaluationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,11 @@ public ActionEvaluationTest()
[InlineData(typeof(MigrationActivatedAccountsState))]
[InlineData(typeof(MigrationAvatarState))]
[InlineData(typeof(MigrationLegacyShop))]
[InlineData(typeof(MimisbrunnrBattle))]
[InlineData(typeof(MonsterCollect))]
[InlineData(typeof(PatchTableSheet))]
[InlineData(typeof(RankingBattle))]
[InlineData(typeof(RapidCombination))]
[InlineData(typeof(RedeemCode))]
[InlineData(typeof(RewardGold))]
[InlineData(typeof(Sell))]
[InlineData(typeof(SellCancellation))]
[InlineData(typeof(UpdateSell))]
[InlineData(typeof(CreatePendingActivations))]
Expand Down Expand Up @@ -199,18 +196,6 @@ private ActionBase GetAction(Type type)
avatarStates = new List<Dictionary>(),
},
MigrationLegacyShop _ => new MigrationLegacyShop(),
MimisbrunnrBattle _ => new MimisbrunnrBattle
{
Costumes = new List<Guid>(),
Equipments = new List<Guid>(),
Foods = new List<Guid>(),
RuneInfos = new List<RuneSlotInfo>(),
WorldId = 0,
StageId = 0,
PlayCount = 0,
AvatarAddress = default,
},
MonsterCollect _ => new MonsterCollect(),
PatchTableSheet _ => new PatchTableSheet
{
TableCsv = "table",
Expand All @@ -231,10 +216,6 @@ private ActionBase GetAction(Type type)
AvatarAddress = new PrivateKey().ToAddress(),
},
RewardGold _ => null,
Sell _ => new Sell
{
price = _currency * 100,
},
SellCancellation _ => new SellCancellation(),
UpdateSell _ => new UpdateSell
{
Expand Down
Loading

0 comments on commit 170da26

Please sign in to comment.