Skip to content

Commit

Permalink
add redelgate batch
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Oct 22, 2024
1 parent 87ee970 commit 494b7e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gen/step.rs
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,6 @@ impl TaskType {

let bond = state.random_bond();
let account = state.get_account_from_alias(&bond.source);
let bond_amount = bond.amount;

let gas_payer = state
.random_implicit_account_with_at_least_native_token_balance(MIN_FEE * 6)
Expand All @@ -865,7 +864,7 @@ impl TaskType {
.sources(vec![bond.source; total_batched_txs as usize])
.source_validators(vec![bond.step_id; total_batched_txs as usize])
.amounts(vec![
bond_amount / 2 / total_batched_txs;
1;
total_batched_txs as usize
])
.tx_settings(tx_settings)
Expand Down

0 comments on commit 494b7e4

Please sign in to comment.