Skip to content

refactor: remove unused DataKey enum from types.rs#421

Open
Fatimasanusi wants to merge 1 commit into
HubDApp:mainfrom
Fatimasanusi:fix/321-remove-unused-datakey
Open

refactor: remove unused DataKey enum from types.rs#421
Fatimasanusi wants to merge 1 commit into
HubDApp:mainfrom
Fatimasanusi:fix/321-remove-unused-datakey

Conversation

@Fatimasanusi

Copy link
Copy Markdown

Description

This PR removes the DataKey enum from dongle-smartcontract/src/types.rs, which was identified as unused dead code.

The DataKey enum duplicated the purpose of the StorageKey and ExtensionKey implementations found in storage_keys.rs and appeared to be an abandoned earlier design. We've verified that there are zero references to it anywhere in the crate (including tests), making it perfectly safe to remove.

Changes Made

  • Deleted the unused DataKey enum from src/types.rs.

Related Issues

Closes #321

Type of Change

  • 🧹 Chore / Refactor (Dead code removal)

@drips-wave

drips-wave Bot commented Jul 25, 2026

Copy link
Copy Markdown

@Fatimasanusi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

types.rs: DataKey enum is entirely unused dead code

2 participants