Skip to content

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

Open
Andre-Diamond wants to merge 1 commit intomainfrom
fix/deposit-bug
Open

refactor: remove DREP and STAKE deposit constants from codebase#225
Andre-Diamond wants to merge 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

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