Open
Description
The function #getCorrectChainId currently falls back to the currently selected network and initializes the private property #chainId. This implicit behavior can lead to inconsistencies and unexpected results, especially in multi-network contexts.
🎯 Goal
- Remove the use of the private property
#chainId
- Refactor all functions that rely on
#chainId
to explicitly require achainId
ornetworkClientId
parameter