Skip to content

Commit

Permalink
Adjust proving rewards on higher num of update-batches
Browse files Browse the repository at this point in the history
  • Loading branch information
keyvank committed Jun 14, 2023
1 parent 189c025 commit 88aadd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bazuka"
version = "0.19.14"
version = "0.19.15"
authors = ["El Geuse <[email protected]>"]
edition = "2021"

Expand Down
6 changes: 3 additions & 3 deletions src/node/heartbeat/generate_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ pub async fn generate_block<K: KvStore, B: Blockchain<K>>(
.min_validator_reward(ctx.validator_wallet.get_address())?;

// TODO: Remove Hardcoded rewards
let deposit_reward = Amount(u64::from(validator_reward) / 10 * 1);
let withdraw_reward = Amount(u64::from(validator_reward) / 10 * 1);
let update_reward = Amount(u64::from(validator_reward) / 10 * 3);
let deposit_reward = Amount(u64::from(validator_reward) / 100 * 5);
let withdraw_reward = Amount(u64::from(validator_reward) / 100 * 5);
let update_reward = Amount(u64::from(validator_reward) / 100 * 15);

let deposit_nonce = ctx.blockchain.get_deposit_nonce(
ctx.validator_wallet.get_address(),
Expand Down

0 comments on commit 88aadd6

Please sign in to comment.