Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there a reason for unregprod to leave the entry #170

Open
ericpassmore opened this issue Jan 22, 2025 · 0 comments
Open

is there a reason for unregprod to leave the entry #170

ericpassmore opened this issue Jan 22, 2025 · 0 comments

Comments

@ericpassmore
Copy link
Contributor

ericpassmore commented Jan 22, 2025

Transferred from AntelopeIO/reference-contracts#5 original author cc32d9

unregprod marks an entry in producer_info as inactive and erases the key, instead of deleting it.

As a result, the table only grows and consumes the memory without a need.

is anything preventing us from deleting the entry on unreg?

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

No branches or pull requests

1 participant