Vega Testnet release 0.36.0 is coming

The team are set to release a new version of the core node software for the Vega Testnet early next week (0.36.0). If you run into any problems, please reach out on the community forums or on the #dev-chat Discord :mega:

Full release notes will be published alongside the release, however, there will be a set of minor breaking changes that will affect application developers. GraphQL is particularly affected.

The sample-api-scripts will all be updated to show the changes so you can refer to the code there and the API reference documentation for more detail.

To get ready for this, here is a heads up for the changes required in your code:

gRPC:

Please update your api client to 0.36.0, this will include the new Proto changes and you will be able to reference them directly (with code competition if your IDE supports that feature).

  • vega.OrderSubmission becomes vega.commands.v1.OrderSubmission
  • vega.OrderAmendment becomes vega.commands.v1.OrderAmendment
  • vega.OrderCancellation becomes vega.commands.v1.OrderCancellation

partyId is no longer required field for any order submission/amendment or cancellation commands. It is also no longer required for governance proposals and voting as the party can be verified from the pubkey signing the transaction.

REST:

Similar to gRPC, the partyID is no longer required field for any order submission/amendment or cancellation commands. It is also no longer required for governance proposals and voting as the party can be verified from the pubkey signing the transaction.

GraphQL:

Breaking: Order mutations

If you are not using the prepare… endpoints, these changes will not break your workflow. If you do, simply remove the partyID parameter.

  • partyID is no longer required as a parameter when preparing orders (prepareOrder)
  • partyID is no longer required as a parameter when preparing order ammendments (prepareOrderAmend)
  • partyID is no longer required as a parameter when preparing order cancellations (prepareOrderSubmit)

Breaking: Order Types

If you are manually checking the Order Type field, the contents is changing case. Instead of ALL_CAPS, the types are now CapitalCase: e.g. MARKET is now Market.

Breaking: Markets

If you are manually checking the Market State field, the contents is changing case. Instead of ALL_CAPS, the types are now CapitalCase: e.g. PENDING is now Pending

Breaking: Withdrawals

partyID is no longer a parameter when preparing withdrawals

Breaking: Oracles

Status field: STATUS_ACTIVE is now StatusActive

Breaking: Proposals

yesVotes is now yes
noVotes is now no

3 Likes

thanks i am waiting vega :slight_smile: