Skip to content

Conversation

@aamirpashaa
Copy link
Collaborator

This pull request introduces support for displaying and calculating the "self staked boost" for block producers in the validator data table. The main changes involve updating the producer data model, fetching and computing the new value, and updating the UI to display it when applicable.

Enhancements to Producer Data Model and Fetching:

  • Added a new self_staked_boost field to the Producer interface in src/types/Producers.ts to store the boost value.
  • Modified the producer data fetching logic in src/stores/chain.ts to:
    • Query the voters table for each producer.
    • Calculate the self_staked_boost based on self_stake_boost and last_vote_weight if applicable.
    • Attach the computed self_staked_boost to each producer object.
  • Added import for Name from @wharfkit/session to support querying with the correct type.

User Interface Improvements:

  • Updated src/components/validators/ValidatorDataTable.vue to display a "Boosted" chip with the formatted boost amount under the total votes column when self_staked_boost is greater than zero.
Screenshot 2025-08-15 180639

@aamirpashaa aamirpashaa requested a review from poplexity August 20, 2025 22:40
@netlify
Copy link

netlify bot commented Aug 20, 2025

Deploy Preview for obe-staging ready!

Name Link
🔨 Latest commit 5732ce7
🔍 Latest deploy log https://app.netlify.com/projects/obe-staging/deploys/68a64ee06b4cbd0008e953da
😎 Deploy Preview https://deploy-preview-883--obe-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Aug 20, 2025

Deploy Preview for obe-testnet ready!

Name Link
🔨 Latest commit 890dd9d
🔍 Latest deploy log https://app.netlify.com/projects/obe-testnet/deploys/68a651f234cba1000860e00b
😎 Deploy Preview https://deploy-preview-883--obe-testnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@aamirpashaa aamirpashaa changed the base branch from develop to master August 20, 2025 22:48
@netlify
Copy link

netlify bot commented Aug 20, 2025

Deploy Preview for open-block-explorer ready!

Name Link
🔨 Latest commit 890dd9d
🔍 Latest deploy log https://app.netlify.com/projects/open-block-explorer/deploys/68a651f26041bb000898d72a
😎 Deploy Preview https://deploy-preview-883--open-block-explorer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@aamirpashaa aamirpashaa changed the base branch from master to develop August 20, 2025 22:53
@cloudflare-workers-and-pages
Copy link

Deploying open-block-explorer with  Cloudflare Pages  Cloudflare Pages

Latest commit: 890dd9d
Status: ✅  Deploy successful!
Preview URL: https://a758ab6b.open-block-explorer.pages.dev
Branch Preview URL: https://self-stake-boost.open-block-explorer.pages.dev

View logs

@poplexity poplexity requested a review from jbuice September 18, 2025 17:06
@jbuice jbuice merged commit a418d38 into develop Oct 10, 2025
10 checks passed
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.

4 participants