@@ -46,7 +46,7 @@ public class ManipulateStateTest
4646
4747 public ManipulateStateTest ( )
4848 {
49- ( _tableSheets , _agentAddress , _avatarAddress , _ , _initialStateV2 ) =
49+ ( _tableSheets , _agentAddress , _avatarAddress , _initialStateV2 ) =
5050 InitializeUtil . InitializeStates (
5151 adminAddr : AdminAddr ,
5252 isDevEx : true ) ;
@@ -111,7 +111,7 @@ public ManipulateStateTest()
111111 public static IEnumerable < object [ ] > FetchInventory ( )
112112 {
113113 var random = new TestRandom ( ) ;
114- var ( tableSheets , _, _, _, _ ) = InitializeUtil . InitializeStates ( isDevEx : true ) ;
114+ var ( tableSheets , _, _, _) = InitializeUtil . InitializeStates ( isDevEx : true ) ;
115115 var equipmentList = tableSheets . EquipmentItemSheet . Values . ToList ( ) ;
116116 var consumableList = tableSheets . ConsumableItemSheet . Values . ToList ( ) ;
117117 var materialList = tableSheets . MaterialItemSheet . Values . ToList ( ) ;
@@ -170,7 +170,7 @@ public static IEnumerable<object[]> FetchInventory()
170170 public static IEnumerable < object [ ] > FetchWorldInfo ( )
171171 {
172172 var random = new Random ( ) ;
173- var ( tableSheets , _, _, _, _ ) = InitializeUtil . InitializeStates ( isDevEx : true ) ;
173+ var ( tableSheets , _, _, _) = InitializeUtil . InitializeStates ( isDevEx : true ) ;
174174 var worldSheet = tableSheets . WorldSheet ;
175175 yield return new object [ ]
176176 {
@@ -195,7 +195,7 @@ public static IEnumerable<object[]> FetchWorldInfo()
195195 public static IEnumerable < object [ ] > FetchQuest ( )
196196 {
197197 var random = new Random ( ) ;
198- var ( tableSheets , _, _, _ , stateV2 ) = InitializeUtil . InitializeStates ( isDevEx : true ) ;
198+ var ( tableSheets , _, _, stateV2 ) = InitializeUtil . InitializeStates ( isDevEx : true ) ;
199199 // Empty QuestList
200200 yield return new object [ ]
201201 {
@@ -455,7 +455,7 @@ public void SetAvatarState(
455455 _initialStateV2 ,
456456 new List < ( Address , Address , IValue ) >
457457 {
458- ( Addresses . Avatar , _avatarAddress , MigrationAvatarState . LegacySerializeV2 ( newAvatarState ) )
458+ ( Addresses . Avatar , _avatarAddress , newAvatarState . SerializeList ( ) )
459459 } ,
460460 new List < ( Address , FungibleAssetValue ) > ( )
461461 ) ;
@@ -547,7 +547,7 @@ public void SetWorldInformation(int lastClearedStage, WorldInformation targetInf
547547 _initialStateV2 ,
548548 new List < ( Address , Address , IValue ) >
549549 {
550- ( ReservedAddresses . LegacyAccount , _avatarAddress . Derive ( SerializeKeys . LegacyWorldInformationKey ) , targetInfo . Serialize ( ) )
550+ ( Addresses . WorldInformation , _avatarAddress , targetInfo . Serialize ( ) )
551551 } ,
552552 new List < ( Address , FungibleAssetValue ) > ( )
553553 ) ;
0 commit comments