Closed
Description
Integration tests still pass if there are missing return fields in the JSON-RPC method structs in types
.
e.g. types/src/v17/network/mod.rs:65
getnettotals
, all the fields can be deleted and the test still passes:
#[test]
fn network__get_net_totals() {
let node = Node::with_wallet(Wallet::None, &[]);
let _: GetNetTotals = node.client.get_net_totals().expect("getnettotals");
}
NB. if there is an extra field or incorrectly named field the test does fail.
Metadata
Metadata
Assignees
Labels
No labels