Closed Olshansk closed 1 year ago
This test is a followup to an offline discussion related to how application relays are computed.
Updating TestApplication_CalculateAppRelays to reflect:
TestApplication_CalculateAppRelays
export POCKET_ENDPOINT=https://user>:<password>@<host:
curl --data '{"height": 90074}' --location -X 'POST' -H 'Content-Type: application/json' "${POCKET_ENDPOINT}/v1/query/allParams" | jq
curl --data '{"height": 90074, "opts": {"per_page":3000 } }' --location -X 'POST' -H 'Content-Type: application/json' "${POCKET_ENDPOINT}/v1/query/apps" | jq -r '.result | map({staked_tokens: .staked_tokens | tonumber}) | sort_by(-.staked_tokens) | .[].staked_tokens'
Reviewpad Report
:bangbang: Errors
:warning: Warnings
Description
This test is a followup to an offline discussion related to how application relays are computed.
Changes
Updating
TestApplication_CalculateAppRelays
to reflect:Context
Helpers
export POCKET_ENDPOINT=https://user>:<password>@<host:
Listing all params
Listing all app stakes in descending order