kodadot / kodadot/packages

Fix: chain properties per each api.

Open
#33 1 comment 0 reactions 0 assignees View on GitHub
api
Dominant language
TypeScript
Stars
4
Forks
11
PR merge metrics
No merged PRs in 30d

Description

```ts
@Component
export default class ChainMixin extends Vue {
get chainProperties() {
return this.$store.getters['chain/getChainProperties']
}

get decimals(): number {
return this.chainProperties.tokenDecimals
}

get unit(): string {
return this.chainProperties.tokenSymbol
}
}

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the ChainMixin entry point shown in the issue and inspect how chainProperties is obtained from the store. Compare the expected properties for each API, then add or update tests that demonstrate separate decimals and units per API; done means the mixin returns the correct chain-specific values.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.