Skip to content

refactor: remove DREP and STAKE deposit constants from codebase#225

Merged
QSchlegel merged 1 commit intomainfrom
fix/deposit-bug
Apr 20, 2026
Merged

refactor: remove DREP and STAKE deposit constants from codebase#225
QSchlegel merged 1 commit intomainfrom
fix/deposit-bug

Conversation

@Andre-Diamond
Copy link
Copy Markdown
Collaborator

Eliminated unused deposit constants from protocol-deposit-constants.ts and related files. Updated transaction handling to remove references to DREP_DEPOSIT_STRING and STAKE_KEY_DEPOSIT, simplifying the transaction logic in offchain.ts, retire.tsx, stake.tsx, and useTransaction.ts. This change removes a bug and enhances code clarity and reduces unnecessary complexity.

Eliminated unused deposit constants from protocol-deposit-constants.ts and related files. Updated transaction handling to remove references to DREP_DEPOSIT_STRING and STAKE_KEY_DEPOSIT, simplifying the transaction logic in offchain.ts, retire.tsx, stake.tsx, and useTransaction.ts. This change enhances code clarity and reduces unnecessary complexity.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
multisig Ready Ready Preview, Comment Apr 16, 2026 6:10am

Request Review

@QSchlegel QSchlegel merged commit 4ae3d10 into main Apr 20, 2026
5 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.

2 participants