diff --git a/package.json b/package.json index b9a6e0b..8813442 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "graphql": "^15.5.1", "idb": "^6.0.0", "jspdf": "^1.5.3", - "jszip": "^3.5.0", "lodash": "^4.17.21", "node-fetch": "^2.6.1", "numbro": "^2.3.2", diff --git a/scripts/helpers/download.js b/scripts/helpers/download.js index e19b6db..9639de7 100644 --- a/scripts/helpers/download.js +++ b/scripts/helpers/download.js @@ -1,24 +1,14 @@ import fs from 'fs' -import Jszip from 'jszip' +import zlib from 'zlib' import Web3 from 'web3' + import networkConfig from '../../networkConfig' -const jszip = new Jszip() - export async function download({ name, directory, contentType }) { - const path = `${directory}${name}.zip`.toLowerCase() + const path = `${directory}${name}.gz`.toLowerCase() const data = fs.readFileSync(path) - const zip = await jszip.loadAsync(data) - - const file = zip.file( - path - .replace(directory, '') - .slice(0, -4) - .toLowerCase() - ) - - const content = await file.async(contentType) + const content = zlib.inflateSync(data) return content } diff --git a/scripts/helpers/save.js b/scripts/helpers/save.js index f294ed5..3124a38 100644 --- a/scripts/helpers/save.js +++ b/scripts/helpers/save.js @@ -1,33 +1,19 @@ import fs from 'fs' -import Jszip from 'jszip' - -const compressionConfig = { - type: "nodebuffer", - compression: "DEFLATE", - compressionOptions: { - level: 9 - } -} - -const fileConfig = { - binary: true, - compression: "DEFLATE" -} +import zlib from 'zlib' export async function save(filePath) { - const jszip = new Jszip() const directories = filePath.split('/') const fileName = directories[directories.length - 1] try { const data = fs.readFileSync(`${filePath}`) - await jszip.file(`${fileName}`, data, fileConfig) - await jszip.generateNodeStream({ - ...compressionConfig, - streamFiles: true + const payload = await zlib.deflateSync(data, { + level: zlib.constants.Z_BEST_COMPRESSION, + strategy: zlib.constants.Z_FILTERED }) - .pipe(fs.createWriteStream(`${filePath}.zip`)) + + fs.writeFileSync(`${filePath}.gz`, payload) return true } catch (err) { diff --git a/scripts/updateTree.js b/scripts/updateTree.js index c61bcc2..1100422 100644 --- a/scripts/updateTree.js +++ b/scripts/updateTree.js @@ -45,7 +45,7 @@ function createTreeZip(netId) { treesFolder.forEach((fileName) => { fileName = `${TREES_PATH}${fileName}` - const isInstanceFile = !fileName.includes('.zip') && fileName.includes(baseFilename) + const isInstanceFile = !fileName.includes('.gz') && fileName.includes(baseFilename) if (isInstanceFile) { save(fileName) diff --git a/services/events.js b/services/events.js index 30c5b6c..70f302e 100644 --- a/services/events.js +++ b/services/events.js @@ -123,7 +123,7 @@ class EventService { const module = await download({ contentType: 'string', - name: `events/${instanceName}.json.zip` + name: `events/${instanceName}.json.gz` }) if (module) { diff --git a/static/events/deposits_bnb_0.1.json.gz b/static/events/deposits_bnb_0.1.json.gz new file mode 100644 index 0000000..807e588 Binary files /dev/null and b/static/events/deposits_bnb_0.1.json.gz differ diff --git a/static/events/deposits_bnb_0.1.json.zip b/static/events/deposits_bnb_0.1.json.zip deleted file mode 100644 index 5d73975..0000000 Binary files a/static/events/deposits_bnb_0.1.json.zip and /dev/null differ diff --git a/static/events/deposits_bnb_1.json.gz b/static/events/deposits_bnb_1.json.gz new file mode 100644 index 0000000..bcded6c Binary files /dev/null and b/static/events/deposits_bnb_1.json.gz differ diff --git a/static/events/deposits_bnb_1.json.zip b/static/events/deposits_bnb_1.json.zip deleted file mode 100644 index 1d97102..0000000 Binary files a/static/events/deposits_bnb_1.json.zip and /dev/null differ diff --git a/static/events/deposits_bnb_10.json.gz b/static/events/deposits_bnb_10.json.gz new file mode 100644 index 0000000..cff7d36 Binary files /dev/null and b/static/events/deposits_bnb_10.json.gz differ diff --git a/static/events/deposits_bnb_10.json.zip b/static/events/deposits_bnb_10.json.zip deleted file mode 100644 index 47b34e2..0000000 Binary files a/static/events/deposits_bnb_10.json.zip and /dev/null differ diff --git a/static/events/deposits_bnb_100.json.gz b/static/events/deposits_bnb_100.json.gz new file mode 100644 index 0000000..58374be Binary files /dev/null and b/static/events/deposits_bnb_100.json.gz differ diff --git a/static/events/deposits_bnb_100.json.zip b/static/events/deposits_bnb_100.json.zip deleted file mode 100644 index 82b15ca..0000000 Binary files a/static/events/deposits_bnb_100.json.zip and /dev/null differ diff --git a/static/events/deposits_eth_0.1.json.gz b/static/events/deposits_eth_0.1.json.gz new file mode 100644 index 0000000..35dcbc0 Binary files /dev/null and b/static/events/deposits_eth_0.1.json.gz differ diff --git a/static/events/deposits_eth_0.1.json.zip b/static/events/deposits_eth_0.1.json.zip deleted file mode 100644 index 1202255..0000000 Binary files a/static/events/deposits_eth_0.1.json.zip and /dev/null differ diff --git a/static/events/deposits_eth_1.json.gz b/static/events/deposits_eth_1.json.gz new file mode 100644 index 0000000..8e0c2b8 Binary files /dev/null and b/static/events/deposits_eth_1.json.gz differ diff --git a/static/events/deposits_eth_1.json.zip b/static/events/deposits_eth_1.json.zip deleted file mode 100644 index d1b00f9..0000000 Binary files a/static/events/deposits_eth_1.json.zip and /dev/null differ diff --git a/static/events/deposits_eth_10.json.gz b/static/events/deposits_eth_10.json.gz new file mode 100644 index 0000000..e7b6f74 Binary files /dev/null and b/static/events/deposits_eth_10.json.gz differ diff --git a/static/events/deposits_eth_10.json.zip b/static/events/deposits_eth_10.json.zip deleted file mode 100644 index 0020d82..0000000 Binary files a/static/events/deposits_eth_10.json.zip and /dev/null differ diff --git a/static/events/deposits_eth_100.json.gz b/static/events/deposits_eth_100.json.gz new file mode 100644 index 0000000..7bc05d9 Binary files /dev/null and b/static/events/deposits_eth_100.json.gz differ diff --git a/static/events/deposits_eth_100.json.zip b/static/events/deposits_eth_100.json.zip deleted file mode 100644 index 345c274..0000000 Binary files a/static/events/deposits_eth_100.json.zip and /dev/null differ diff --git a/static/events/deposits_matic_100.json.gz b/static/events/deposits_matic_100.json.gz new file mode 100644 index 0000000..e79e916 Binary files /dev/null and b/static/events/deposits_matic_100.json.gz differ diff --git a/static/events/deposits_matic_100.json.zip b/static/events/deposits_matic_100.json.zip deleted file mode 100644 index 444639a..0000000 Binary files a/static/events/deposits_matic_100.json.zip and /dev/null differ diff --git a/static/events/deposits_matic_1000.json.gz b/static/events/deposits_matic_1000.json.gz new file mode 100644 index 0000000..00bb189 Binary files /dev/null and b/static/events/deposits_matic_1000.json.gz differ diff --git a/static/events/deposits_matic_1000.json.zip b/static/events/deposits_matic_1000.json.zip deleted file mode 100644 index 04795c3..0000000 Binary files a/static/events/deposits_matic_1000.json.zip and /dev/null differ diff --git a/static/events/deposits_matic_10000.json.gz b/static/events/deposits_matic_10000.json.gz new file mode 100644 index 0000000..d1ccf68 Binary files /dev/null and b/static/events/deposits_matic_10000.json.gz differ diff --git a/static/events/deposits_matic_10000.json.zip b/static/events/deposits_matic_10000.json.zip deleted file mode 100644 index 1eb81e6..0000000 Binary files a/static/events/deposits_matic_10000.json.zip and /dev/null differ diff --git a/static/events/deposits_matic_100000.json.gz b/static/events/deposits_matic_100000.json.gz new file mode 100644 index 0000000..724853d Binary files /dev/null and b/static/events/deposits_matic_100000.json.gz differ diff --git a/static/events/deposits_matic_100000.json.zip b/static/events/deposits_matic_100000.json.zip deleted file mode 100644 index 42e5ee1..0000000 Binary files a/static/events/deposits_matic_100000.json.zip and /dev/null differ diff --git a/static/events/deposits_xdai_100.json.gz b/static/events/deposits_xdai_100.json.gz new file mode 100644 index 0000000..a37ca13 Binary files /dev/null and b/static/events/deposits_xdai_100.json.gz differ diff --git a/static/events/deposits_xdai_100.json.zip b/static/events/deposits_xdai_100.json.zip deleted file mode 100644 index d3abb3e..0000000 Binary files a/static/events/deposits_xdai_100.json.zip and /dev/null differ diff --git a/static/events/deposits_xdai_1000.json.gz b/static/events/deposits_xdai_1000.json.gz new file mode 100644 index 0000000..ba54b8a Binary files /dev/null and b/static/events/deposits_xdai_1000.json.gz differ diff --git a/static/events/deposits_xdai_1000.json.zip b/static/events/deposits_xdai_1000.json.zip deleted file mode 100644 index 945d09a..0000000 Binary files a/static/events/deposits_xdai_1000.json.zip and /dev/null differ diff --git a/static/events/deposits_xdai_10000.json.gz b/static/events/deposits_xdai_10000.json.gz new file mode 100644 index 0000000..27a8ed1 Binary files /dev/null and b/static/events/deposits_xdai_10000.json.gz differ diff --git a/static/events/deposits_xdai_10000.json.zip b/static/events/deposits_xdai_10000.json.zip deleted file mode 100644 index b6b561f..0000000 Binary files a/static/events/deposits_xdai_10000.json.zip and /dev/null differ diff --git a/static/events/deposits_xdai_100000.json.gz b/static/events/deposits_xdai_100000.json.gz new file mode 100644 index 0000000..9482443 Binary files /dev/null and b/static/events/deposits_xdai_100000.json.gz differ diff --git a/static/events/deposits_xdai_100000.json.zip b/static/events/deposits_xdai_100000.json.zip deleted file mode 100644 index e1d3b20..0000000 Binary files a/static/events/deposits_xdai_100000.json.zip and /dev/null differ diff --git a/static/events/encrypted_notes_1.json.gz b/static/events/encrypted_notes_1.json.gz new file mode 100644 index 0000000..2c66562 Binary files /dev/null and b/static/events/encrypted_notes_1.json.gz differ diff --git a/static/events/encrypted_notes_1.json.zip b/static/events/encrypted_notes_1.json.zip deleted file mode 100644 index c15f7b7..0000000 Binary files a/static/events/encrypted_notes_1.json.zip and /dev/null differ diff --git a/static/events/encrypted_notes_100.json.gz b/static/events/encrypted_notes_100.json.gz new file mode 100644 index 0000000..280850e Binary files /dev/null and b/static/events/encrypted_notes_100.json.gz differ diff --git a/static/events/encrypted_notes_100.json.zip b/static/events/encrypted_notes_100.json.zip deleted file mode 100644 index f2959ca..0000000 Binary files a/static/events/encrypted_notes_100.json.zip and /dev/null differ diff --git a/static/events/encrypted_notes_137.json.gz b/static/events/encrypted_notes_137.json.gz new file mode 100644 index 0000000..d6a7e32 Binary files /dev/null and b/static/events/encrypted_notes_137.json.gz differ diff --git a/static/events/encrypted_notes_137.json.zip b/static/events/encrypted_notes_137.json.zip deleted file mode 100644 index 6016a45..0000000 Binary files a/static/events/encrypted_notes_137.json.zip and /dev/null differ diff --git a/static/events/encrypted_notes_5.json.gz b/static/events/encrypted_notes_5.json.gz new file mode 100644 index 0000000..d6a7e32 Binary files /dev/null and b/static/events/encrypted_notes_5.json.gz differ diff --git a/static/events/encrypted_notes_56.json.gz b/static/events/encrypted_notes_56.json.gz new file mode 100644 index 0000000..9e6a1a1 Binary files /dev/null and b/static/events/encrypted_notes_56.json.gz differ diff --git a/static/events/encrypted_notes_56.json.zip b/static/events/encrypted_notes_56.json.zip deleted file mode 100644 index b094462..0000000 Binary files a/static/events/encrypted_notes_56.json.zip and /dev/null differ diff --git a/static/events/withdrawals_bnb_0.1.json.gz b/static/events/withdrawals_bnb_0.1.json.gz new file mode 100644 index 0000000..bceb655 Binary files /dev/null and b/static/events/withdrawals_bnb_0.1.json.gz differ diff --git a/static/events/withdrawals_bnb_0.1.json.zip b/static/events/withdrawals_bnb_0.1.json.zip deleted file mode 100644 index d988742..0000000 Binary files a/static/events/withdrawals_bnb_0.1.json.zip and /dev/null differ diff --git a/static/events/withdrawals_bnb_1.json.gz b/static/events/withdrawals_bnb_1.json.gz new file mode 100644 index 0000000..200006c Binary files /dev/null and b/static/events/withdrawals_bnb_1.json.gz differ diff --git a/static/events/withdrawals_bnb_1.json.zip b/static/events/withdrawals_bnb_1.json.zip deleted file mode 100644 index 9ca1e30..0000000 Binary files a/static/events/withdrawals_bnb_1.json.zip and /dev/null differ diff --git a/static/events/withdrawals_bnb_10.json.gz b/static/events/withdrawals_bnb_10.json.gz new file mode 100644 index 0000000..32b1031 Binary files /dev/null and b/static/events/withdrawals_bnb_10.json.gz differ diff --git a/static/events/withdrawals_bnb_10.json.zip b/static/events/withdrawals_bnb_10.json.zip deleted file mode 100644 index fa1518a..0000000 Binary files a/static/events/withdrawals_bnb_10.json.zip and /dev/null differ diff --git a/static/events/withdrawals_bnb_100.json.gz b/static/events/withdrawals_bnb_100.json.gz new file mode 100644 index 0000000..9c20084 Binary files /dev/null and b/static/events/withdrawals_bnb_100.json.gz differ diff --git a/static/events/withdrawals_bnb_100.json.zip b/static/events/withdrawals_bnb_100.json.zip deleted file mode 100644 index 5ea069c..0000000 Binary files a/static/events/withdrawals_bnb_100.json.zip and /dev/null differ diff --git a/static/events/withdrawals_eth_0.1.json.gz b/static/events/withdrawals_eth_0.1.json.gz new file mode 100644 index 0000000..37c3c30 Binary files /dev/null and b/static/events/withdrawals_eth_0.1.json.gz differ diff --git a/static/events/withdrawals_eth_0.1.json.zip b/static/events/withdrawals_eth_0.1.json.zip deleted file mode 100644 index 8a88774..0000000 Binary files a/static/events/withdrawals_eth_0.1.json.zip and /dev/null differ diff --git a/static/events/withdrawals_eth_1.json.gz b/static/events/withdrawals_eth_1.json.gz new file mode 100644 index 0000000..7a27315 Binary files /dev/null and b/static/events/withdrawals_eth_1.json.gz differ diff --git a/static/events/withdrawals_eth_1.json.zip b/static/events/withdrawals_eth_1.json.zip deleted file mode 100644 index 34d8498..0000000 Binary files a/static/events/withdrawals_eth_1.json.zip and /dev/null differ diff --git a/static/events/withdrawals_eth_10.json.gz b/static/events/withdrawals_eth_10.json.gz new file mode 100644 index 0000000..5abe03f Binary files /dev/null and b/static/events/withdrawals_eth_10.json.gz differ diff --git a/static/events/withdrawals_eth_10.json.zip b/static/events/withdrawals_eth_10.json.zip deleted file mode 100644 index cf21215..0000000 Binary files a/static/events/withdrawals_eth_10.json.zip and /dev/null differ diff --git a/static/events/withdrawals_eth_100.json.gz b/static/events/withdrawals_eth_100.json.gz new file mode 100644 index 0000000..77a0690 Binary files /dev/null and b/static/events/withdrawals_eth_100.json.gz differ diff --git a/static/events/withdrawals_eth_100.json.zip b/static/events/withdrawals_eth_100.json.zip deleted file mode 100644 index f70819f..0000000 Binary files a/static/events/withdrawals_eth_100.json.zip and /dev/null differ diff --git a/static/events/withdrawals_matic_100.json.gz b/static/events/withdrawals_matic_100.json.gz new file mode 100644 index 0000000..38a60cb Binary files /dev/null and b/static/events/withdrawals_matic_100.json.gz differ diff --git a/static/events/withdrawals_matic_100.json.zip b/static/events/withdrawals_matic_100.json.zip deleted file mode 100644 index 4cbdc30..0000000 Binary files a/static/events/withdrawals_matic_100.json.zip and /dev/null differ diff --git a/static/events/withdrawals_matic_1000.json.gz b/static/events/withdrawals_matic_1000.json.gz new file mode 100644 index 0000000..ffef702 Binary files /dev/null and b/static/events/withdrawals_matic_1000.json.gz differ diff --git a/static/events/withdrawals_matic_1000.json.zip b/static/events/withdrawals_matic_1000.json.zip deleted file mode 100644 index 361134d..0000000 Binary files a/static/events/withdrawals_matic_1000.json.zip and /dev/null differ diff --git a/static/events/withdrawals_matic_10000.json.gz b/static/events/withdrawals_matic_10000.json.gz new file mode 100644 index 0000000..167b8a1 Binary files /dev/null and b/static/events/withdrawals_matic_10000.json.gz differ diff --git a/static/events/withdrawals_matic_10000.json.zip b/static/events/withdrawals_matic_10000.json.zip deleted file mode 100644 index d3f3ba2..0000000 Binary files a/static/events/withdrawals_matic_10000.json.zip and /dev/null differ diff --git a/static/events/withdrawals_matic_100000.json.gz b/static/events/withdrawals_matic_100000.json.gz new file mode 100644 index 0000000..3d2b9c8 Binary files /dev/null and b/static/events/withdrawals_matic_100000.json.gz differ diff --git a/static/events/withdrawals_matic_100000.json.zip b/static/events/withdrawals_matic_100000.json.zip deleted file mode 100644 index c86c59f..0000000 Binary files a/static/events/withdrawals_matic_100000.json.zip and /dev/null differ diff --git a/static/events/withdrawals_xdai_100.json.gz b/static/events/withdrawals_xdai_100.json.gz new file mode 100644 index 0000000..37a714f Binary files /dev/null and b/static/events/withdrawals_xdai_100.json.gz differ diff --git a/static/events/withdrawals_xdai_100.json.zip b/static/events/withdrawals_xdai_100.json.zip deleted file mode 100644 index ada4b3f..0000000 Binary files a/static/events/withdrawals_xdai_100.json.zip and /dev/null differ diff --git a/static/events/withdrawals_xdai_1000.json.gz b/static/events/withdrawals_xdai_1000.json.gz new file mode 100644 index 0000000..972f619 Binary files /dev/null and b/static/events/withdrawals_xdai_1000.json.gz differ diff --git a/static/events/withdrawals_xdai_1000.json.zip b/static/events/withdrawals_xdai_1000.json.zip deleted file mode 100644 index e6220e8..0000000 Binary files a/static/events/withdrawals_xdai_1000.json.zip and /dev/null differ diff --git a/static/events/withdrawals_xdai_10000.json.gz b/static/events/withdrawals_xdai_10000.json.gz new file mode 100644 index 0000000..0c6894b Binary files /dev/null and b/static/events/withdrawals_xdai_10000.json.gz differ diff --git a/static/events/withdrawals_xdai_10000.json.zip b/static/events/withdrawals_xdai_10000.json.zip deleted file mode 100644 index d566416..0000000 Binary files a/static/events/withdrawals_xdai_10000.json.zip and /dev/null differ diff --git a/static/events/withdrawals_xdai_100000.json.gz b/static/events/withdrawals_xdai_100000.json.gz new file mode 100644 index 0000000..a4fa3a6 Binary files /dev/null and b/static/events/withdrawals_xdai_100000.json.gz differ diff --git a/static/events/withdrawals_xdai_100000.json.zip b/static/events/withdrawals_xdai_100000.json.zip deleted file mode 100644 index ac0b34d..0000000 Binary files a/static/events/withdrawals_xdai_100000.json.zip and /dev/null differ diff --git a/static/tornado.json.gz b/static/tornado.json.gz new file mode 100644 index 0000000..cf50b6e Binary files /dev/null and b/static/tornado.json.gz differ diff --git a/static/tornado.json.zip b/static/tornado.json.zip deleted file mode 100644 index a6265fb..0000000 Binary files a/static/tornado.json.zip and /dev/null differ diff --git a/static/tornadoProvingKey.bin.zip b/static/tornadoProvingKey.bin.gz similarity index 73% rename from static/tornadoProvingKey.bin.zip rename to static/tornadoProvingKey.bin.gz index 2865811..6716b2a 100644 Binary files a/static/tornadoProvingKey.bin.zip and b/static/tornadoProvingKey.bin.gz differ diff --git a/static/trees/deposits_bnb_0.1_bloom.json.gz b/static/trees/deposits_bnb_0.1_bloom.json.gz new file mode 100644 index 0000000..92c69f5 Binary files /dev/null and b/static/trees/deposits_bnb_0.1_bloom.json.gz differ diff --git a/static/trees/deposits_bnb_0.1_bloom.json.zip b/static/trees/deposits_bnb_0.1_bloom.json.zip deleted file mode 100644 index 34bded7..0000000 Binary files a/static/trees/deposits_bnb_0.1_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_0.1_slice1.json.gz b/static/trees/deposits_bnb_0.1_slice1.json.gz new file mode 100644 index 0000000..421b3b7 Binary files /dev/null and b/static/trees/deposits_bnb_0.1_slice1.json.gz differ diff --git a/static/trees/deposits_bnb_0.1_slice1.json.zip b/static/trees/deposits_bnb_0.1_slice1.json.zip deleted file mode 100644 index 32f4860..0000000 Binary files a/static/trees/deposits_bnb_0.1_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_0.1_slice2.json.gz b/static/trees/deposits_bnb_0.1_slice2.json.gz new file mode 100644 index 0000000..ec28e0e Binary files /dev/null and b/static/trees/deposits_bnb_0.1_slice2.json.gz differ diff --git a/static/trees/deposits_bnb_0.1_slice2.json.zip b/static/trees/deposits_bnb_0.1_slice2.json.zip deleted file mode 100644 index c36859a..0000000 Binary files a/static/trees/deposits_bnb_0.1_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_0.1_slice3.json.gz b/static/trees/deposits_bnb_0.1_slice3.json.gz new file mode 100644 index 0000000..d3a9f6d Binary files /dev/null and b/static/trees/deposits_bnb_0.1_slice3.json.gz differ diff --git a/static/trees/deposits_bnb_0.1_slice3.json.zip b/static/trees/deposits_bnb_0.1_slice3.json.zip deleted file mode 100644 index 9e7dd52..0000000 Binary files a/static/trees/deposits_bnb_0.1_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_0.1_slice4.json.gz b/static/trees/deposits_bnb_0.1_slice4.json.gz new file mode 100644 index 0000000..28a8d08 Binary files /dev/null and b/static/trees/deposits_bnb_0.1_slice4.json.gz differ diff --git a/static/trees/deposits_bnb_0.1_slice4.json.zip b/static/trees/deposits_bnb_0.1_slice4.json.zip deleted file mode 100644 index 6193e14..0000000 Binary files a/static/trees/deposits_bnb_0.1_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_100_bloom.json.gz b/static/trees/deposits_bnb_100_bloom.json.gz new file mode 100644 index 0000000..d3405b0 Binary files /dev/null and b/static/trees/deposits_bnb_100_bloom.json.gz differ diff --git a/static/trees/deposits_bnb_100_bloom.json.zip b/static/trees/deposits_bnb_100_bloom.json.zip deleted file mode 100644 index 36f19e8..0000000 Binary files a/static/trees/deposits_bnb_100_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_100_slice1.json.gz b/static/trees/deposits_bnb_100_slice1.json.gz new file mode 100644 index 0000000..24bf1b7 Binary files /dev/null and b/static/trees/deposits_bnb_100_slice1.json.gz differ diff --git a/static/trees/deposits_bnb_100_slice1.json.zip b/static/trees/deposits_bnb_100_slice1.json.zip deleted file mode 100644 index 408882e..0000000 Binary files a/static/trees/deposits_bnb_100_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_100_slice2.json.gz b/static/trees/deposits_bnb_100_slice2.json.gz new file mode 100644 index 0000000..75b01cf Binary files /dev/null and b/static/trees/deposits_bnb_100_slice2.json.gz differ diff --git a/static/trees/deposits_bnb_100_slice2.json.zip b/static/trees/deposits_bnb_100_slice2.json.zip deleted file mode 100644 index 77b1efb..0000000 Binary files a/static/trees/deposits_bnb_100_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_100_slice3.json.gz b/static/trees/deposits_bnb_100_slice3.json.gz new file mode 100644 index 0000000..6e4d0f9 Binary files /dev/null and b/static/trees/deposits_bnb_100_slice3.json.gz differ diff --git a/static/trees/deposits_bnb_100_slice3.json.zip b/static/trees/deposits_bnb_100_slice3.json.zip deleted file mode 100644 index b446ae6..0000000 Binary files a/static/trees/deposits_bnb_100_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_100_slice4.json.gz b/static/trees/deposits_bnb_100_slice4.json.gz new file mode 100644 index 0000000..f7c9f33 Binary files /dev/null and b/static/trees/deposits_bnb_100_slice4.json.gz differ diff --git a/static/trees/deposits_bnb_100_slice4.json.zip b/static/trees/deposits_bnb_100_slice4.json.zip deleted file mode 100644 index c9b57c9..0000000 Binary files a/static/trees/deposits_bnb_100_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_10_bloom.json.gz b/static/trees/deposits_bnb_10_bloom.json.gz new file mode 100644 index 0000000..d3cb123 Binary files /dev/null and b/static/trees/deposits_bnb_10_bloom.json.gz differ diff --git a/static/trees/deposits_bnb_10_bloom.json.zip b/static/trees/deposits_bnb_10_bloom.json.zip deleted file mode 100644 index 54ea5ca..0000000 Binary files a/static/trees/deposits_bnb_10_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_10_slice1.json.gz b/static/trees/deposits_bnb_10_slice1.json.gz new file mode 100644 index 0000000..589bb54 Binary files /dev/null and b/static/trees/deposits_bnb_10_slice1.json.gz differ diff --git a/static/trees/deposits_bnb_10_slice1.json.zip b/static/trees/deposits_bnb_10_slice1.json.zip deleted file mode 100644 index 7ee1ca8..0000000 Binary files a/static/trees/deposits_bnb_10_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_10_slice2.json.gz b/static/trees/deposits_bnb_10_slice2.json.gz new file mode 100644 index 0000000..4abfe30 Binary files /dev/null and b/static/trees/deposits_bnb_10_slice2.json.gz differ diff --git a/static/trees/deposits_bnb_10_slice2.json.zip b/static/trees/deposits_bnb_10_slice2.json.zip deleted file mode 100644 index 966114a..0000000 Binary files a/static/trees/deposits_bnb_10_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_10_slice3.json.gz b/static/trees/deposits_bnb_10_slice3.json.gz new file mode 100644 index 0000000..94a20df Binary files /dev/null and b/static/trees/deposits_bnb_10_slice3.json.gz differ diff --git a/static/trees/deposits_bnb_10_slice3.json.zip b/static/trees/deposits_bnb_10_slice3.json.zip deleted file mode 100644 index a109c61..0000000 Binary files a/static/trees/deposits_bnb_10_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_10_slice4.json.gz b/static/trees/deposits_bnb_10_slice4.json.gz new file mode 100644 index 0000000..08cbdec Binary files /dev/null and b/static/trees/deposits_bnb_10_slice4.json.gz differ diff --git a/static/trees/deposits_bnb_10_slice4.json.zip b/static/trees/deposits_bnb_10_slice4.json.zip deleted file mode 100644 index a05975b..0000000 Binary files a/static/trees/deposits_bnb_10_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_1_bloom.json.gz b/static/trees/deposits_bnb_1_bloom.json.gz new file mode 100644 index 0000000..0966b4d Binary files /dev/null and b/static/trees/deposits_bnb_1_bloom.json.gz differ diff --git a/static/trees/deposits_bnb_1_bloom.json.zip b/static/trees/deposits_bnb_1_bloom.json.zip deleted file mode 100644 index 427fbc9..0000000 Binary files a/static/trees/deposits_bnb_1_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_1_slice1.json.gz b/static/trees/deposits_bnb_1_slice1.json.gz new file mode 100644 index 0000000..c252fd2 Binary files /dev/null and b/static/trees/deposits_bnb_1_slice1.json.gz differ diff --git a/static/trees/deposits_bnb_1_slice1.json.zip b/static/trees/deposits_bnb_1_slice1.json.zip deleted file mode 100644 index 9f06f18..0000000 Binary files a/static/trees/deposits_bnb_1_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_1_slice2.json.gz b/static/trees/deposits_bnb_1_slice2.json.gz new file mode 100644 index 0000000..7c69991 Binary files /dev/null and b/static/trees/deposits_bnb_1_slice2.json.gz differ diff --git a/static/trees/deposits_bnb_1_slice2.json.zip b/static/trees/deposits_bnb_1_slice2.json.zip deleted file mode 100644 index d303a9f..0000000 Binary files a/static/trees/deposits_bnb_1_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_1_slice3.json.gz b/static/trees/deposits_bnb_1_slice3.json.gz new file mode 100644 index 0000000..86666b0 Binary files /dev/null and b/static/trees/deposits_bnb_1_slice3.json.gz differ diff --git a/static/trees/deposits_bnb_1_slice3.json.zip b/static/trees/deposits_bnb_1_slice3.json.zip deleted file mode 100644 index 9d1da1d..0000000 Binary files a/static/trees/deposits_bnb_1_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_bnb_1_slice4.json.gz b/static/trees/deposits_bnb_1_slice4.json.gz new file mode 100644 index 0000000..6f89743 Binary files /dev/null and b/static/trees/deposits_bnb_1_slice4.json.gz differ diff --git a/static/trees/deposits_bnb_1_slice4.json.zip b/static/trees/deposits_bnb_1_slice4.json.zip deleted file mode 100644 index f9fd1ce..0000000 Binary files a/static/trees/deposits_bnb_1_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_0.1_bloom.json.gz b/static/trees/deposits_eth_0.1_bloom.json.gz new file mode 100644 index 0000000..55021f2 Binary files /dev/null and b/static/trees/deposits_eth_0.1_bloom.json.gz differ diff --git a/static/trees/deposits_eth_0.1_bloom.json.zip b/static/trees/deposits_eth_0.1_bloom.json.zip deleted file mode 100644 index 6c95c71..0000000 Binary files a/static/trees/deposits_eth_0.1_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_0.1_slice1.json.gz b/static/trees/deposits_eth_0.1_slice1.json.gz new file mode 100644 index 0000000..3a3d1ff Binary files /dev/null and b/static/trees/deposits_eth_0.1_slice1.json.gz differ diff --git a/static/trees/deposits_eth_0.1_slice1.json.zip b/static/trees/deposits_eth_0.1_slice1.json.zip deleted file mode 100644 index 0200517..0000000 Binary files a/static/trees/deposits_eth_0.1_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_0.1_slice2.json.gz b/static/trees/deposits_eth_0.1_slice2.json.gz new file mode 100644 index 0000000..e1e9b82 Binary files /dev/null and b/static/trees/deposits_eth_0.1_slice2.json.gz differ diff --git a/static/trees/deposits_eth_0.1_slice2.json.zip b/static/trees/deposits_eth_0.1_slice2.json.zip deleted file mode 100644 index 746d9e9..0000000 Binary files a/static/trees/deposits_eth_0.1_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_0.1_slice3.json.gz b/static/trees/deposits_eth_0.1_slice3.json.gz new file mode 100644 index 0000000..5e87963 Binary files /dev/null and b/static/trees/deposits_eth_0.1_slice3.json.gz differ diff --git a/static/trees/deposits_eth_0.1_slice3.json.zip b/static/trees/deposits_eth_0.1_slice3.json.zip deleted file mode 100644 index f6d1d45..0000000 Binary files a/static/trees/deposits_eth_0.1_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_0.1_slice4.json.gz b/static/trees/deposits_eth_0.1_slice4.json.gz new file mode 100644 index 0000000..e8742c6 Binary files /dev/null and b/static/trees/deposits_eth_0.1_slice4.json.gz differ diff --git a/static/trees/deposits_eth_0.1_slice4.json.zip b/static/trees/deposits_eth_0.1_slice4.json.zip deleted file mode 100644 index 1cdd117..0000000 Binary files a/static/trees/deposits_eth_0.1_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_100_bloom.json.gz b/static/trees/deposits_eth_100_bloom.json.gz new file mode 100644 index 0000000..83f3521 Binary files /dev/null and b/static/trees/deposits_eth_100_bloom.json.gz differ diff --git a/static/trees/deposits_eth_100_bloom.json.zip b/static/trees/deposits_eth_100_bloom.json.zip deleted file mode 100644 index 3806a28..0000000 Binary files a/static/trees/deposits_eth_100_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_100_slice1.json.gz b/static/trees/deposits_eth_100_slice1.json.gz new file mode 100644 index 0000000..3a5db5d Binary files /dev/null and b/static/trees/deposits_eth_100_slice1.json.gz differ diff --git a/static/trees/deposits_eth_100_slice1.json.zip b/static/trees/deposits_eth_100_slice1.json.zip deleted file mode 100644 index 42cfd5f..0000000 Binary files a/static/trees/deposits_eth_100_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_100_slice2.json.gz b/static/trees/deposits_eth_100_slice2.json.gz new file mode 100644 index 0000000..0cfe774 Binary files /dev/null and b/static/trees/deposits_eth_100_slice2.json.gz differ diff --git a/static/trees/deposits_eth_100_slice2.json.zip b/static/trees/deposits_eth_100_slice2.json.zip deleted file mode 100644 index 8c5ffe2..0000000 Binary files a/static/trees/deposits_eth_100_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_100_slice3.json.gz b/static/trees/deposits_eth_100_slice3.json.gz new file mode 100644 index 0000000..b6a3006 Binary files /dev/null and b/static/trees/deposits_eth_100_slice3.json.gz differ diff --git a/static/trees/deposits_eth_100_slice3.json.zip b/static/trees/deposits_eth_100_slice3.json.zip deleted file mode 100644 index 789d5ac..0000000 Binary files a/static/trees/deposits_eth_100_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_100_slice4.json.gz b/static/trees/deposits_eth_100_slice4.json.gz new file mode 100644 index 0000000..1ecb1d2 Binary files /dev/null and b/static/trees/deposits_eth_100_slice4.json.gz differ diff --git a/static/trees/deposits_eth_100_slice4.json.zip b/static/trees/deposits_eth_100_slice4.json.zip deleted file mode 100644 index 9dffc05..0000000 Binary files a/static/trees/deposits_eth_100_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_10_bloom.json.gz b/static/trees/deposits_eth_10_bloom.json.gz new file mode 100644 index 0000000..cf3da9f Binary files /dev/null and b/static/trees/deposits_eth_10_bloom.json.gz differ diff --git a/static/trees/deposits_eth_10_bloom.json.zip b/static/trees/deposits_eth_10_bloom.json.zip deleted file mode 100644 index 715e66a..0000000 Binary files a/static/trees/deposits_eth_10_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_10_slice1.json.gz b/static/trees/deposits_eth_10_slice1.json.gz new file mode 100644 index 0000000..8c063c3 Binary files /dev/null and b/static/trees/deposits_eth_10_slice1.json.gz differ diff --git a/static/trees/deposits_eth_10_slice1.json.zip b/static/trees/deposits_eth_10_slice1.json.zip deleted file mode 100644 index b175630..0000000 Binary files a/static/trees/deposits_eth_10_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_10_slice2.json.gz b/static/trees/deposits_eth_10_slice2.json.gz new file mode 100644 index 0000000..fca7621 Binary files /dev/null and b/static/trees/deposits_eth_10_slice2.json.gz differ diff --git a/static/trees/deposits_eth_10_slice2.json.zip b/static/trees/deposits_eth_10_slice2.json.zip deleted file mode 100644 index 3d117c5..0000000 Binary files a/static/trees/deposits_eth_10_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_10_slice3.json.gz b/static/trees/deposits_eth_10_slice3.json.gz new file mode 100644 index 0000000..f10b50e Binary files /dev/null and b/static/trees/deposits_eth_10_slice3.json.gz differ diff --git a/static/trees/deposits_eth_10_slice3.json.zip b/static/trees/deposits_eth_10_slice3.json.zip deleted file mode 100644 index 4eda5fd..0000000 Binary files a/static/trees/deposits_eth_10_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_10_slice4.json.gz b/static/trees/deposits_eth_10_slice4.json.gz new file mode 100644 index 0000000..aaf530e Binary files /dev/null and b/static/trees/deposits_eth_10_slice4.json.gz differ diff --git a/static/trees/deposits_eth_10_slice4.json.zip b/static/trees/deposits_eth_10_slice4.json.zip deleted file mode 100644 index 1f6bf2d..0000000 Binary files a/static/trees/deposits_eth_10_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_1_bloom.json.gz b/static/trees/deposits_eth_1_bloom.json.gz new file mode 100644 index 0000000..a2bb6e4 Binary files /dev/null and b/static/trees/deposits_eth_1_bloom.json.gz differ diff --git a/static/trees/deposits_eth_1_bloom.json.zip b/static/trees/deposits_eth_1_bloom.json.zip deleted file mode 100644 index 25be566..0000000 Binary files a/static/trees/deposits_eth_1_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_1_slice1.json.gz b/static/trees/deposits_eth_1_slice1.json.gz new file mode 100644 index 0000000..b32dc00 Binary files /dev/null and b/static/trees/deposits_eth_1_slice1.json.gz differ diff --git a/static/trees/deposits_eth_1_slice1.json.zip b/static/trees/deposits_eth_1_slice1.json.zip deleted file mode 100644 index 3dfa940..0000000 Binary files a/static/trees/deposits_eth_1_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_1_slice2.json.gz b/static/trees/deposits_eth_1_slice2.json.gz new file mode 100644 index 0000000..12e841e Binary files /dev/null and b/static/trees/deposits_eth_1_slice2.json.gz differ diff --git a/static/trees/deposits_eth_1_slice2.json.zip b/static/trees/deposits_eth_1_slice2.json.zip deleted file mode 100644 index 3fe4c2a..0000000 Binary files a/static/trees/deposits_eth_1_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_1_slice3.json.gz b/static/trees/deposits_eth_1_slice3.json.gz new file mode 100644 index 0000000..97d0283 Binary files /dev/null and b/static/trees/deposits_eth_1_slice3.json.gz differ diff --git a/static/trees/deposits_eth_1_slice3.json.zip b/static/trees/deposits_eth_1_slice3.json.zip deleted file mode 100644 index 237508f..0000000 Binary files a/static/trees/deposits_eth_1_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_eth_1_slice4.json.gz b/static/trees/deposits_eth_1_slice4.json.gz new file mode 100644 index 0000000..eb2732e Binary files /dev/null and b/static/trees/deposits_eth_1_slice4.json.gz differ diff --git a/static/trees/deposits_eth_1_slice4.json.zip b/static/trees/deposits_eth_1_slice4.json.zip deleted file mode 100644 index 4c2b3ee..0000000 Binary files a/static/trees/deposits_eth_1_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100000_bloom.json.zip b/static/trees/deposits_matic_100000_bloom.json.zip deleted file mode 100644 index 0d25fba..0000000 Binary files a/static/trees/deposits_matic_100000_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100000_slice1.json.zip b/static/trees/deposits_matic_100000_slice1.json.zip deleted file mode 100644 index 1fea166..0000000 Binary files a/static/trees/deposits_matic_100000_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100000_slice2.json.zip b/static/trees/deposits_matic_100000_slice2.json.zip deleted file mode 100644 index bdb7223..0000000 Binary files a/static/trees/deposits_matic_100000_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100000_slice3.json.zip b/static/trees/deposits_matic_100000_slice3.json.zip deleted file mode 100644 index 3f00453..0000000 Binary files a/static/trees/deposits_matic_100000_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100000_slice4.json.zip b/static/trees/deposits_matic_100000_slice4.json.zip deleted file mode 100644 index f4c006e..0000000 Binary files a/static/trees/deposits_matic_100000_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_10000_bloom.json.zip b/static/trees/deposits_matic_10000_bloom.json.zip deleted file mode 100644 index 699e1ae..0000000 Binary files a/static/trees/deposits_matic_10000_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_10000_slice1.json.zip b/static/trees/deposits_matic_10000_slice1.json.zip deleted file mode 100644 index 543d729..0000000 Binary files a/static/trees/deposits_matic_10000_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_10000_slice2.json.zip b/static/trees/deposits_matic_10000_slice2.json.zip deleted file mode 100644 index ed4c289..0000000 Binary files a/static/trees/deposits_matic_10000_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_10000_slice3.json.zip b/static/trees/deposits_matic_10000_slice3.json.zip deleted file mode 100644 index 2327dd3..0000000 Binary files a/static/trees/deposits_matic_10000_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_10000_slice4.json.zip b/static/trees/deposits_matic_10000_slice4.json.zip deleted file mode 100644 index 0716732..0000000 Binary files a/static/trees/deposits_matic_10000_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_1000_bloom.json.zip b/static/trees/deposits_matic_1000_bloom.json.zip deleted file mode 100644 index adf8827..0000000 Binary files a/static/trees/deposits_matic_1000_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_1000_slice1.json.zip b/static/trees/deposits_matic_1000_slice1.json.zip deleted file mode 100644 index 9cfdf9c..0000000 Binary files a/static/trees/deposits_matic_1000_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_1000_slice2.json.zip b/static/trees/deposits_matic_1000_slice2.json.zip deleted file mode 100644 index 90376ee..0000000 Binary files a/static/trees/deposits_matic_1000_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_1000_slice3.json.zip b/static/trees/deposits_matic_1000_slice3.json.zip deleted file mode 100644 index dd8ae10..0000000 Binary files a/static/trees/deposits_matic_1000_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_1000_slice4.json.zip b/static/trees/deposits_matic_1000_slice4.json.zip deleted file mode 100644 index 4a22e52..0000000 Binary files a/static/trees/deposits_matic_1000_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100_bloom.json.zip b/static/trees/deposits_matic_100_bloom.json.zip deleted file mode 100644 index 34e112f..0000000 Binary files a/static/trees/deposits_matic_100_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100_slice1.json.zip b/static/trees/deposits_matic_100_slice1.json.zip deleted file mode 100644 index d57b942..0000000 Binary files a/static/trees/deposits_matic_100_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100_slice2.json.zip b/static/trees/deposits_matic_100_slice2.json.zip deleted file mode 100644 index 712e58a..0000000 Binary files a/static/trees/deposits_matic_100_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100_slice3.json.zip b/static/trees/deposits_matic_100_slice3.json.zip deleted file mode 100644 index 15d331f..0000000 Binary files a/static/trees/deposits_matic_100_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_matic_100_slice4.json.zip b/static/trees/deposits_matic_100_slice4.json.zip deleted file mode 100644 index 4b49041..0000000 Binary files a/static/trees/deposits_matic_100_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_100000_bloom.json.gz b/static/trees/deposits_xdai_100000_bloom.json.gz new file mode 100644 index 0000000..9e99815 --- /dev/null +++ b/static/trees/deposits_xdai_100000_bloom.json.gz @@ -0,0 +1,3 @@ +xÚÁM +Â0…ѽ|ã;xIýyÞåR¢m Ù»ç 8qÇ5Ä»ÿ.E¬}ÿôöŃõضöÂcŠãÙ÷ăÀ) +QqŠ‡8ágâ‚C\qˆÄ¥¦¸á%pÌ9ÿ`Î \ No newline at end of file diff --git a/static/trees/deposits_xdai_100000_bloom.json.zip b/static/trees/deposits_xdai_100000_bloom.json.zip deleted file mode 100644 index 362f9c2..0000000 Binary files a/static/trees/deposits_xdai_100000_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_100000_slice1.json.gz b/static/trees/deposits_xdai_100000_slice1.json.gz new file mode 100644 index 0000000..09ddd21 Binary files /dev/null and b/static/trees/deposits_xdai_100000_slice1.json.gz differ diff --git a/static/trees/deposits_xdai_100000_slice1.json.zip b/static/trees/deposits_xdai_100000_slice1.json.zip deleted file mode 100644 index 25f37ad..0000000 Binary files a/static/trees/deposits_xdai_100000_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_100000_slice2.json.gz b/static/trees/deposits_xdai_100000_slice2.json.gz new file mode 100644 index 0000000..32b5187 Binary files /dev/null and b/static/trees/deposits_xdai_100000_slice2.json.gz differ diff --git a/static/trees/deposits_xdai_100000_slice2.json.zip b/static/trees/deposits_xdai_100000_slice2.json.zip deleted file mode 100644 index 19e3afe..0000000 Binary files a/static/trees/deposits_xdai_100000_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_10000_bloom.json.gz b/static/trees/deposits_xdai_10000_bloom.json.gz new file mode 100644 index 0000000..837bc06 Binary files /dev/null and b/static/trees/deposits_xdai_10000_bloom.json.gz differ diff --git a/static/trees/deposits_xdai_10000_bloom.json.zip b/static/trees/deposits_xdai_10000_bloom.json.zip deleted file mode 100644 index 23aa77c..0000000 Binary files a/static/trees/deposits_xdai_10000_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_10000_slice1.json.gz b/static/trees/deposits_xdai_10000_slice1.json.gz new file mode 100644 index 0000000..400bc34 Binary files /dev/null and b/static/trees/deposits_xdai_10000_slice1.json.gz differ diff --git a/static/trees/deposits_xdai_10000_slice1.json.zip b/static/trees/deposits_xdai_10000_slice1.json.zip deleted file mode 100644 index 0b9a298..0000000 Binary files a/static/trees/deposits_xdai_10000_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_10000_slice2.json.gz b/static/trees/deposits_xdai_10000_slice2.json.gz new file mode 100644 index 0000000..20c368b Binary files /dev/null and b/static/trees/deposits_xdai_10000_slice2.json.gz differ diff --git a/static/trees/deposits_xdai_10000_slice2.json.zip b/static/trees/deposits_xdai_10000_slice2.json.zip deleted file mode 100644 index ca2cc26..0000000 Binary files a/static/trees/deposits_xdai_10000_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_10000_slice3.json.gz b/static/trees/deposits_xdai_10000_slice3.json.gz new file mode 100644 index 0000000..26459b7 Binary files /dev/null and b/static/trees/deposits_xdai_10000_slice3.json.gz differ diff --git a/static/trees/deposits_xdai_10000_slice3.json.zip b/static/trees/deposits_xdai_10000_slice3.json.zip deleted file mode 100644 index e1d8a4a..0000000 Binary files a/static/trees/deposits_xdai_10000_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_10000_slice4.json.gz b/static/trees/deposits_xdai_10000_slice4.json.gz new file mode 100644 index 0000000..21e3dfd Binary files /dev/null and b/static/trees/deposits_xdai_10000_slice4.json.gz differ diff --git a/static/trees/deposits_xdai_10000_slice4.json.zip b/static/trees/deposits_xdai_10000_slice4.json.zip deleted file mode 100644 index f21b88e..0000000 Binary files a/static/trees/deposits_xdai_10000_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_1000_bloom.json.gz b/static/trees/deposits_xdai_1000_bloom.json.gz new file mode 100644 index 0000000..eb990f6 Binary files /dev/null and b/static/trees/deposits_xdai_1000_bloom.json.gz differ diff --git a/static/trees/deposits_xdai_1000_bloom.json.zip b/static/trees/deposits_xdai_1000_bloom.json.zip deleted file mode 100644 index ec76cc2..0000000 Binary files a/static/trees/deposits_xdai_1000_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_1000_slice1.json.gz b/static/trees/deposits_xdai_1000_slice1.json.gz new file mode 100644 index 0000000..531c56c Binary files /dev/null and b/static/trees/deposits_xdai_1000_slice1.json.gz differ diff --git a/static/trees/deposits_xdai_1000_slice1.json.zip b/static/trees/deposits_xdai_1000_slice1.json.zip deleted file mode 100644 index da3258e..0000000 Binary files a/static/trees/deposits_xdai_1000_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_1000_slice2.json.gz b/static/trees/deposits_xdai_1000_slice2.json.gz new file mode 100644 index 0000000..15a5d1f Binary files /dev/null and b/static/trees/deposits_xdai_1000_slice2.json.gz differ diff --git a/static/trees/deposits_xdai_1000_slice2.json.zip b/static/trees/deposits_xdai_1000_slice2.json.zip deleted file mode 100644 index 195044d..0000000 Binary files a/static/trees/deposits_xdai_1000_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_1000_slice3.json.gz b/static/trees/deposits_xdai_1000_slice3.json.gz new file mode 100644 index 0000000..c59f6ab Binary files /dev/null and b/static/trees/deposits_xdai_1000_slice3.json.gz differ diff --git a/static/trees/deposits_xdai_1000_slice3.json.zip b/static/trees/deposits_xdai_1000_slice3.json.zip deleted file mode 100644 index 6b18e4b..0000000 Binary files a/static/trees/deposits_xdai_1000_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_1000_slice4.json.gz b/static/trees/deposits_xdai_1000_slice4.json.gz new file mode 100644 index 0000000..b202ac8 Binary files /dev/null and b/static/trees/deposits_xdai_1000_slice4.json.gz differ diff --git a/static/trees/deposits_xdai_1000_slice4.json.zip b/static/trees/deposits_xdai_1000_slice4.json.zip deleted file mode 100644 index 0fce4b7..0000000 Binary files a/static/trees/deposits_xdai_1000_slice4.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_100_bloom.json.gz b/static/trees/deposits_xdai_100_bloom.json.gz new file mode 100644 index 0000000..e97ecda Binary files /dev/null and b/static/trees/deposits_xdai_100_bloom.json.gz differ diff --git a/static/trees/deposits_xdai_100_bloom.json.zip b/static/trees/deposits_xdai_100_bloom.json.zip deleted file mode 100644 index ae01a50..0000000 Binary files a/static/trees/deposits_xdai_100_bloom.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_100_slice1.json.gz b/static/trees/deposits_xdai_100_slice1.json.gz new file mode 100644 index 0000000..a4f4b53 Binary files /dev/null and b/static/trees/deposits_xdai_100_slice1.json.gz differ diff --git a/static/trees/deposits_xdai_100_slice1.json.zip b/static/trees/deposits_xdai_100_slice1.json.zip deleted file mode 100644 index f3fc61f..0000000 Binary files a/static/trees/deposits_xdai_100_slice1.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_100_slice2.json.gz b/static/trees/deposits_xdai_100_slice2.json.gz new file mode 100644 index 0000000..ffc872f Binary files /dev/null and b/static/trees/deposits_xdai_100_slice2.json.gz differ diff --git a/static/trees/deposits_xdai_100_slice2.json.zip b/static/trees/deposits_xdai_100_slice2.json.zip deleted file mode 100644 index e66c408..0000000 Binary files a/static/trees/deposits_xdai_100_slice2.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_100_slice3.json.gz b/static/trees/deposits_xdai_100_slice3.json.gz new file mode 100644 index 0000000..471e84b Binary files /dev/null and b/static/trees/deposits_xdai_100_slice3.json.gz differ diff --git a/static/trees/deposits_xdai_100_slice3.json.zip b/static/trees/deposits_xdai_100_slice3.json.zip deleted file mode 100644 index 8542957..0000000 Binary files a/static/trees/deposits_xdai_100_slice3.json.zip and /dev/null differ diff --git a/static/trees/deposits_xdai_100_slice4.json.gz b/static/trees/deposits_xdai_100_slice4.json.gz new file mode 100644 index 0000000..e1be01c Binary files /dev/null and b/static/trees/deposits_xdai_100_slice4.json.gz differ diff --git a/static/trees/deposits_xdai_100_slice4.json.zip b/static/trees/deposits_xdai_100_slice4.json.zip deleted file mode 100644 index 2a43556..0000000 Binary files a/static/trees/deposits_xdai_100_slice4.json.zip and /dev/null differ diff --git a/store/snark.js b/store/snark.js index 3aec732..ea82fea 100644 --- a/store/snark.js +++ b/store/snark.js @@ -1,7 +1,7 @@ /* eslint-disable no-console */ -import Web3 from 'web3' -import Jszip from 'jszip' +import zlib from 'zlib' import axios from 'axios' +import Web3 from 'web3' import ENS, { getEnsAddress } from '@ensdomains/ensjs' import { detectMob } from '@/utils' @@ -10,7 +10,6 @@ import networkConfig from '@/networkConfig' const { APP_ENS_NAME } = process.env const groth16 = require('websnark/src/groth16') -const jszip = new Jszip() function buildGroth16() { const isMobile = detectMob() @@ -26,10 +25,11 @@ function getEns() { async function getTornadoKeys(getProgress) { try { const keys = await Promise.all([ - download({ name: 'tornado.json.zip', contentType: 'string' }), - download({ name: 'tornadoProvingKey.bin.zip', contentType: 'arraybuffer', getProgress }) + download({ name: 'tornado.json.gz', contentType: 'string' }), + download({ name: 'tornadoProvingKey.bin.gz', contentType: 'arraybuffer', getProgress }) ]) - return { circuit: JSON.parse(keys[0]), provingKey: keys[1] } + + return { circuit: JSON.parse(keys[0]), provingKey: keys[1].buffer } } catch (err) { throw err } @@ -98,11 +98,8 @@ async function download({ name, contentType, getProgress, eventName = 'events' } // eslint-disable-next-line no-undef const prefix = __webpack_public_path__.slice(0, -7) const response = await fetchFile({ getProgress, url: prefix, name }) - - const zip = await jszip.loadAsync(response.data) - const file = zip.file(name.replace(`${eventName}/`, '').slice(0, -4)) - - const content = await file.async(contentType) + const buffer = Buffer.from(await response.data.arrayBuffer()) + const content = zlib.inflateSync(buffer) return content } catch (err) { diff --git a/yarn.lock b/yarn.lock index be223c5..6e8a54a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8692,11 +8692,6 @@ immediate@^3.2.3: resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.3.0.tgz#1aef225517836bcdf7f2a2de2600c79ff0269266" integrity sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q== -immediate@~3.0.5: - version "3.0.6" - resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" - integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps= - immutable@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.0.0.tgz#b86f78de6adef3608395efb269a91462797e2c23" @@ -10088,16 +10083,6 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" -jszip@^3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.5.0.tgz#b4fd1f368245346658e781fec9675802489e15f6" - integrity sha512-WRtu7TPCmYePR1nazfrtuF216cIVon/3GWOvHS9QR5bIwSbnxtdpma6un3jyGGNhHsKCSzn5Ypk+EkDRvTGiFA== - dependencies: - lie "~3.3.0" - pako "~1.0.2" - readable-stream "~2.3.6" - set-immediate-shim "~1.0.1" - keccak@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/keccak/-/keccak-2.1.0.tgz#734ea53f2edcfd0f42cdb8d5f4c358fef052752b" @@ -10277,13 +10262,6 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -lie@~3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a" - integrity sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ== - dependencies: - immediate "~3.0.5" - load-json-file@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" @@ -11904,11 +11882,6 @@ package-json@^4.0.0: registry-url "^3.0.3" semver "^5.1.0" -pako@~1.0.2: - version "1.0.11" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" - integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== - pako@~1.0.5: version "1.0.10" resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732" @@ -14232,7 +14205,7 @@ set-blocking@^2.0.0, set-blocking@~2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= -set-immediate-shim@^1.0.1, set-immediate-shim@~1.0.1: +set-immediate-shim@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" integrity sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=