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

Add kvstore to Staking dashboard #3036

Merged
merged 10 commits into from
Jan 27, 2025
Merged

Add kvstore to Staking dashboard #3036

merged 10 commits into from
Jan 27, 2025

Conversation

flopez7
Copy link
Contributor

@flopez7 flopez7 commented Jan 22, 2025

Issue tracking

#2973

Context behind the change

  • Added new hook for getting data from subgraph and update it onchain
  • Added a table for showing KVStore data
  • Added modal for editing KVStore data

How has this been tested?

Launched locally

Release plan

Deploy Dashboard server
Deploy Staking Dashboard

Potential risks; What to monitor; None

@flopez7 flopez7 self-assigned this Jan 22, 2025
Copy link

vercel bot commented Jan 22, 2025

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

Name Status Preview Comments Updated (UTC)
human-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 2:38pm
human-dashboard-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 2:38pm
staking-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 2:38pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
faucet-frontend ⬜️ Ignored (Inspect) Visit Preview Jan 27, 2025 2:38pm
faucet-server ⬜️ Ignored (Inspect) Visit Preview Jan 27, 2025 2:38pm

@portuu3
Copy link
Collaborator

portuu3 commented Jan 22, 2025

Test for dashboard server method
Check chainId in KVStore methods
Make sure there's no empty keys on set/setup requests
@flopez7
Copy link
Contributor Author

flopez7 commented Jan 23, 2025

Solved @portuu3

Modify hooks to remove invalid chain error when wallet is not connected
Remove / from VITE_APP_DASHBOARD_API_URL
@portuu3
Copy link
Collaborator

portuu3 commented Jan 27, 2025

It keeps setting the same value it has to all keys when the you update only one (in this case I updated url)
https://amoy.polygonscan.com/tx/0x2c9c6684f33ea1996a3714df5168b8646a9c0b55ea7ca84ef94beb5db9c92a83#eventlog

@portuu3
Copy link
Collaborator

portuu3 commented Jan 27, 2025

public_key_hash should be one of the dropdown keys
image

@portuu3 portuu3 merged commit 9953bfa into develop Jan 27, 2025
23 checks passed
@portuu3 portuu3 deleted the feat/staking/kvstore branch January 27, 2025 15:18
@flopez7 flopez7 mentioned this pull request Jan 28, 2025
35 tasks
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