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

Fixes & chain improvements #98

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Fixes & chain improvements #98

wants to merge 9 commits into from

Conversation

archseer
Copy link
Contributor

@archseer archseer commented Dec 11, 2024

  • Adds missing onchainSigningStrategy to workflows
  • Fixes chains and nodes UI to support non-EVM networks
  • Supports non-EVM keys in the key management UI

@archseer archseer force-pushed the fixes branch 3 times, most recently from 96b6fde to b3f1b8b Compare December 17, 2024 05:33
@archseer archseer force-pushed the fixes branch 2 times, most recently from 45f9131 to 3da7d53 Compare December 18, 2024 05:09
@archseer archseer marked this pull request as ready for review December 18, 2024 05:31
src/pages/Chains/RegionalNav.tsx Show resolved Hide resolved
src/pages/Chains/RegionalNav.tsx Outdated Show resolved Hide resolved
import { NonEVMKeysCard } from './NonEVMKeysCard'
import { useNonEvmAccountsQuery } from 'src/hooks/queries/useNonEvmAccountsQuery'

const SCHEMAS = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm this seems weird, does graphql not provide the typings?

I guess you have to do the backend change first.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can fields also have doc metadata in graphql? If I can get the key name and field names through metadata then that would be great since new tables could be added with core only changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

ah i see what you are trying to do, trying to build a dynamic table, okay this make sense!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh cool, looks like I can use annotations: https://stackoverflow.com/questions/39962867/how-do-i-add-a-description-to-a-field-in-graphql-schema-language

hmm never done it before, let me know what you find haha

},
solanaKeys: {
title: 'Solana',
fields: [{ label: 'Public Key', key: 'id', copy: true }],
Copy link
Collaborator

@graham-chainlink graham-chainlink Dec 18, 2024

Choose a reason for hiding this comment

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

since each key always have { label: 'Public Key', key: 'id', copy: true }, i wonder if we always have it in the table instead, so we dont have to specify this for every new chain key?

@graham-chainlink
Copy link
Collaborator

Look good overall from what i can see, however i never really worked on other areas except the chain config page

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
9 New Major Issues (required ≤ 5)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants