Adaptive DAL, Phase 6: Test the use of Adaptive DAL in Etherlink
Can be tested with
$ make && make -f etherlink.mk EVM_KERNEL_FEATURES=debug evm_kernel.wasm && dune build tezt/ && _build/default/tezt/tests/main.exe --title 'Alpha: Sequencer publishes entire blueprints on more than one slot to the DAL (sequencer, latest, with dal)' --verbose
Contrary to when the test is run without Adaptive DAL, you should now observe traces like:
[12:30:16.883] [sc-rollup-node1] ### Page:(?, ?), attestation_threshold_per_mil:210
[12:30:16.884] [sc-rollup-node1] #### Adaptive DAL Slot published and sufficiently attested. Threshold:21/100, Current:1
[12:30:16.884] [sc-rollup-node1] ### Page:(?, ?), attestation_threshold_per_mil:210
[12:30:16.885] [sc-rollup-node1] #### Adaptive DAL Slot published and sufficiently attested. Threshold:21/100, Current:1
Modifying the value of
const ADAL_ATTESTATION_THRESHOLD_PER_MIL: Option<i16> = Some(210);
into, e.g. 1001 (which means that we requests more than 100% of attestation threshold, which it impossible), makes the test fail as expected ...