polkadot-types-from-chain removes imports which are used later in the same file #5765
Open
4 of 10 tasks
Labels
P4 - Needs Investigation
Requires analysis to determine cause or feasibility. Not fully understood, needs research first.
Rebuilding type definitions removes imports which are actually being used, which in turn results to build issues with my package later on.
I am expecting that these imports will not be removed.
Version:
@polkadot/typegen": "^10.10.1",
,"@polkadot/api": "^10.10.1",
Environment: Linux
Language:
** Steps to reproduce **
build:types
is defined asand I've identified that the removal of these imports is coming from
polkadot-types-from-chain
.gluwa/creditcoin3#95 - bumps versions of Polkadot.js packages and just rebuilds the type definitions and fails because of the error above - see the failing CI job
javascript-typecheck / cli
for examplegluwa/creditcoin3#99 - adds automatic regeneration of type definitions (will push an automatic commit to GitHub if successfull) and fails because of this very same issue - see the failing CI job
integration-test-cli
for example (actual diff in CI logs).The text was updated successfully, but these errors were encountered: