-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump registry #1367
bump registry #1367
Conversation
|
fetchStakingTokenId(): AssetId { | ||
const registryClient = new ChainRegistryClient(); | ||
const registry = registryClient.get(this.chainId); | ||
const stakingToken = registry.stakingAssetId; | ||
|
||
return stakingToken; | ||
return this.stakingTokenAssetId; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably fetch
is the wrong name for this. Why don't we just make this a public variable so folks can grab it from the instance: https://github.com/penumbra-zone/web/pull/1367/files#diff-8298d111bc94531ec943d5f024a9ab57657ad28670caea51e3aa9eda88bf3954R83
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, if this is done, we should make storage a major version bump given we change the API in a breaking way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@grod220 will you be able to publish packages to npm?
related to prax-wallet/prax#66