Skip to content
Snippets Groups Projects
Unverified Commit 610db420 authored by Tarik Gul's avatar Tarik Gul Committed by GitHub
Browse files

fix(`/blocks`): cache extrinsic base weight constants to improve performance (#478)

This fixes a regression that happened when v2.1.2 was released. ie: [commit](https://github.com/paritytech/substrate-api-sidecar/commit/5ec24e63). It achieves this by cacheing extrinsic weight constants from the metadata that are used in extrinsic fee calculations.
parent d566e31a
No related merge requests found
Showing
with 656 additions and 170 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment