Skip to content

Commit

Permalink
bump: Fix build error and bump lib9c
Browse files Browse the repository at this point in the history
  • Loading branch information
s2quake committed Nov 26, 2024
1 parent cf83cfb commit 0b51fde
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<LibplanetVersion>5.4.0</LibplanetVersion>
<LibplanetVersion>5.4.1</LibplanetVersion>
</PropertyGroup>
</Project>
31 changes: 15 additions & 16 deletions NineChronicles.Headless/GraphTypes/ActionQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -574,22 +574,21 @@ public ActionQuery(StandaloneContext standaloneContext)
context,
new MigratePlanetariumGuild()));

Field<ByteStringType>(
name: "fixToRefundFromNonValidator",
arguments: new QueryArguments(
new QueryArgument<NonNullGraphType<ListGraphType<NonNullGraphType<AddressType>>>>
{
Description = "List of addresses to refund",
Name = "addresses",
}),
resolve: context =>
{
var addresses = context.GetArgument<List<Address>>("addresses");
return Encode(
context,
new FixToRefundFromNonValidator(addresses));
});

// Field<ByteStringType>(
// name: "fixToRefundFromNonValidator",
// arguments: new QueryArguments(
// new QueryArgument<NonNullGraphType<ListGraphType<NonNullGraphType<AddressType>>>>
// {
// Description = "List of addresses to refund",
// Name = "addresses",
// }),
// resolve: context =>
// {
// var addresses = context.GetArgument<List<Address>>("addresses");
// return Encode(
// context,
// new FixToRefundFromNonValidator(addresses));
// });
RegisterHackAndSlash();
RegisterHackAndSlashSweep();
RegisterDailyReward();
Expand Down

0 comments on commit 0b51fde

Please sign in to comment.