Unverified Commit 8241d340 authored by Tarik Gul's avatar Tarik Gul Committed by GitHub
Browse files

feat: add query param `includeFee` to add a `tip`, `partialFee`, and...

feat: add query param `includeFee` to add a `tip`, `partialFee`, and `priority` field to each extrinsic for `/node/transaction-pool` (#931)

* add test response

* update controller to include tip query parameter

* create tests that include tip query param

* update the return type to include tip

* update dervice logic to handle tip inclusion

* update the docs

* fix grumble

* switch the naming in the controller from tip to fee

* add partial fee functionality

* handle priority correctly

* fix some linting errors

* update response type for partialfee

* set query param as includeFee

* update normal extrinsic response

* add const values to defaultMockApi

* add computation logic to calculate priority

* update docs

* add test suite for operational transactions

* lint

* remove commented import

* rename maxBlock to maxBlockWeight

* add end line

* fix priority type decsription

* cleanup small grumbles

* fix comment

* fix some comments
parent fd7021ce
Pipeline #197521 passed with stages
in 18 minutes and 16 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