ethereum / sourcify

Decentralized Solidity contract source code verification service
https://sourcify.dev
MIT License
781 stars 395 forks source link

Split the repository archive by match_type, chain and first byte. #1695

Open marcocastignoli opened 3 weeks ago

marcocastignoli commented 3 weeks ago

Let's implement what discussed in #1668

Revise the repository archive generation script to generate multiple zips with the format “match_type.chain.first_byte.zip” (e.g., “full_match.1.00.zip” will contain all mainnet full_match contracts with the address starting with 00).

The file system content of the archive must be identical to the repository (./match_type/chain/address/files), ensuring that decompressing all the archives in the same directory will suffice to reconstruct the repository without any additional actions.

marcocastignoli commented 2 weeks ago

Development in https://github.com/sourcifyeth/repository-chain-archiver

kuzdogan commented 1 week ago

lgtm

OmarTawfik commented 1 week ago

@kuzdogan thanks for working on this! Looks like the repo above is private. I wonder if this has an ETA?

marcocastignoli commented 1 week ago

thanks for working on this! Looks like the repo above is private. I wonder if this has an ETA?

@OmarTawfik now it's public.

OmarTawfik commented 1 day ago

@marcocastignoli Thank you for the update!

I looked into repository-chain-archiver, and it seems that the script is now complete (?). However, looking at the docs, it seems that it is still describing the old zip files (that need to be concatenated together first to be processed).

I wonder if there is an ETA to start publishing the individual split zip files with the new format?

marcocastignoli commented 1 day ago

@marcocastignoli Thank you for the update!

I looked into repository-chain-archiver, and it seems that the script is now complete (?). However, looking at the docs, it seems that it is still describing the old zip files (that need to be concatenated together first to be processed).

I wonder if there is an ETA to start publishing the individual split zip files with the new format?

The new script is not live yet. During the Devcon week we are slowing down on the development. I'll finalize this asap. Thanks for your interest