Skip to content
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

refactor: update collateral token to relay chain native token #318

Conversation

crypto-engineer
Copy link
Contributor

@crypto-engineer crypto-engineer commented Jun 2, 2022

I found that we were referring to a relay chain's native tokens like DOT or KSM as collateral token. I think it's not correct. In the past, the relay chain's native token was the only collateral but now we are supporting multi-collaterals including KINT and USDC and more will be added. So I think we should update names accordingly.

This PR does not include any logical changes but just renaming. So I'd say it's safe to merge this PR without having a look at every single line of change in detail.

@crypto-engineer crypto-engineer added the enhancement New feature or request label Jun 2, 2022
@crypto-engineer crypto-engineer self-assigned this Jun 2, 2022
@vercel
Copy link

vercel bot commented Jun 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
interbtc-ui-interlay ✅ Ready (Inspect) Visit Preview Jun 9, 2022 at 11:18AM (UTC)
interbtc-ui-kintsugi ✅ Ready (Inspect) Visit Preview Jun 9, 2022 at 11:18AM (UTC)
interbtc-ui-testnet ✅ Ready (Inspect) Visit Preview Jun 9, 2022 at 11:18AM (UTC)

@github-actions
Copy link

github-actions bot commented Jun 2, 2022

Running Lighthouse audit...

@tomjeatt
Copy link
Collaborator

tomjeatt commented Jun 6, 2022

Morning @crypto-engineer - this all sounds like it makes sense, but going to hold off approving until the KINT support PR is merged (not expecting any issues as that moves the vault collateral tokens to their own config, but don't want to risk any delay as that feature is already quite behind schedule!).

peterslany
peterslany previously approved these changes Jun 6, 2022
Copy link
Contributor

@peterslany peterslany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍 edit: just saw @tomjeatt's comment, so dismissed the review :)

@peterslany peterslany self-requested a review June 6, 2022 07:35
@peterslany peterslany dismissed their stale review June 6, 2022 07:38

hold off from approving according to @tomjeatt's comment

@tomjeatt
Copy link
Collaborator

tomjeatt commented Jun 6, 2022

Looks good to me 👍 edit: just saw @tomjeatt's comment, so dismissed the review :)

Hi Peter, sorry could have been clearer :) no problem approving, just wanted to hold off merging!

@crypto-engineer
Copy link
Contributor Author

@tomjeatt
Do you think it's ready for being merged?

@tomjeatt
Copy link
Collaborator

tomjeatt commented Jun 8, 2022

@tomjeatt Do you think it's ready for being merged?

@crypto-engineer not yet, no - there are almost certainly going to be some conflicts, so we need to get the vault status card branch merged first, and then merge this in afterwards. Will keep you posted :)

@crypto-engineer crypto-engineer merged commit b56ccc4 into interlay:master Jun 9, 2022
@crypto-engineer crypto-engineer deleted the refactor/relay-chain-token-vs-collateral-naming branch June 9, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants