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

feat: fetch remote proposals #3169

Closed

Conversation

therealemjy
Copy link
Member

Jira ticket(s)

VEN-XXX

Changes

Copy link

changeset-bot bot commented Aug 30, 2024

🦋 Changeset detected

Latest commit: 6a06eca

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@venusprotocol/evm Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Aug 30, 2024

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

Name Status Preview Comments Updated (UTC)
app-alt.venus.io ❌ Failed (Inspect) Oct 4, 2024 8:30am
dapp-preview ❌ Failed (Inspect) Oct 4, 2024 8:30am
dapp-testnet ❌ Failed (Inspect) Oct 4, 2024 8:30am
landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 8:30am
mainnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 8:30am
preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 8:30am
testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 8:30am
venus.io ✅ Ready (Inspect) Visit Preview Oct 4, 2024 8:30am

Copy link
Contributor

github-actions bot commented Aug 30, 2024

Coverage Report for ./apps/evm

Status Category Percentage Covered / Total
🔵 Lines 79% 47811 / 60513
🔵 Statements 79% 47811 / 60513
🔵 Functions 70.45% 844 / 1198
🔵 Branches 82.87% 3877 / 4678
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
apps/evm/src/clients/api/mutations/vote/useCastVote.ts 0% 0% 0% 0% 1-75
apps/evm/src/clients/api/mutations/vote/useCastVoteWithReason.ts 0% 0% 0% 0% 1-66
apps/evm/src/clients/api/queries/getProposal/index.ts 100% 100% 100% 100%
apps/evm/src/clients/api/queries/getProposal/useGetProposal.ts 0% 0% 0% 0% 1-86
apps/evm/src/clients/api/queries/getProposals/index.ts 100% 76.47% 100% 100%
apps/evm/src/clients/api/queries/getProposals/useGetProposals.ts 0% 0% 0% 0% 1-96
apps/evm/src/clients/api/queries/getVoterHistory/formatToProposal.ts 92.37% 18.75% 100% 92.37% 57-60, 77-79, 89, 95
apps/evm/src/clients/subgraph/index.ts 100% 100% 100% 100%
apps/evm/src/clients/subgraph/queries/governanceNonBsc/getNonBscProposals/index.ts 77.27% 66.66% 100% 77.27% 17-21
apps/evm/src/clients/subgraph/utilities/enrichRemoteProposals/index.ts 100% 100% 100% 100%
apps/evm/src/clients/subgraph/utilities/formatToProposal/index.ts 93.24% 36.11% 100% 93.24% 95-100, 103-104, 142-144, 161, 180, 183, 186, 212
apps/evm/src/clients/subgraph/utilities/formatToProposal/formatToRemoteProposal/index.ts 97.36% 96.87% 100% 97.36% 49-51
apps/evm/src/clients/subgraph/utilities/formatToProposal/formatToRemoteProposal/getRemoteProposalState/index.ts 100% 100% 100% 100%
apps/evm/src/constants/chainMetadata.ts 100% 100% 100% 100%
apps/evm/src/hooks/useIsFeatureEnabled/index.tsx 100% 100% 100% 100%
apps/evm/src/pages/Governance/ProposalList/GovernanceProposal/index.tsx 96.49% 64.51% 100% 96.49% 117-119, 151, 153, 155, 174, 180, 196
apps/evm/src/pages/Proposal/index.tsx 96.96% 96.29% 87.5% 96.96% 51-56
apps/evm/src/pages/Proposal/Commands/index.tsx 96.15% 85.71% 100% 96.15% 24-25
apps/evm/src/pages/Proposal/Commands/Command/index.tsx 98.83% 88.88% 50% 98.83% 44, 59
apps/evm/src/pages/Proposal/Commands/Command/useCommand.tsx 100% 100% 100% 100%
apps/evm/src/pages/Proposal/Commands/Command/Cta/index.tsx 94.44% 60% 66.66% 94.44% 53-54, 63-64
apps/evm/src/pages/Proposal/Commands/Command/StepInfo/index.tsx 92.95% 90.9% 100% 92.95% 59-60, 77-80, 99-102
apps/evm/src/pages/Proposal/Commands/Progress/index.tsx 95.34% 25% 100% 95.34% 23, 28
apps/evm/src/pages/Proposal/ProposalSummary/index.tsx 92.11% 69.23% 100% 92.11% 93-94, 101-102, 109-110, 133-134, 164-165, 171-177, 189-195, 206
apps/evm/src/pages/Proposal/ProposalSummary/Stepper/index.tsx 96.21% 80.48% 100% 96.21% 35, 38, 83-84, 94-95, 116
apps/evm/src/types/index.ts 100% 100% 100% 100%
apps/evm/src/utilities/getProposalState/index.ts 100% 100% 100% 100%
Generated in workflow #9100 for commit 3fc975c by the Vitest Coverage Report Action

@therealemjy therealemjy force-pushed the feat/subgraph-remote-proposals branch from 6b7b84c to 575c2ca Compare October 3, 2024 16:13
@therealemjy therealemjy force-pushed the feat/subgraph-remote-proposals branch from 575c2ca to 89a4d96 Compare October 3, 2024 17:21
@therealemjy therealemjy force-pushed the feat/subgraph-remote-proposals branch from 89a4d96 to 3fc975c Compare October 4, 2024 07:57
@vercel vercel bot temporarily deployed to Preview – venus.io October 4, 2024 07:58 Inactive
@vercel vercel bot temporarily deployed to Preview – dapp-preview October 4, 2024 07:59 Inactive
@vercel vercel bot temporarily deployed to Preview – app-alt.venus.io October 4, 2024 08:03 Inactive
@therealemjy therealemjy force-pushed the feat/subgraph-remote-proposals branch from 3fc975c to bba3063 Compare October 4, 2024 08:22
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.

1 participant