Skip to content

Commit

Permalink
feat(avail-da): clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5ea000000 committed Jul 9, 2024
1 parent bd2c0af commit e71ed72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/da-clients/avail/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ pub fn try_create_avail_client(rpc_url: &str) -> eyre::Result<AvailClient> {
}

pub fn get_bytes_from_state_diff(state_diff: Vec<Vec<u8>>) -> Vec<u8> {
// TODO: This is a dummy implementation. We need to implement a proper way to convert state diff to bytes.
state_diff.into_iter().flatten().collect()
}

Expand Down

0 comments on commit e71ed72

Please sign in to comment.