Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

cttestsrv: Fix usage of deprecated Trillian protobuf fields #69

@cpu

Description

@cpu

GolangCI's "megacheck" linter found three deprecated fields to address in the cttestsrv:

  • signedLogRoot.TreeSize is deprecated: TreeSize moved to LogRoot.
  • signedLogRoot.TimestampNanos is deprecated: TimestampNanos moved to LogRoot.
  • signedLogRoot.RootHash is deprecated: RootHash moved to LogRoot.

I think fixing these will require unserializing the log_root []byte from the response and referencing the fields on that structure.

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