[go: up one dir, main page]

DAL/Test: check the case attester not in the DAL committee

What

Adds a unit test similar is present in tezt/tests/dal.ml, test slots attestation operation dal committee membership check in lib_protocol/test.

Why

It was not possible to check specifically for the error Dal_data_availibility_attester_not_in_committee, because it is not raised in mempool mode, and the baker would not include the operation in a block. So the error only can be observed in Block_construction mode.

How

Adapt the parameters and add a new bootstrap account with a smaller balance than the other ones such that this new baker is in the TB committee but not in the DAL committee.

Manually testing the MR

CI sufficient.

Merge request reports

Loading