hyperledger / besu-native

Apache License 2.0
12 stars 34 forks source link

feat: add simple wrapper over compress lib used in linea #147

Closed gbotrel closed 4 months ago

gbotrel commented 5 months ago

Mostly copy pasted code for the gnark build path.

TODO: the compress lib needs to load a dictionary at init time. I added the file "compressor_dict.bin" in this PR, but am not familiar with how to properly manage this resource (in the java project sense).

edit: CompressedSize is now threadsafe.

Licences introduced by this PR:

macfarla commented 5 months ago

@gbotrel to fix DCO (adding a signoff to all commits) you can follow the instructions here https://github.com/hyperledger/besu-native/pull/147/checks?check_run_id=21334481098

macfarla commented 4 months ago

closing this PR since it's not used directly in besu - this additional code is added instead to besu linea plugins repo https://github.com/Consensys/besu-sequencer-plugins/pull/604