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

FOLLOW-244: Stop inserting into AccountsStore.neuron_accounts #5736

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

dskloetd
Copy link
Contributor

@dskloetd dskloetd commented Nov 6, 2024

Motivation

AccountsStore.neuron_accounts was only used to detect if a transaction is a neuron top-up transaction.
Now that the nns-dapp canister no longer does neuron refreshing for neuron top-ups, we no longer need to add new neurons to neuron_accounts.

This is one or multiple PRs to eventually remove the neuron_accounts field entirely.

Changes

Remove the code that adds new entries to AccountsStore.neuron_accounts.

Tests

Existing tests still pass so apparently this functionality wasn't tested.

Todos

  • Add entry to changelog (if necessary).
    not necessary

@dskloetd dskloetd marked this pull request as ready for review November 6, 2024 18:59
@dskloetd dskloetd requested a review from a team as a code owner November 6, 2024 18:59
@dskloetd dskloetd enabled auto-merge November 6, 2024 20:14
@dskloetd dskloetd added this pull request to the merge queue Nov 7, 2024
Merged via the queue into main with commit 73caf9c Nov 7, 2024
30 checks passed
@dskloetd dskloetd deleted the kloet/no-add-neuron-accounts branch November 7, 2024 08:22
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