deserialize_v2 function (test_framework) should be able to deseriablize all networks presented in BIP155 (e.g. onion, ipv6, etc), however, it only works for ipv4 and i2p. I noticed that when I was using message-capture-parser and realized that most addrv2 messages weren't able to be deserialized.