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

Remove unused stakeNeuronIcrc1 #742

Merged
merged 4 commits into from
Oct 30, 2024
Merged

Remove unused stakeNeuronIcrc1 #742

merged 4 commits into from
Oct 30, 2024

Conversation

dskloetd
Copy link
Collaborator

Motivation

stakeNeuronIcrc1 was originally added because transferring with ICRC-1 avoids having to calculate the subaccount identifier using a 3rd party hashing libaray.

Unfortunately, ICRC-1 memos are not compatible with ICP ledger memos so we ended up never using this function.

Ideally we would implement ICRC-2 in the governance canister and use that. But that hasn't happened yet.

Changes

Remove unused stakeNeuronIcrc1 function.

Tests

Removed.

Todos

  • Add entry to changelog (if necessary).

@dskloetd dskloetd marked this pull request as ready for review October 30, 2024 09:42
@dskloetd dskloetd requested review from a team as code owners October 30, 2024 09:42
@dskloetd dskloetd enabled auto-merge (squash) October 30, 2024 09:42
Copy link
Contributor

github-actions bot commented Oct 30, 2024

size-limit report 📦

Path Size
@dfinity/ckbtc 8.02 KB (0%)
@dfinity/cketh 3.57 KB (0%)
@dfinity/cmc 1.4 KB (0%)
@dfinity/ledger-icrc 4.17 KB (0%)
@dfinity/ledger-icp 15.43 KB (0%)
@dfinity/nns 36.18 KB (-0.24% 🔽)
@dfinity/nns-proto 140.98 KB (0%)
@dfinity/sns 16.19 KB (0%)
@dfinity/utils 4.64 KB (0%)
@dfinity/ic-management 3.01 KB (0%)

@dskloetd dskloetd merged commit 8ac4af7 into main Oct 30, 2024
11 checks passed
@dskloetd dskloetd deleted the kloet/rm-icrc1-stake branch October 30, 2024 10:17
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