MetaMask / core

This monorepo is a collection of packages used across multiple MetaMask clients
MIT License
293 stars 188 forks source link

Jl/caip multichain/add eip155 reference regex #4843

Closed jiexi closed 3 days ago

jiexi commented 1 month ago

Explanation

Fixes bug where 0 prefixed and e exponent suffixed eip155 references were allowed. This PR adds eip155 reference validation against regex.

I'm unsure if this belongs in validation checks, or the supported checks. Validation checks currently do not check for ecosystem specific constraints

References

Changelog

@metamask/package-a

@metamask/package-b

Checklist

jiexi commented 3 days ago

close in favor of https://github.com/MetaMask/core/pull/4945