Releases: paritytech/substrate-api-sidecar
Releases · paritytech/substrate-api-sidecar
v0.11.0
- Improved configuration management using
confmgr
. ENV var specs are now inspecs.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 new400
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
- New
/staking-info
endpoint to get information on the progress of the staking system components. - Bump @polkadot-js deps.
v0.9.2
v0.9.1
v0.9.0
v0.8.1
Contains a bug fix that caused two blocks on Polkadot CC1 to crash Sidecar.
v0.8.0
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 acall
is an argument to a function, e.g.utility.batch
. The currentargs
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 thestaking.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 tomain
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
- 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
andspecName
totx/artifacts
endpoint. (#69) - Includes new fee calculation with a Wasm executable. See the README for up-to-date instructions for installing
rustup
andwasm-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
- 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/
.