Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

feature: make Kakarot chainID less or equal than 4 bytes for compatibility with Ledger Live "clear signing" flow #1530

Closed
@Eikix

Description

To comply with Ledger Live Clear Signing, max chainID is not MAX_SAFE_CHAIN_ID as we today have but rather 4 bytes.

Impact of having >4bytes chainID (told by Ledger Team):

you'd be able to sign your transactions just fine, but providing metadata to the device for like decoding the calldata and displaying informations using things like tickers, decimals etc, all of that is signed by ledger, and the whole signature scheme assumed that a chainId is max 4 bytes

Documentation of the Ethereum app here: https://github.com/LedgerHQ/app-ethereum/blob/develop/doc/ethapp.adoc
ERC20 example:
telegram-cloud-document-4-5823548536058287400

Context: ChainIDs ~20 networks today are higher than 4B, out of like the ~2000 you can find on chainlist

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions