registered method name still shown as Contract Interaction

Open
#28 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
blockchain

Research direction

Start with the MM documentation on registering function names and the Parity method registry on Ethereum mainnet. Reproduce the reported behavior for makeOffer(uint256), placeBid, and buyToken, then trace how the library resolves their four-byte signatures and determine whether the registry data or MetaMask display behavior is responsible.

Written by the indexing model from the issue text.

Description

team-wallet-framework wf-bugs

Hi, I have followed the instruction in the MM docs about registering the contract's methods name on Parity's registry on Ethereum mainnet. However, it doesn't seem to work.
To give you an example I have registered "makeOffer(uint256)" which should have "0x9a2f6474" as hex and when I check it from the register it works fine but when I interact with my contract, MM still shows "contract interaction".
This is not the only confusing part. For some other functions such as above placeBid or buyToken, from time to time MM shows "PlaceBid" or "BuyToken" and they are not even registered(I have checked the hex signature).
Is the docs/contract address out of date or is there some bugs in the current version of Metamask?
Thanks.

Dominant language
JavaScript
Stars
22
Forks
14
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MetaMask/eth-method-registry

All issues in MetaMask/eth-method-registry

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.