Skip to content

Releases: paritytech/substrate-api-sidecar

v0.11.0

01 Jul 18:28
af87a23
Compare
Choose a tag to compare
  • Improved configuration management using confmgr. ENV var specs are now in specs.yml and there is improved compatibility with .env files. N.B. all configurable ENV var names have changed; they now include longer prefixes. You can find more details in the updated README.md
  • Validations for ensuring address URI params are in a substrate compatible SS58 format. Multiple new 400 errors are added in the validation process including, but not limited to, 'Invalid decoded address length' and 'Invalid decoded address checksum'.
  • Bump @polkadot-js deps to v1.23.0-beta.2.

v0.10.0

29 Jun 17:01
cc8762b
Compare
Choose a tag to compare
  • New /staking-info endpoint to get information on the progress of the staking system components.
  • Bump @polkadot-js deps.

v0.9.2

19 Jun 15:35
e94f680
Compare
Choose a tag to compare

Bump @polkadot-js scoped dependencies to 1.20.0-beta.3 (#108).

v0.9.1

19 Jun 13:53
4117183
Compare
Choose a tag to compare

Urgent Update

  • Fix bug parsing block after runtime upgrade that crashed sidecar (#106)
  • Support for Polkadot v11 and Westend (#104)
  • Improved error logging (#87)

v0.9.0

17 Jun 17:55
c087497
Compare
Choose a tag to compare

The staking endpoint now takes a stash address and includes all the fields that where previously in the payout endpoint. The payout endpoint itself has been removed. (#94)

v0.8.1

16 Jun 20:10
2a3079f
Compare
Choose a tag to compare

Contains a bug fix that caused two blocks on Polkadot CC1 to crash Sidecar.

v0.8.0

14 Jun 19:40
a323450
Compare
Choose a tag to compare

API Changes

  • Extrinsics within a block now contain a new field, newArgs, that contains the actual parameter names rather than an array of args. This is especially useful when a call is an argument to a function, e.g. utility.batch. The current args field is left unchanged to avoid breaking production deployments, but will be removed in the future. (#62)
  • The Block endpoint now includes the block author's account ID for chains with accounts. (#75)
  • The Staking endpoint now returns an integer, numSlashingSpans in addition to its other fields. This value needs to be passed into the staking.withdrawUnbonded call. (#85)

Bug Fixes

  • Kusama runtime 1062 had a bug in its Fixed128 implementation that was used to calculate fees. This introduces that bug for transactions in 1062. (#72)
  • The new Wasm fees work threw an error when fetching the genesis block, as it tried to query storage items from its parent. (#83)

Features

  • The main.ts now includes reference documentation for all endpoints. We are working on improvements, e.g. markdown docs, but for now look to main for docs on each endpoint. (#73)
  • For all endpoints that accept a block number at which to query, you can query either by integer or block hash. (#77)

Other

  • Dependencies bump.

v0.8.0-rc1

08 Jun 19:59
e83420b
Compare
Choose a tag to compare
  • Update Polkadot JS API to v1.18.1. This is necessary to sync the chain as it includes the types for the new generalized proxies in Polkadot v5. (#71)
  • Adds chainName and specName to tx/artifacts endpoint. (#69)
  • Includes new fee calculation with a Wasm executable. See the README for up-to-date instructions for installing rustup and wasm-pack. yarn will now compile Rust code. (#50)

Note: We are releasing this early as the current method of retrieving fees in Polkadot v5 is broken and this update fixes it. There are two transactions on Kusama that do not reconcile according to our logic. We are investigating whether this is a problem in Sidecar or the reconciliation logic.

v0.7.0

01 Jun 11:14
583ed0f
Compare
Choose a tag to compare
  • Update API to v1.17.0-beta.5. This update is necessary for the switch to PoS.
  • Add fee prediction endpoint, POST to /tx/fee-estimate/.

v0.6.0

26 May 18:20
b7909b3
Compare
Choose a tag to compare
  • API update to v1.16.1, which includes full support for Polkadot CC1 types and signed extensions
  • Add claims endpoint, which returns the type of attestation necessary for an Ethereum address.