Skip to content

Commit

Permalink
Build and test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
greymistcube committed Dec 15, 2023
1 parent 3c1bad3 commit 360ad5b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ public async Task MonsterCollect()
}
}";

ActionBase createAvatar = new CreateAvatar2
ActionBase createAvatar = new CreateAvatar
{
index = 0,
hair = 0,
Expand Down Expand Up @@ -768,7 +768,7 @@ public async Task ClaimMonsterCollectionReward()
}}
}}";

ActionBase createAvatar = new CreateAvatar2
ActionBase createAvatar = new CreateAvatar
{
index = 0,
hair = 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ public async Task MonsterCollectionStatus_MonsterCollectionState_Null(bool miner
{
StandaloneContextFx.NineChroniclesNodeService.MinerPrivateKey = null;
}
var action = new CreateAvatar2
var action = new CreateAvatar
{
index = 0,
hair = 1,
Expand Down Expand Up @@ -786,7 +786,7 @@ public async Task Avatar()
var service = MakeNineChroniclesNodeService(userPrivateKey);
StandaloneContextFx.NineChroniclesNodeService = service;
StandaloneContextFx.BlockChain = service.Swarm!.BlockChain;
var action = new CreateAvatar2
var action = new CreateAvatar
{
index = 0,
hair = 1,
Expand All @@ -806,7 +806,7 @@ public async Task Avatar()
var avatarAddress = userAddress.Derive(
string.Format(
CultureInfo.InvariantCulture,
CreateAvatar2.DeriveFormat,
CreateAvatar.DeriveFormat,
0
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public async Task SubscribeTx()
var observable = stream.Take(1);

var targetAction = new Grinding { AvatarAddress = new Address(), EquipmentIds = new List<Guid>() };
var nonTargetAction = new DailyReward6 { avatarAddress = new Address() };
var nonTargetAction = new DailyReward { avatarAddress = new Address() };

Task<ExecutionResult> task = Task.Run(async () => await observable);
var (block, transactions) = AppendBlock(targetAction, nonTargetAction);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public async Task GetTx()
data
);

var action = new CreateAvatar2
var action = new CreateAvatar
{
index = 0,
hair = 1,
Expand Down Expand Up @@ -165,7 +165,7 @@ public async Task CreateUnsignedTx(long? nonce)
PublicKey publicKey = privateKey.PublicKey;
Address signer = publicKey.Address;
long expectedNonce = nonce ?? _blockChain.GetNextTxNonce(signer);
ActionBase action = new CreateAvatar2
ActionBase action = new CreateAvatar
{
index = 0,
hair = 1,
Expand Down

0 comments on commit 360ad5b

Please sign in to comment.