Skip to content

[PLA-2471] Update sample game server for Enjin Platform SDK 3.0.3 - #8

Merged
JayPavlina merged 1 commit into
masterfrom
feature/PLA-2471/update-to-sdk-v3-0-3
Jul 13, 2026
Merged

[PLA-2471] Update sample game server for Enjin Platform SDK 3.0.3#8
JayPavlina merged 1 commit into
masterfrom
feature/PLA-2471/update-to-sdk-v3-0-3

Conversation

@JayPavlina

Copy link
Copy Markdown
Collaborator

Bump the Enjin.Platform.Sdk PackageReference from 3.0.2 to 3.0.3 and adapt EnjinService to the SDK's breaking changes so the server compiles and round-trips against the v3 schema.

  • GetManagedWallet no longer accepts network/chain arguments, dropped from both call sites;
  • TransferEnjInput.Amount changed from BigInteger to string (ENJ scalar), so the drip amount is sent via amount.ToString();
  • Transaction.extrinsicHash was removed (the hash now lives on the nested Extrinsic object), so it is no longer selected in the GetTransaction poll where it was unused.

Bump the Enjin.Platform.Sdk PackageReference from 3.0.2 to 3.0.3 and adapt EnjinService to the SDK's breaking changes so the server compiles and round-trips against the v3 schema." -m "Changes: (1) GetManagedWallet no longer accepts network/chain arguments, dropped from both call sites; (2) TransferEnjInput.Amount changed from BigInteger to string (ENJ scalar), so the drip amount is sent via amount.ToString(); (3) Transaction.extrinsicHash was removed (the hash now lives on the nested Extrinsic object), so it is no longer selected in the GetTransaction poll where it was unused." -m "Verified end-to-end against Canary: register provisions a managed wallet, the 1 ENJ drip finalizes, and get-tokens returns the account.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the sample game server to compile and work with Enjin Platform SDK 3.0.3, adapting EnjinService to the SDK’s breaking GraphQL/SDK API changes while keeping existing server behavior intact.

Changes:

  • Bumped Enjin.Platform.Sdk dependency from 3.0.2 → 3.0.3.
  • Updated GetManagedWallet queries to match the new signature (removed network/chain arguments).
  • Adjusted ENJ transfer and transaction polling queries to match updated schema (ENJ amount as string; removed extrinsicHash selection).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Services/EnjinService.cs Updates managed wallet queries, ENJ transfer input formatting, and transaction polling selection set for SDK 3.0.3 compatibility.
PlatformSampleGameServer.csproj Bumps Enjin Platform SDK package version to 3.0.3.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JayPavlina
JayPavlina merged commit a26ca1c into master Jul 13, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants