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

fix(ParasService): adjust endpoint to use historicApi, fix endingOffset bug (#735)



* add historicApi to crowdloans-info

* add assertQueryModule check

* add historicApi to crowdloans

* add historicApi to leases-info and leases/current

* add historicApi to auctions-current

* add historicApi to paras

* fix endingOffset bug

* adjust tests to reflect historicApi

* cleanup

* inline docs

* lint

* Update src/services/paras/ParasService.ts

Co-authored-by: default avatarZeke Mostov <[email protected]>

* adjust lease_period_index

* lease period index edgecase

* adjust leasePeriodIndex to be null not BN_ZERO

* update docs

Co-authored-by: default avatarZeke Mostov <[email protected]>
parent 42ae8576
Pipeline #165451 passed with stages
in 3 minutes and 28 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