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

See interchain balances [part 3] #1021

Merged
merged 2 commits into from
May 2, 2024
Merged

See interchain balances [part 3] #1021

merged 2 commits into from
May 2, 2024

Conversation

grod220
Copy link
Collaborator

@grod220 grod220 commented May 1, 2024

Allows us to see user balances of chains we have ibc connections to. This has been copied over and modified from the asset lists interchain ui example.

Next PR will then use the balances list to construct a form that allows for IBC'ing in.

compressed.mp4

@grod220 grod220 self-assigned this May 1, 2024
@@ -35,7 +35,7 @@
"@penumbra-zone/types": "workspace:*",
"@penumbra-zone/ui": "workspace:*",
"@penumbra-zone/wasm": "workspace:*",
"@tanstack/react-query": "^5.28.9",
"@tanstack/react-query": "4.36.1",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is somewhat sad. osmos-query is currently pinned on an old version. This means we need to downgrade until the team has updated theirs. We've flagged this with them and they are prioritizing it.


export const IbcInForm = () => {
const { ready } = useStore(ibcInSelector);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure what to do with this button yet. Next PR will address this.

@@ -13,7 +13,7 @@ export const IbcLayout = () => {
direction='right'
// Negative calculated margin giving lint issue
/* eslint-disable-next-line tailwindcss/enforces-negative-arbitrary-values */
className='invisible absolute -top-44 right-0 z-0 -mr-[calc(30vw-3px)] size-[30vw] text-stone-300 md:visible'
className='invisible absolute -top-32 right-0 z-0 -mr-80 size-80 text-stone-300 md:visible'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The resizing of these arrows are causing strange behaviors. Going to make them fixed sizes.

Copy link
Contributor

@Valentine1898 Valentine1898 left a comment

Choose a reason for hiding this comment

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

LGTM

@grod220 grod220 merged commit 499c0e5 into main May 2, 2024
6 checks passed
@grod220 grod220 deleted the interchain-part-3 branch May 2, 2024 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants