Closed JayJay1024 closed 2 years ago
version:
"@darwinia/api-augment": "^2.8.9",
"@darwinia/rpc-augment": "^2.8.9",
"@darwinia/types": "^2.8.9",
"@darwinia/types-augment": "^2.8.9",
"@darwinia/types-known": "^2.8.9",
Darwinia chain has already replaced 'PalletStakingExposure' with 'DarwiniaStakingStructsExposure'.
In my environment, after this setting "@poladot/types/lookup": ["./node_modules/@darwinia/types-augment/lookup/darwinia/types-lookup.d.ts"]
, DarwiniaStakingStructsExposure can be accessed.
if config
or
can not find PalletStakingExposure from @polkadot/types/lookup