Skip to content

verify: Bug checking for type re-exports #602

Closed

Description

@tcharding

verify is supposed to use the snake case in Method::new_modelled to check that the type is re-exported. But in #598 (comment) it can be seen that I put a typo in the identifier but verify v31 still passes?

Can be verified by adding some rubbish to any type in v30 (to isolate it from the v31 changes).

Eg

    Method::new_modelled("getblocktemplate", "GetBlockTemplateTHIS_SHOULD_BE_FLAGGED_BY_VERIFY", "get_block_template"),

And cd verify; cargo run -- v30 runs cleanly.

Activity

  1. jamillambert commented on May 22, 2026

    @jamillambert
    Collaborator

    I can't reproduce the error in verify in v30, the example given above causes an error for me. The linked comment was also not a bug, the RPC is marked as TODO so isn't, and shouldn't be, checked by verify.

    Checking that the status claimed in the version specific rustdocs is correct ... 
    missing return type: getblocktemplate GetBlockTemplateTHIS_SHOULD_BE_FLAGGED_BY_VERIFY
    status verification failed (1 issue(s))
    Incorrect ✗ 
    
  2. tcharding commented on May 25, 2026

    @tcharding
    MemberAuthor

    ooooo, my bad. Thanks man.

    And also it was show from a CI run that it does actually work. #598 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions