You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Governance initiated transfers - specifically tested on new transfers, but may also apply to cancel transfers - there is a difference between the reported destination value from GQL and REST.
Observed behaviour
GQL:
REST:
Notice the "destination type" field has a different value. "ACCOUNT_TYPE_NETWORK_TREASURY" vs "ACCOUNT_TYPE_GENERAL"
Expected behaviour
The two APIs to give the same correct value
Steps to reproduce
Testable on a proposal on stagnet1.
On https://api.stagnet1.vega.rocks/graphql/ you can run this query:
{
proposal(id: "dd9629cacfe528042bf5263c348546afdd941e433caa20eda5f820a454ff0e13") {
terms {
change {
...on NewTransfer {
source
sourceType
destination
destinationType
}
}
}
}
}
and the REST data can be found at https://api.n00.stagnet1.vega.xyz/api/v2/governance?proposalId=dd9629cacfe528042bf5263c348546afdd941e433caa20eda5f820a454ff0e13
Software version
v0.73.0-preview.13
Failing test
No response
Jenkins run
No response
Configuration used
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
Problem encountered
Governance initiated transfers - specifically tested on new transfers, but may also apply to cancel transfers - there is a difference between the reported destination value from GQL and REST.
Observed behaviour
GQL:
REST:
Notice the "destination type" field has a different value. "ACCOUNT_TYPE_NETWORK_TREASURY" vs "ACCOUNT_TYPE_GENERAL"
Expected behaviour
The two APIs to give the same correct value
Steps to reproduce
Software version
v0.73.0-preview.13
Failing test
No response
Jenkins run
No response
Configuration used
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: