Skip to content

Make Network.chainId private

Context

We use extensively the chainId to filter tokens on the current network. However Networks can be defined by their name, their chainId, etc, and it can be hard to track which should be used. This MR makes chainId a private type, which allows to differentiate it from network name.

The MR is currently targeting !768 (merged) on purpose.

Merge request reports