message: fix(test): skip rpc test params generation
diff: @@ -399,12 +399,8 @@ fn params_of(shared: &Shared, method: &str) -> Value {
  "get_tip_block_number"
  | "get_tip_header"
  | "get_current_epoch"
  - | "local_node_info"
  - | "get_peers"
  - | "get_banned_addresses"
  | "get_blockchain_info"
  | "tx_pool_info"
  - | "get_peers_state"
  | "get_lock_hash_index_states" => vec![],
  "get_epoch_by_number" => vec![json!("0x0")],
  "get_block_hash" | "get_block_by_number" | "get_header_by_number" => {
  @@ -439,8 +435,6 @@ fn params_of(shared: &Shared, method: &str) -> Value {
  vec![json!(json_script)]
  }
  "estimate_fee_rate" => vec![json!("0xa")],
  - "calculate_dao_maximum_withdraw" => vec![json!(always_success_out_point), json!(tip_hash)],
  - "get_block_template" => vec![json!(null), json!(null), json!(null)],
  "submit_block" => {
  let json_block: JsonBlock = tip.data().into();
  vec![json!("example"), json!(json_block)]
  @@ -514,11 +508,13 @@ fn test_rpc() {
  .as_str()
  .unwrap()
  .to_string();
  - actual.push((
  - method.clone(),
  - case.get("params").expect("get params").clone(),
  - ));
  + let params = case.get("params").expect("get params");
  + actual.push((method.clone(), params.clone()));
  + if case.get("skip").unwrap_or(&json!(false)).as_bool().unwrap() {
  + expected.push((method.clone(), params.clone()));
  + } else {
  expected.push((method.clone(), params_of(&shared, &method)));
  + }
  });
  if actual != expected {
  print_document(Some(&expected), None);
  