The wallet configuration declares a chainId, but the ERC-4337 account never uses it to pin the signing context. _getChainId() reads eth_chainId from theconfigured provider, caches it, and returns it. _buildUserOperation() then signs the UserOperation against that provider-reported value. Because the configured chainId is never compared tothe provider's response, a provider that reports a chain ID other than the one the application configured causes the library to build and sign a UserOperationfor that other chain
The wallet configuration declares a chainId, but the ERC-4337 account never uses it to pin the signing context. _getChainId() reads eth_chainId from theconfigured provider, caches it, and returns it. _buildUserOperation() then signs the UserOperation against that provider-reported value. Because the configured chainId is never compared tothe provider's response, a provider that reports a chain ID other than the one the application configured causes the library to build and sign a UserOperationfor that other chain