'Why am I able to send kovan txns without specifying a chainId?

Wondering why I'm able to send Kovan txns with a sample txn like this:

tx = {
    'nonce': nonce,
    'to':  account_2,
    'value': web3.toWei(0.001, 'ether'),
    'gas': 200000,
    'gasPrice': web3.toWei('4', 'gwei'),
}

And I'm able to sign and send the txn on the kovan testnet. I thought you had to specify a chainId = 42 in the txn?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source