Skip to content

Commit

Permalink
Update TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Lacy committed Dec 11, 2024
1 parent eef9b83 commit dd6727b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions contracts/btc-finality/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ fn handle_begin_block(deps: &mut DepsMut, env: Env) -> Result<Response<BabylonMs
let max_active_fps = PARAMS.load(deps.storage)?.max_active_finality_providers as usize;
compute_active_finality_providers(deps, env, max_active_fps)?;

// TODO: Add events
Ok(Response::new())
}

Expand Down
2 changes: 0 additions & 2 deletions contracts/btc-finality/src/finality.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,6 @@ fn finalize_block(
// Set the next height to finalise as height+1
NEXT_HEIGHT.save(store, &(block.height + 1))?;

// TODO: Distribute rewards to BTC staking delegators

// Record the last finalized height metric
let ev = Event::new("finalize_block")
.add_attribute("module", "finality")
Expand Down

0 comments on commit dd6727b

Please sign in to comment.