Closed q9f closed 1 year ago
I manually removed the coin type 2147483709
to set it back to an empty record 0x
and forced to set an 61
coin type record and now I see the following in the app.
2147483709
maps to ETC
61
maps to ETC_LEGACY
But where is this documented?
Hi. any EVM chains except ETH is using ENSIP11 https://docs.ens.domains/ens-improvement-proposals/ensip-11-evmchain-address-resolution . We still leave ETH to use ENSIP9 because it's set as a default Probably we should modify ENSIP11 to exclude ETH(60) as an exception
Thank you. ENSIP11 answers my question. 👍🏼
Describe the bug The ENS apps does not consistently use the coin type index. The
AddrResolver
contract uses the following coin type index for Ethereum as default:This is the coin type index as defined in SLIP-44.
However, if I use the ENS app to set a custom coin record, it uses the path component, not the coin type index.
To Reproduce Steps to reproduce the behavior:
If I set both ETH and ETC address records for my resolver using the ENS app, it stores the ETH record using the coin type index
60
but the ETC record using the path component0x8000003d
.Here's the transaction event log (last entry): https://etherscan.io/tx/0x32c1eedf6d99a5458cc3f81ccbfc0f463226f131d34ada06b2364880d1f96309#eventlog
Expected behavior EIP-2304 specifies to use the index not the path:
The app should default to
61
for ETC, and so on, using only the coin type index.Screenshots
I can't really tell which component introduces this. I checked the address encoder which uses the index correctly.