Skip to content

Runtime quote verification should use defaults from the consensus params #6459

@martintomazic

Description

@martintomazic

Validation on the runtime side is not symmetric due to ignoring defaults from the consensus parameters applied on the consensus side. Currently, TEEFeaturesSGX.DefaultPolicy is set to nil so this is harmless for now.

Do we even see this params getting used anytime in the future or should we deprecate?

For the sake of consistency, there is another hardcoded policy that I don't see nowhere in the runtime code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions