Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
4meta5 committed Oct 11, 2024
1 parent bf9bc8e commit 496bd60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/tasks/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn create_simple_task<T: Config + pallet_shards::Config>() {
1,
);
ShardState::<T>::insert(shard_id, ShardStatus::Online);
ShardCommitment::<T>::insert(shard_id, vec![PUBKEY]);
ShardCommitment::<T>::insert(shard_id, Commitment::truncate_from(vec![PUBKEY]));
Pallet::<T>::shard_online(shard_id, ETHEREUM);
Pallet::<T>::create_task(ETHEREUM, Task::ReadGatewayEvents { blocks: 0..10 });
}
Expand Down

0 comments on commit 496bd60

Please sign in to comment.