Skip to content

fix: DEVOPS-371 correct staking FAQ inaccuracies#210

Merged
frankmeds merged 1 commit into
mainfrom
fix/faq-accuracy
Jun 8, 2026
Merged

fix: DEVOPS-371 correct staking FAQ inaccuracies#210
frankmeds merged 1 commit into
mainfrom
fix/faq-accuracy

Conversation

@frankmeds

Copy link
Copy Markdown
Contributor

What

Audited all 10 entries in the staking FAQ (src/components/faqModal.tsx) and corrected the inaccurate ones. Each claim was verified against on-chain getters / the official blog, not the frontend constants (several of which are stale snapshots or display-only values).

Changes

FAQ Before After Source of truth
Minimum balance "minimum required balance is 100 ZIL" "minimum to delegate is 100 ZIL per transaction" + partial-unstake caveat on-chain getMinDelegation() gates the deposit, not the standing balance (a 50 ZIL position exists in r3to post partial-unstake)
Wallets ZilPay, MetaMask, Rabby, Ledger Bearby Wallet + all 8 connectors chainConfig.ts configures 8 wallets; ZilPay rebranded to Bearby
Unstaking time 1,209,600 blocks ≈ 14 days 461,680 blocks ≈ 6 days (~5.3 @ 1s) on-chain deposit withdrawalPeriod() + live block timing
Gas troubleshooting 200,000 gas / 400 ZIL 200,000 gas / 450 ZIL official blog. The 0x1e8480n (2,000,000) constant is a UI fee-display value (getGasCostInZil), not a tx gas limit
Tutorial link …/how-to-restake-… (HTTP 404) …/how-to-stake-… (HTTP 200) verified live

Unchanged because verified accurate: reward cycle, contact, "why can't I unstake", liquid vs non-liquid, redelegation.

Notes

  • Strings only, no logic/rendering/schema changes. ESLint + Prettier clean.
  • Follow-up (not in this PR): the UI's unbonding display is hardcoded oneWeekInMinutes (7 days) and never reads withdrawalPeriod(), so the in-app figure is ~1 day off; worth sourcing from chain separately.

Verified each FAQ entry against on-chain getters and the official blog
instead of stale frontend constants:

- Minimum delegation: reword to clarify 100 ZIL is the per-deposit
  minimum (getMinDelegation), not a balance floor (positions can be
  lower after a partial unstake)
- Wallets: list all 8 supported connectors; rename ZilPay to Bearby
  Wallet (rebrand)
- Unstaking time: 461,680 blocks (~6 days) from on-chain
  withdrawalPeriod, replacing the wrong 1,209,600 blocks / 14 days
- Gas troubleshooting: keep the 200,000 gas limit (the 2,000,000
  constant is a UI fee-display value, not a tx gas limit); align the
  buffer to 450 ZIL per the official blog
- Tutorial link: fix 404 (how-to-restake -> how-to-stake)
@frankmeds frankmeds changed the title fix: correct staking FAQ inaccuracies fix: DEVOPS-371 correct staking FAQ inaccuracies Jun 8, 2026
@frankmeds frankmeds merged commit a6cc334 into main Jun 8, 2026
3 checks passed
@frankmeds frankmeds deleted the fix/faq-accuracy branch June 8, 2026 14:18
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