Skip to content

crypto parameters and dependence on config params #3257

@algonautshant

Description

@algonautshant

In an effort to separate cryto package from config, the dependance of crypto on the consensus parameters is broken.
However, some dependance remains for testing purposes.
The task here is to move any tests that depend on the consensus params outside of the crypto package.
e.g. crypto/compactcert/builder_test.go

Moreover, hard-coded values in the crypto tests need to be replaced by the appropriate variables, whenever applicable.
e.g. TestConsensusCompactCertParams (see comments in #3181)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions