Skip to content

Metamask stake stake#38

Closed
jpsains wants to merge 2 commits intomainfrom
metamask-stake-stake
Closed

Metamask stake stake#38
jpsains wants to merge 2 commits intomainfrom
metamask-stake-stake

Conversation

@jpsains
Copy link
Copy Markdown
Collaborator

@jpsains jpsains commented Apr 21, 2026

Note

Low Risk
Adds a new heuristic mapping entry and test fixtures; low blast radius, with the main risk being misclassification if the new address/topic overlaps other patterns.

Overview
Adds support for MetaMask pooled staking “stake” transactions to tx-categorize by recognizing the METAMASK_POOLED_STAKING contract address and a new staking-related topic hash, producing a new METAMASK_STAKE_STAKE categorization.

Updates tests to cover the new case: adds the tx hash and expected v5/v6 labels (v6: Staked 0.0001 ETH) and introduces a new nock fixture for the primitives API response for that transaction.

Reviewed by Cursor Bugbot for commit b2d0304. Bugbot is set up for automated code reviews on this repo. Configure here.

@jpsains jpsains requested a review from a team as a code owner April 21, 2026 14:41
@jpsains jpsains closed this Apr 21, 2026
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