Skip to content

Commit a96b68d

Browse files
author
Matthias Zimmermann
committed
feat: switch to brotli compression
1 parent 1671fd0 commit a96b68d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/arkiv/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import logging
66
from typing import Any
77

8+
import brotli # type: ignore[import-untyped]
89
import rlp # type: ignore[import-untyped]
9-
import zstd # type: ignore[import-untyped]
1010
from eth_typing import BlockNumber, ChecksumAddress, HexStr
1111
from hexbytes import HexBytes
1212
from web3 import Web3
@@ -195,7 +195,7 @@ def to_tx_params(
195195

196196
# Merge provided tx_params with encoded transaction data
197197
data = rlp_encode_transaction(operations)
198-
data_compressed = zstd.compress(data)
198+
data_compressed = brotli.compress(data)
199199

200200
tx_params |= {
201201
"to": STORAGE_ADDRESS,

0 commit comments

Comments
 (0)