Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E TESTS for solc compiler sha256 checksum #141

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

gabrielfalcao
Copy link

@gabrielfalcao gabrielfalcao commented Feb 13, 2024

This PR presents E2E solution to bring to light solc compiler versions which appear to fail checksum verification in terms of matching the data in each builds[].sha256 field in (URL: https://binaries.soliditylang.org/bin/list.json)

Excerpt from sync-compilers.log

Checksum mismatch for soljson-v0.5.9-nightly.2019.5.17+commit.88e9fbe6.js:
 e8872daa65cb5568fd826eeeaf2c46d75a589e47d926709e640f295c35d493fb != 76d67defa13b5379bfa848ae2a8d472ae329cbb38d2d62760a273adc7e26371e
Checksum mismatch for soljson-v0.5.9-nightly.2019.5.16+commit.46d6f395.js:
 042a25b5d5f624af65c7159cb4b53eac501308618fc78254a1ed1ec70f4af9b0 != ec8af12ca968ad28e4b952edd0a3e99c8a216f812b9cdcadb9609f142461d5ec
./scripts/fetch-compiler-path.sh soljson-v0.5.9+commit.e560f70d.js
Checksum mismatch for soljson-v0.5.9-nightly.2019.5.20+commit.0731abd3.js:
 07b98c7c10fdbcc237ee7254d9aff507db85f1ac706836f9f4ed3352a42c5617 != f72c0df6168d685904ebac85dad3876888fd5ec4c214d7a121cba7fd38afaa3e
./scripts/fetch-compiler-path.sh soljson-v0.5.9+commit.c68bc34e.js
Checksum mismatch for soljson-v0.5.9-nightly.2019.5.22+commit.f06582f9.js:
 719a08e7981cbbf79663cc9e3c9bbe740819bd4130c7bf623b041fe2ce97f9b3 != d00d7c0cfcecca4d0305ed8e2059422efec75a291f9cd45d51bc1960eccf8cb9
Checksum mismatch for soljson-v0.5.9-nightly.2019.5.21+commit.0e132d07.js:
 0ee7ad7376025b3fb19c1fdb36ed2b909fc9e4c9b2bd3baa20ca54f5852058f7 != 389b95a7d5c8d6196a4d4ee10d24642669c91467e8132df9ee5d6684952cf8d5
./scripts/fetch-compiler-path.sh soljson-v0.5.10-nightly.2019.5.29+commit.c9e2d388.js
Checksum mismatch for soljson-v0.5.9-nightly.2019.5.23+commit.7cf51876.js:
 85d06187c318eb304d1ff1d306efe05f216986583214f9516e8ac559210b89b0 != 67c4d148065d1a51d9c637c7a92dcbe7405bce8e3a1d2576dbb8e1fa6e0b4133
./scripts/fetch-compiler-path.sh soljson-v0.5.10-nightly.2019.5.30+commit.dd04a35c.js
Checksum mismatch for soljson-v0.5.9-nightly.2019.5.24+commit.2a2cea08.js:
 290e6cbfeb3f5c6f92e3a9cdfa53a3d1ef206679316c9e78f373935bc0292e72 != 9a655013a0f8037fb651b4dc5f90d378faeba19f4418a144c6be47232f2f22bf
Checksum mismatch for soljson-v0.5.9-nightly.2019.5.27+commit.c14279fc.js:
 edf4b30785c106a61cafce15b89979f5e5e8fd5fc4ba838c2cc5b522e865d0c1 != b185b71e9a85a05d9c8803f5e0368f1c39a24dc7ce0a709ee1a6c20f830edb6e
./scripts/fetch-compiler-path.sh soljson-v0.5.10-nightly.2019.6.5+commit.3a331639.js
Checksum mismatch for soljson-v0.5.9+commit.e560f70d.js:
 f4093cd51ab9e262149502d3c766fa33f9f5b36a5abc1f8aeb6e3f38f1dfabff != 9c6970aeed958d8d169857f728cbeb36aaff77bf7b56d1a8b219de4b983f765b
Checksum mismatch for soljson-v0.5.9-nightly.2019.5.28+commit.01b6b680.js:
 c0eaf7e8b8b8df96b26333359a9daac09d5efaf00518083dbf4023771e569bed != a1ff266e5f8c61379a1fb1231d0e4aceb4da05de39a13b183b9ef0fe31f64fb2
./scripts/fetch-compiler-path.sh soljson-v0.5.10-nightly.2019.6.7+commit.dc085bb8.js
Checksum mismatch for soljson-v0.5.9+commit.c68bc34e.js:
 49d387814bdffc766325a140d75703bee5fd08ace5224758177604da20f1f00b != 83e62e6e63fc85c856a0f8eca2a613927f6e749b27f19b7f85aafc762e783034
./scripts/fetch-compiler-path.sh soljson-v0.5.10-nightly.2019.6.11+commit.bd1f65d6.js
Checksum mismatch for soljson-v0.5.10-nightly.2019.5.28+commit.ff8898b8.js:
 8332a77acc9a1c31fb1785399f668bfa6eef9ba39809e47218eb3312afaf8f72 != b982892c6c75cf0654add2f2fabcfaaad03e41f45fa5580064e03be285ebc4a5
./scripts/fetch-compiler-path.sh soljson-v0.5.10-nightly.2019.6.13+commit.62bd7032.js
Checksum mismatch for soljson-v0.7.2-nightly.2020.9.3+commit.f9649660.js:
 f4a88873c5e3deb38cb4d33f12f65c1f758bd1a7df45681e6c1165c0b17c3bdb != 4efc72c6f9d1ae952b5289c3855d33bc30ee5f5b1af74530451052fc72b811af
./scripts/fetch-compiler-path.sh soljson-v0.7.2-nightly.2020.9.15+commit.3399570d.js
Checksum mismatch for soljson-v0.7.2-nightly.2020.9.8+commit.20233240.js:
 b75be608abcd99e626b6b549df11f1a7612e1472b29edf4cb5279df391da85f5 != 69e6d8acc289f19b5d42e6082645da660e7fd2f3126297ba44caf96b0a3127e6
./scripts/fetch-compiler-path.sh soljson-v0.7.2-nightly.2020.9.21+commit.d80a81b0.js
Checksum mismatch for soljson-v0.7.2-nightly.2020.9.24+commit.5711d664.js:
 7a3534ee34b4c02e19add6d21b0dbeb828f398b089cdf2fd1cb6050ee2988712 != 37a65b9b03171bd544138fbda6d9be2824868342049697e50c314927d1ae6af0
./scripts/fetch-compiler-path.sh soljson-v0.7.4-nightly.2020.10.16+commit.eedd12ad.js
Checksum mismatch for soljson-v0.7.2+commit.51b20bc0.js:
 a46e2f01e700355802f12f9260da99028a579848688d54379595fb72a3646c90 != dfa3f2bb4589bdc9c054292173c82ee70e65af8d1971598f6e13b9b79ba94185
Checksum mismatch for soljson-v0.7.2-nightly.2020.9.25+commit.b34465c5.js:
 af92afeb6a154f92f2b77b8a87cc99e743cb48ddc08f6cc92c877c0e51e9b7e8 != 0825d333e0842a125f73e39ba07d89ed58d36137e76dba27fdb3012252946563
./scripts/fetch-compiler-path.sh soljson-v0.7.4-nightly.2020.10.18+commit.6aae7cae.js
Checksum mismatch for soljson-v0.7.3-nightly.2020.9.28+commit.dd5b0a71.js:
 e1561b7ee697add7a516c13fe11cdb2035a3b914b781a3c2c537b2a02dd3cb48 != b8d9128ddd754fb1316ca13d9a1715b1a82f9e94e77f32092e9ede22df0f2455
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.10.20+commit.06394672.js
Checksum mismatch for soljson-v0.7.3-nightly.2020.9.29+commit.343c13f9.js:
 30bf6c1435af4d7f2e3166efe2e2529f8f6281794352949fdff84954b4bef07b != 1300e2dfc49ecee6c9f3de36a2aa2dc940b154e6cf54244104cdd1c6e6194bbb
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.10.21+commit.38d58a45.js
Checksum mismatch for soljson-v0.7.3-nightly.2020.10.6+commit.25d40805.js:
 0db607731d34d46477f755d2c033c76b14485c8abbbcf9ff2a0502731c8c24ab != 90073a5037a2df0370b04bc3dadd3fda4c4a938971cfcaf1239a66864c9f3325
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.10.22+commit.95c521a3.js
Checksum mismatch for soljson-v0.7.4-nightly.2020.10.8+commit.3739b03a.js:
 3b32d617a866c37be21c7e81366567704e31f20d1a4068edbb5b5bec238b6414 != 2b3a902c5082958b25cb9e5f50ac66e4daca70e88483524edfc8c78e944f8a4b
Checksum mismatch for soljson-v0.7.3-nightly.2020.9.30+commit.3af21c92.js:
 5d18cf8075318f0307f0e2108bbd16b830c296c373a9a4096138f5ef506402c3 != 5affeb4c018d99bb176d398706f3496e191f806272dedbbbbc83b6466d5d0080
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.10.23+commit.08a27b9c.js
Checksum mismatch for soljson-v0.7.4-nightly.2020.10.12+commit.abfa136a.js:
 fd3e4ce5806d3ce54d99e452fa4c36f82359ad29c10694c4db71f628da531db6 != 60acb4d43be837943e1878796a2d95e3fd2647e3b6ea596897cf361944ca0a86
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.10.26+commit.96c188be.js
Checksum mismatch for soljson-v0.7.3-nightly.2020.10.2+commit.756e21a8.js:
 3dc1d8e61bd1352764323df4156c1361de702a065f79ece01131b8431fb6ea78 != ccb5272e7f5f8f747b5a77d6981b3814b8207b117c42e664234d39662505fb26
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.10.27+commit.f1ed5100.js
Checksum mismatch for soljson-v0.7.4-nightly.2020.10.13+commit.8d241fec.js:
 2c83e4903956575a0e55f5ecabee7393f0663d073b63faf5bd44f3bca03b5e75 != 3c8a6a981f0abe94679e68f2d131e683783055fb309622cfc47636cf22973159
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.10.28+commit.f42280f5.js
Checksum mismatch for soljson-v0.7.4-nightly.2020.10.14+commit.36a36caf.js:
 659e029ad732938fad9b807e372e30342d1f4f192dab31e8598c0ffd554caa9b != 6790e9546e9c0cbead744873a07c41146cba023d0a858308edab5db51e802b74
Checksum mismatch for soljson-v0.7.3+commit.9bfce1f6.js:
 234fe2168aa1ead453014d5900c9c8db7b8d664ff9ac367b65426a283c250389 != caf4b1f3e01fcf946aad2d22bbe046b9dc4fd50049a05c3458ff239e2c93a785
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.10.29+commit.be02db49.js
Checksum mismatch for soljson-v0.7.4-nightly.2020.10.16+commit.eedd12ad.js:
 f5f589fdb94ad6a1c732e883f5cbaebb52c16cfcb0b1a837c395967023fb3142 != 2004ab7c5d944874aff7bacf3434818c559af0e9a97526122dbadc4b0e732167
Checksum mismatch for soljson-v0.7.4-nightly.2020.10.15+commit.9aafb62e.js:
 780a4909ae4ef2047553479acf311859b59c5ed3e80677f7cdaa8b37144af0ca != 5f1a6b6c5a12e1da0b343e993f81cda86163f0ef0f100a6bb951dda03881c686
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.11.3+commit.a8045ba5.js
Checksum mismatch for soljson-v0.7.4+commit.3f05b770.js:
 7a45ced8c1cfce28e133df65f2a9065537c8425f953c3365167e49dfa26af5de != 2b55ed5fec4d9625b6c7b3ab1abd2b7fb7dd2a9c68543bf0323db2c7e2d55af2
Checksum mismatch for soljson-v0.7.4-nightly.2020.10.18+commit.6aae7cae.js:
 1755476fc917826789ba85a4f8cd89f87d0d7fe9794c351394776d6496376ed2 != b5bc16a161a6e2a3756af255a1a74bfe220a0277f938fde2268108eb5bc21471
Checksum mismatch for soljson-v0.7.4-nightly.2020.10.9+commit.d9215cf9.js:
 02d1aaaa6f9b71125a35564f363d45a57e3b7e3ca01ef1a082feae5165736d3f != eeaa75853c45fa7a30bf19405dfa261f8e95b4eb989e6bf4f494743f4cfa01e0
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.11.4+commit.5b412544.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.10.23+commit.08a27b9c.js:
 8a424883dfc20aab0d9ab67a94fca4f2d0091d9ed2b5828ee31373b6d0d27d5d != fe96ea2d5142e000eef3aeeb3ac5f1b5b20bf90406caa814a7dd0f848cab5235
Checksum mismatch for soljson-v0.7.5-nightly.2020.10.22+commit.95c521a3.js:
 af5bd460c38f69ca194daa830d2627e98463e4491397fe34979b1ed070de7947 != c053c85e26f1198e51b24e9e4690aabae3809ecfda42e888e4866592f1c58148
Checksum mismatch for soljson-v0.7.5-nightly.2020.10.21+commit.38d58a45.js:
 349e79848271dbdaee49d274fbece0adebaa385228d0683f73496bd74fd2bedf != 4d3c38333ab3b9ee6e724c2e1033647fa522a2f6a3cefcacff963c412fb74ad4
Checksum mismatch for soljson-v0.7.5-nightly.2020.10.20+commit.06394672.js:
 4252dd5d06ad688981e8cf932c401ced1f6fb58ca38742b0488dffa8a724f3c9 != e4dd9e777d80f261bfa104abcf2cef66e451ac5b8e90af8f8b41075c4961e49e
Checksum mismatch for soljson-v0.7.5-nightly.2020.10.19+commit.58579332.js:
 802bc51c5c426a61aa10769dfedf90e94b9aed4d4bf5ecfc7fcbdadfcad5fc68 != b3be49c5b1007d931100e208635ea760057a714e5949cae7a71fa522d3a6ebf5
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.11.5+commit.f55f5c24.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.10.26+commit.96c188be.js:
 aa69092ccd489e8258aac32ebd94ac63ee77786dc5c19ca741fa14a822e01032 != d77c985cafc66d1fa0dd703751468b809b220a9795e02b0033a790a54468174e
Checksum mismatch for soljson-v0.7.5-nightly.2020.10.27+commit.f1ed5100.js:
 6000400cf18f9fae580a40e0261eb9909e83b0cd922debcd058c1ab126fde4d9 != 9028d267a34a65e032eda6a7a546afb0cc0685c94f32955d5fa7e3f99af4c72b
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.11.6+commit.6fa42b5e.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.10.29+commit.be02db49.js:
 c3b400a4f1d44ceba615bb1981c8547e3339d23788ed024d1f6cce1b690d2ccd != 72a91ab716af4e3d24fa30a77c7c8d882916dee8b2bc8c86b79b107627c546fb
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.11.9+commit.41f50365.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.10.28+commit.f42280f5.js:
 bd6d6f90070758182bb01ab1a45c2d55066e1b0e67a030f68437490962912404 != 1392a6326e032b317f8b5f7397f1188cc014db72b6ba6499044f3ccd4f0a4e74
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.11.10+commit.d3a016b5.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.2+commit.c83d8fae.js:
 e892dcd91a4f44c96ae8d8ca69fab2ecb8a29a434ff6caac977f1771275ef4e0 != 098a8d1cc14c36a838febe72698fe7221dcce5e44304af701b5d0fc860ef5581
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.3+commit.a8045ba5.js:
 47c1c1e4d98d939fc2f3123be9a02fe34b448813738f216e7b16576ee034c026 != 82f9e973bb0b32a1458b848700f181d30e44ec8ed4e4e6f90b15b5d3a2afda28
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.11.11+commit.44eb63fa.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.4+commit.5b412544.js:
 038edc4b6905cb7b25091e3e08a0e0bbb2c40db00a641692dced2a91fec8bdb6 != d41bfe8d047c12097d21f3e7bf07ac7f3f00712157b9403fe82146ccc69f3b60
./scripts/fetch-compiler-path.sh soljson-v0.7.5-nightly.2020.11.16+commit.a97521bf.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.5+commit.f55f5c24.js:
 4a6501fc54dd2b5da165c86d32b5793b783de6ba51efa4cc42b5f5250ff1c6e1 != c50641df2e433f60c6cfd48dac43efe1a25704e1d79e5ce830b5a1fe224cbb7b
./scripts/fetch-compiler-path.sh soljson-v0.7.5+commit.eb77ed08.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.6+commit.6fa42b5e.js:
 1b39b1016774270d2de3d7cffd516f1452c90d631319b5df78a44d776bae7bcd != a8d757bbd1dbeeb398fb8a0cd7e6ebef561e25e30302ea41a4c5b508ad474649
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.11.18+commit.bfe87378.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.9+commit.41f50365.js:
 ba531eb0a3b128469a866bced314f9e96c190915b067bf53c4ba3fa59687bf3d != 48cd169d9f32b1102cfdf0eebfd94b16ebb84a85b32be3703a5c98f2608e8254
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.11.20+commit.3a3303f2.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.10+commit.d3a016b5.js:
 3d7dbb90efc398e1587a691348faa02e2d7616dfd0cf2d0387f4a83c41c08f73 != 0ccb6c3b4438a0394be0c683afdaa199d652b34d8714abea109a88aa8c804586
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.11.21+commit.8bf455bb.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.13+commit.f1846b57.js:
 a67cb283b1785938bb312ed5dfe3b0700a67aa67fa03610f06239c7de4a2d917 != d4d4f3de070a18bc863bc4a0e833fbb57b80ca7916a231f0a0cb0eeb217db135
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.12+commit.c69c7f32.js:
 c39a8199dc8ce82a826a983d14777efd01a5bb138e6ff69c5889f32b591d2c5b != 60bdb4d2d640e5dcc83e2ff43869384e8d4501ce4b7a8c30fca3d30d402098be
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.11+commit.44eb63fa.js:
 6eacd1dd20405677e51027416d9b4ab51dbddef9ac13466783f14e086077fd44 != 7bed2b91f63ad4dbce069b56aab6e09f8512f582e2ab66a069b3f733c24a239d
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.11.23+commit.61425e35.js
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.17+commit.e1292380.js:
 059164963f6f736992205d3d1005a1158b1b84b35d10a092b40dd7e48f992018 != f731b44179de5c0a7b0e926e8f3516a61b7a4529d9a251e24bad25ff3a19ae58
Checksum mismatch for soljson-v0.7.5-nightly.2020.11.16+commit.a97521bf.js:
 12f65f54c1a6f9fb84e9d9060ac3c36eb5c7a764a7a23683619b7d2a076972f6 != e46f88b974e1aba31c8e310220eb29c7155859f219854d148622a4d548756f6b
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.11.25+commit.7eb5fc31.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.18+commit.bfe87378.js:
 f39c3d9795ee6ef4d1d78c5d08005e8bd3569e93107ad8778a0a0dd5559d22ca != d4efb86b4c25db81975c9039bc8fceb14c0d89bbbc3caa6b08c4cf9b5e9d8d24
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.11.26+commit.e8843fe1.js
Checksum mismatch for soljson-v0.7.5+commit.eb77ed08.js:
 a438edcda8fa838db11021372b9ac210a3b57ea7788239bb2221be3bc729b76f != 2ee1c6434a32a40b137ac28be12ceeba64701bfad5e80239690803d9c139908e
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.11.27+commit.887569ef.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.19+commit.8d315ee1.js:
 8a31141266c4fdd0313b52b7655baee316aa3c793ae878b6d9221e6871653bb1 != 2b09828cf0cfe61159bab6102be056d8f2efb6f84affbc99c398ad48a74d2b02
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.11.30+commit.91e67472.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.20+commit.3a3303f2.js:
 ba7eb3433325f62a2394daa6f659e4633a7aa02cdebf2d3c1003dd562a2e012f != 71453308e83eebe5f15972429db9940d30fb23bfa311165382b38188da553030
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.12.1+commit.e10712c1.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.21+commit.8bf455bb.js:
 ef6b615870b70b4e4d98342d4ee0344900b66155b74e5e962a00b4d4e2dfdab1 != cceda83c29458ce97b18babf37a9710841338a2c5536a78e86a88d158cb653de
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.12.3+commit.a27d7707.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.24+commit.ae34fba4.js:
 4ea15de20561e4d4d174e789d09d014379673bb3f82b63315d198121bdb32947 != 843487f036bf768d671bf547db1df9fd882f1e179c5f850e1fc5dad2d208b802
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.23+commit.61425e35.js:
 3edb1e86533004857ce0aa4d4e0f8316255e5cc19ef9bf32bc99c0eb35add056 != 3f5bc8e9e2020e7649af06a224f4672b1642cd5edf045c23ef8924270c030bb0
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.12.7+commit.b23d9230.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.26+commit.e8843fe1.js:
 5b2353a6243180dd3c1aef04e6de10dcff3d04481734452b7b06051188886ded != 82cb891d11b457f227dc6bce88bcdc30fe576981c900cf531281bfae5b5d9293
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.25+commit.7eb5fc31.js:
 8f0af80d863db294d0d0a9269d5bc84464f722f503b91e03278aedb8089ce9e8 != 70fc531fcaeaba46cd684a11b8a8f7585ba46cf9a273f110e3a7dd18721acfd1
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.12.9+commit.7e930f7b.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.27+commit.887569ef.js:
 c8243f61a6ee08b0f6a73a3c83c083df88fb296d08efb448333288edac25ffef != c01f2d951878266fa685b6dfe15a8159281906c5da435719cb29dca8ccfb2ba7
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.12.10+commit.9e4f3bad.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.11.30+commit.91e67472.js:
 7c1ef5129aa31bb1982702ca73d4d78b3c1ed2e0694ecbbcfad71ec6dac73059 != d4e2c8b093a76d77597a194d2f0f5e862506d16adc7e87b254d022c34a7f2525
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.12.11+commit.db9aa36d.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.1+commit.e10712c1.js:
 91ab32d32df3b3a14a423c96c211fedc0a07388eeb76f4e0c4e10e75fef3ddab != bbc2914ebc7c5e3b808c723a135745873175c06acc488fba890bc501bd8d7614
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.12.14+commit.d83ce0bc.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.2+commit.3cd0b252.js:
 a5236ba2b6b6138356ad8e25fe7dd4a7d9b4a7bec19fce072a59fc1cc3f60fef != 93d085031e8e18b9886a01149b48f85c8a173543eb27a4faf04a447367dbb0d5
./scripts/fetch-compiler-path.sh soljson-v0.7.6-nightly.2020.12.15+commit.17293858.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.3+commit.a27d7707.js:
 54e50d490aab5bc98ff47387e3d508ee4d8f339bd95206c16c9493531d1170cf != 98d9a1511e1ced71a6af979706f0fa2bd32648f8082d3afbdb0fcdbf3772e462
./scripts/fetch-compiler-path.sh soljson-v0.7.6+commit.7338295f.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.4+commit.3619a0a0.js:
 7c8b583862e0024f2705545c9c63be9a42dbe6e8934046eedd6a5b7204afab00 != 7f5706778e5e45aa99c3343e0d7891a49ca83c0c3f77b01cb16934d9af7cc9b0
./scripts/fetch-compiler-path.sh soljson-v0.8.0+commit.c7dfd78e.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.7+commit.b23d9230.js:
 e98c0975fdda2a34891f2cbdb551ff252748252db727c244bd398d92f8e4b784 != d4de5e16a1f3848554e29e673eb94e1cbc2fd712c71e787163cf83373fa2a911
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2020.12.16+commit.2be078b4.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.9+commit.7e930f7b.js:
 c347027bdc74d5091ef4af28ffcd93be1b709a9086a2402086ed5627a84a5e6e != 8c5b6a8d37f7be8ff65ed02960a99247a95f3f923aaa6965d23d43e9d34241fd
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.8+commit.0d7f9ae1.js:
 aeb6066a07f605994e8f5eaef1ad12465e8aa161d64ddb15c68d530a5232d33f != 87e7f26c7f36db9d2c26e8d6e3b0ebbe9d0d7fb190bc394aeb78d9e91ecab3e7
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2020.12.17+commit.8194cbb4.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.10+commit.9e4f3bad.js:
 b4248389503bdc3be8417dd97f7faa44972312fb097e631a65c67f94cf254919 != dd1d5e8b5aa0d0890462f30f4e4fb8a53298c91cc81592feae114283680b8569
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2020.12.20+commit.67712d50.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.11+commit.db9aa36d.js:
 6d5e27281d51fe902bd99b7a3c253a52f7e9afa8c111aa57025dd09429806bdd != b544e9c8aec6f84863f40fae4a5d4ae2595ed9d99b3f36c1d6c46c5826a575f0
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2020.12.21+commit.b78443ac.js
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.14+commit.d83ce0bc.js:
 d0d8292ca7315587a2e3fb408f1c4012b90088ead3ec1260957d2e8ee04bf87c != 926b19ba4922384295e1d31ed8d9e81a2d5896e845a1105f4680d36938eb65b9
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2020.12.22+commit.e299d8ba.js
Checksum mismatch for soljson-v0.7.6+commit.7338295f.js:
 e4c182ddef499167bf3a69ef9428ef90df8491cd5629a98d39ebe17cef1f56fa != b94e69dfb056b3e26080f805ab43b668afbc0ac70bf124bfb7391ecfc0172ad2
Checksum mismatch for soljson-v0.7.6-nightly.2020.12.15+commit.17293858.js:
 e5fe9b4a95860d17e4e0dfc06fe8f96b23781a290c76233ca7506b4bccdee6b5 != 3c6e84d5a4a74949f2eeaab7b57c8affaea31d6ce117719eec425cd25715d5f2
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2020.12.29+commit.86c30b4c.js
Checksum mismatch for soljson-v0.8.0+commit.c7dfd78e.js:
 9f6f97eba53ae91013c183b6e887096927d7a8eef240ded927846498d1c42a03 != c596765f9b3dce486cf596ea35676f37124d54f3ada0fcbc02f094c392066a59
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2021.1.4+commit.fce6d999.js
Checksum mismatch for soljson-v0.8.1-nightly.2020.12.16+commit.2be078b4.js:
 90a31ea1bc6aa91480024d1c3b9292effcb107fde345c450cc5f9e335a00c760 != 1572c6226d01293ab30a66b24712b7879ce4e9911c687490ca4cb994c4ce0202
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2021.1.6+commit.5241b7b7.js
Checksum mismatch for soljson-v0.8.1-nightly.2020.12.17+commit.8194cbb4.js:
 d2488746284f2c6fd612770cabc18b0977e6997a84ce2be52e2c567a6ad091fc != 38dadbc7793c61ea3278d4a612ed23dde2ed0eee0b9cc7c54b66f4c53d09cd26
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2021.1.7+commit.d11cf15d.js
Checksum mismatch for soljson-v0.8.1-nightly.2020.12.18+commit.158154ba.js:
 6bc52b4d6c8dbad2c0fc74998fbda708236205c7df9b10df7566ec4abe54c894 != bd06247bd73e5b6b3b1fdffad959149ea3cd79e0f24bb76fb680413ad900fca6
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2021.1.8+commit.f03245d4.js
Checksum mismatch for soljson-v0.8.1-nightly.2020.12.21+commit.b78443ac.js:
 25473d5ee130acfcce289f54a78d313af16561b73f778cf36613d1effc211a5c != e0b2f9f62d9e70b7167da31662a91115fafab137c7bb88adea56939deabb708e
Checksum mismatch for soljson-v0.8.1-nightly.2020.12.20+commit.67712d50.js:
 cbc876f57a26e2a54e56078deb36268fcdc1b7dfa52aa8b15d682296c956a313 != d4390eef8df7644c6ccedf6263689ac231503c30b62d27927265e61715bdeb4e
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2021.1.12+commit.e9dcd4f8.js
Checksum mismatch for soljson-v0.8.1-nightly.2020.12.22+commit.e299d8ba.js:
 3cd18ad3fc656f8877d53e32761323ca52c4482356087174d48be2d461786bff != 154727f1b0aa68459797effd51d8b953f5c8d8f7a5bf941332a422befd0536da
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2021.1.21+commit.3045770a.js
Checksum mismatch for soljson-v0.8.1-nightly.2020.12.28+commit.8e9a5a02.js:
 e62451a905e22297142675074dc6269cfbe29fa667a514e06830548c7907c24c != 50eaf1ba143cf4e73ad09704d8eccae7faa004a5e80ec0968adb18da31da062d
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2021.1.22+commit.8a844237.js
Checksum mismatch for soljson-v0.8.1-nightly.2020.12.30+commit.0e32fa82.js:
 59457157e43f9bffc027f5b4447e87709135fbe65d62df257693a6c972d2afa1 != b1491b3835a041f90c4d2b1e5cc9e79231626b85259e9043fb59a6386f178419
Checksum mismatch for soljson-v0.8.1-nightly.2020.12.29+commit.86c30b4c.js:
 1816215ea9a515fa967ac02266ab62117826387657b3f6c091a8083daaf39ed5 != 7542ce7c992028a2ba48ca9f8d376f32d7069d1bae4390d43e88aaa7640b60e1
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2021.1.25+commit.ccdf57c9.js
Checksum mismatch for soljson-v0.8.1-nightly.2021.1.7+commit.d11cf15d.js:
 6a6979c3db9b55529b873733035ad51f6f1a87b6237914e04dd755ca02d6ab91 != 0eff232fd6b62547dbab53f0822a638cde4f0088cc84e04f1bb6f3fadbde67db
Checksum mismatch for soljson-v0.8.1-nightly.2021.1.6+commit.5241b7b7.js:
 98666fcba8075b99727a02917795c6889f3eb39fdb39896d5671f68bac18127a != fdde3d1261a3ee3aa3de421dd1ecf93644290eca31a3529470d5bb23920f7de8
Checksum mismatch for soljson-v0.8.1-nightly.2021.1.4+commit.fce6d999.js:
 dd45cf24563b93dc4d3deb6640e2853f5d8aaf7aeb791eae8700fe5b5d50ca2e != 53f1d513bf88080a7554defb89128c0184e5b29f1859d728de8ea8fa48969a42
./scripts/fetch-compiler-path.sh soljson-v0.8.1-nightly.2021.1.27+commit.34fa756f.js

@sambacha
Copy link

hello, I checked your script and found an issue:

in functions.sh

calculate-sha256-checksum() {
    file_path="${1}"
    sha256sum "${path}" | awk '{ print $1 }'
}

fails shellcheck with error:

$ shellcheck
file_path appears unused. Verify use (or export if used externally).shellcheck[SC2034](https://www.shellcheck.net/wiki/SC2034)

fixing it to just path=${1} and running your script shows no mismatches, here are the logs: https://gist.github.com/sambacha/fd41c326aedc0d844397f30ceab0ff10

However, I am not entirely sure that is the reason, it could also be how the function is implemented

calculate-sha256-checksum() {
    path="${1}"
    checksum=$(sha256sum "${path}")
    echo "${checksum}" | awk '{ print $1 }'
}

if we invoke the sha256sum command separately, we can use its output in the checksum variable using command substitution via checksum$().

Thank you for taking the time to do such checks. There have been instances in which the produced artifact checksum was invalid over the years. The latest such instance being, 0.8.25 (yes the latest release).

Here is the output of the sync-compilers.log for your verification: https://gist.github.com/sambacha/fd41c326aedc0d844397f30ceab0ff10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants