Skip to content

No check that oracle validator set size >= minimum before median calculation #319

Description

@Junman140

acbu_oracle/src/lib.rs: update_rate computes the median of the current epoch's submissions. If only 1 validator submits (others offline), the "median" is a single potentially malicious rate with no safety net.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programhigh

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions