Skip to content

Commit

Permalink
Split a long sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Cauderlier committed Jan 22, 2024
1 parent 5693330 commit 99b5a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/join-dal-baker/prepare-account.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To see the DAL attestation rights of all bakers, we can use the following RPC:
octez-client --endpoint "$ENDPOINT" rpc get /chains/main/blocks/head/context/dal/shards
```

This returns an array of DAL attestation rights indicating for each active baker the slice of shard indices it is expected to attest in the head block where a slice is given by a pair consisting of the first index and the length of the slice. So to check if some rights were assigned to us we can look for the address of our baker in the result of this RPC:
This command returns an array of DAL attestation rights. The 2048 shards which are expected to be attested at this level are shared between active bakers proportionally to their stake. Each baker is assigned a slice of shard indices represented in the output of this command by a pair consisting of the first index and the length of the slice. So to check if some rights were assigned to us we can filter the array to our baker by running this command:

```
octez-client --endpoint "$ENDPOINT" rpc get /chains/main/blocks/head/context/dal/shards | grep "$MY_BAKER"
Expand Down

0 comments on commit 99b5a5a

Please sign in to comment.