Skip to content
Unverified Commit 92e3e1da authored by Tarik Gul's avatar Tarik Gul Committed by GitHub
Browse files

fix!: integrate @substrate/[email protected] for partial fees (#1017)



* update @substrate/calc

* remove feeByEvent query param

* integrate calc_partial_fee

* update e2e-tests for kusama

* update polkadot e2e tests

* update westend e2e tests

* fix ss58 field in runtime/spec for statemint

* update the docs

* add apiAt.call.transactionPaymentApi

* add queryFeeErrCache

* fix tests

* stop using call and use the RPC

* fix tests, and remove consoles

* add QueryFeeDetailsCache

* fix kusama chain config for fees

* lint

* fix grumbles

* fix naming for QueryFeeCache

* fix QueryFeeDetailsCache, and write tests

* Update src/services/blocks/BlocksService.ts

Co-authored-by: default avatarJames Wilson <[email protected]>

* Update docs/src/openapi-v1.yaml

Co-authored-by: default avatarJames Wilson <[email protected]>

* Update src/services/blocks/BlocksService.ts

Co-authored-by: default avatarJames Wilson <[email protected]>

* Update src/types/chains-config/ControllerConfig.ts

Co-authored-by: default avatarJames Wilson <[email protected]>

* fix conflct

* fix _versionWithCall when null check

* change if to else if in QueryFeeDetailsCache

* complete unfinished comment

* set subtrate/calc back to 0.3.0

* rename QueryFeeCache methods and instance vars

* isQueryFeeDetailsAvail -> hasQueryFeeDetails

* change to hasQueryFeeApi

* add notes

Co-authored-by: default avatarJames Wilson <[email protected]>
parent f59b7dbe
Pipeline #211568 passed with stages
in 18 minutes and 12 seconds
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