Closed ethanfrey closed 3 weeks ago
note to self:
let (median, slashable_operators, is_threshold_met) =
process_votes(&all_votes, total_power, &config)?;
for operator in slashable_operators {
note: this should only be if is_threshold_met is true (move it down a bit).
note to self:
let (median, slashable_operators, is_threshold_met) = process_votes(&all_votes, total_power, &config)?; for operator in slashable_operators {
note: this should only be if is_threshold_met is true (move it down a bit).
fixed in 4a2d89a80f72
We defined the contract here: https://github.com/Lay3rLabs/lay3r-contracts/issues/37
Let's copy this contract over here in this repo and adjust (contract or WASI components) as needed to ensure they use the same API
This should import any dependencies from https://github.com/Lay3rLabs/avs-toolkit and include good documention