From bd2c0afa015194f7ef01a58bd7eaf260f9fac033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86gir?= <0x5ea000000@gmail.com> Date: Tue, 9 Jul 2024 16:12:31 +0700 Subject: [PATCH] feat(avail-da): add temporary blob limit --- crates/da-clients/avail/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/da-clients/avail/src/lib.rs b/crates/da-clients/avail/src/lib.rs index 2264326e..ffff4b34 100644 --- a/crates/da-clients/avail/src/lib.rs +++ b/crates/da-clients/avail/src/lib.rs @@ -92,11 +92,13 @@ impl DaClient for AvailDaClient { } async fn max_blob_per_txn(&self) -> u64 { - todo!() + // TODO: Avail is not limited by the number of blobs per transaction. + 6 } async fn max_bytes_per_blob(&self) -> u64 { - todo!() + // TODO: Avail is not limited max bytes per blob. I got this number from Zksync hyperchain. + 512 * 1024 } }