-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
ReferenceError: cov_vyj5vtdds is not defined #1327
Comments
If you are using |
What you mean with
|
BTW, I used |
If you want to use nyc you can do the following: const os = require('os');
const { DynamicPool } = require('node-worker-threads-pool');
const Pool = new DynamicPool(os.cpus().length, { shareEnv: true });
const someFunction = async (params) =>
await Pool.exec({
/* istanbul ignore next: nyc must ignore this `task` function or you will get a failure */
task: async function() {
const { params } = this.workerData;
console.log('params', params);
return params;
},
workerData: {
params,
},
});
module.exports = {
someFunction,
}; The problem is that nyc rewrites the task function to perform coverage counting but in doing so the task function becomes tied to the source where it exists. You can see this by running |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
After adding `puppeteer` we started getting `cov_{id} is not defined` errors. This was caused by `nyc` which hasn't been updated in years. It would make sense to move to a more up-to-date coverage library. See istanbuljs/nyc#1327
After adding `puppeteer` we started getting `cov_{id} is not defined` errors. This was caused by `nyc` which hasn't been updated in years. It would make sense to move to a more up-to-date coverage library. See istanbuljs/nyc#1327
After adding `puppeteer` we started getting `cov_{id} is not defined` errors. This was caused by `nyc` which hasn't been updated in years. It would make sense to move to a more up-to-date coverage library. See istanbuljs/nyc#1327
* Typo * Fix new Blockscout UI scraping Since the new Blockscout uses client side rendering, we need a browser to scrape the page contents. Use puppeteer to scrape. Also update `txRegex` to be an array to support trying multiple regexes. * Install puppeteer dependencies * Install puppeteer dependencies on new branch * Lower lib-sourcify coverage limits * Move from `nyc` to `c8` After adding `puppeteer` we started getting `cov_{id} is not defined` errors. This was caused by `nyc` which hasn't been updated in years. It would make sense to move to a more up-to-date coverage library. See istanbuljs/nyc#1327 * Replace additional commands with `nyc` * Replace `nyc` with `c8` in `bytecode-utils` * Build before test in `bytecode-utils` * Replace `nyc` with `c8` in `contract-call-decoder` * Silence the coverage report in test results * Replace `nyc` with `c8` in `lib-sourcify` * Remove nyc from server .gitignore and package-lock * Fix package-lock's * Fix package-locks * Fix 'Please use only .send() or only .field() & .attach()'
Squashed commit of the following: commit 7fe95a03f149f94e01b527a27fef78b168a14d30 Merge: c4609a3 7d34517 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jul 12 17:47:37 2023 +0200 Merge pull request #1107 from ethereum/staging Quick Release commit 7d3451760dc8ccc466069ccc80ccb409ca64604e Author: Kaan Uzdoğan <[email protected]> Date: Wed Jul 12 17:27:53 2023 +0200 Add logs to LibSourcify commit 6e9b79e02ad26b1d1cfcc5408a5f508d085092e2 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jul 12 16:54:56 2023 +0200 Remove keys in /chains, rotate Etherscan keys commit ea03169134b02423e676e05062c225ac1cde64a9 Author: Kaan Uzdoğan <[email protected]> Date: Tue Jul 11 11:23:03 2023 +0200 Add ethpandaops nodes credentials commit f4d68cf8fceb807598550a8d185ebf8ddca315d4 Author: Kaan Uzdoğan <[email protected]> Date: Tue Jul 11 11:10:26 2023 +0200 Use SourcifyChain class with providers commit 635852819856ee653ca70449362c1f1e1efbb99c Author: Kaan Uzdoğan <[email protected]> Date: Mon Jul 10 14:06:48 2023 +0200 Add Alchemy Sepolia commit b48baffa49f5680bf857c5d93b8950c1b915aaea Author: sealer3 <[email protected]> Date: Wed Jul 12 08:14:31 2023 +0000 Catch auxdata decode error when checking for perfect match commit aab46e45bd28f4b9f3c3f9ce4fecf3fc82b7e0de Author: Marco Castignoli <[email protected]> Date: Wed Jul 12 13:47:25 2023 +0200 keep waiting 60 seconds after deployment of salted contract in verification-e2e test commit fe9bf9758bec8c175bc0c79c03e70deb203dcb32 Author: Marco Castignoli <[email protected]> Date: Wed Jul 12 13:26:57 2023 +0200 use new metacoin-source-verify with hardhat commit c4609a31727e8113bb2dca62c9bece8c55aece86 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jul 12 09:20:12 2023 +0200 Bump package versions commit 39705aa5701522335fa57ef9ce1d4c03de1820ab Author: Kaan Uzdoğan <[email protected]> Date: Wed Jul 12 09:20:12 2023 +0200 Bump package versions commit 2826c5b3760db9b39cfedab5a36012571b952232 Merge: 528d5a3 96ba358 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jul 12 08:42:10 2023 +0200 Merge pull request #1102 from ethereum/staging Release commit 96ba3588e346ce72d85ad14fea61a7b2c90650fb Author: Kaan Uzdoğan <[email protected]> Date: Tue Jul 11 15:55:03 2023 +0200 Fix sudo when apt-get in containers commit 1658af5cab4106af28ef6133c1d23662a4869a85 Author: Kaan Uzdoğan <[email protected]> Date: Tue Jul 11 14:37:02 2023 +0200 Blockscout scraping (#1092) * Typo * Fix new Blockscout UI scraping Since the new Blockscout uses client side rendering, we need a browser to scrape the page contents. Use puppeteer to scrape. Also update `txRegex` to be an array to support trying multiple regexes. * Install puppeteer dependencies * Install puppeteer dependencies on new branch * Lower lib-sourcify coverage limits * Move from `nyc` to `c8` After adding `puppeteer` we started getting `cov_{id} is not defined` errors. This was caused by `nyc` which hasn't been updated in years. It would make sense to move to a more up-to-date coverage library. See https://github.com/istanbuljs/nyc/issues/1327 * Replace additional commands with `nyc` * Replace `nyc` with `c8` in `bytecode-utils` * Build before test in `bytecode-utils` * Replace `nyc` with `c8` in `contract-call-decoder` * Silence the coverage report in test results * Replace `nyc` with `c8` in `lib-sourcify` * Remove nyc from server .gitignore and package-lock * Fix package-lock's * Fix package-locks * Fix 'Please use only .send() or only .field() & .attach()' commit 99f7d7d55edd3f6ae55a4f3bb41df9fbedac18df Author: siberiumsourcify <[email protected]> Date: Fri Jul 7 10:54:05 2023 +0300 Add chain 111000 (#1093) * add chain 111000 * add chain 111000 * Add accidentally removed `txRegex` of Kava EVM --------- Co-authored-by: Kaan Uzdoğan <[email protected]> commit d0b7268041678f19f1eea04504434c00b24716de Author: Kaan Uzdoğan <[email protected]> Date: Fri Jul 7 09:42:13 2023 +0200 Remove Postman collection, update license year Removing the Postman collection in favor of https://sourcify.dev/server/api-docs/swagger.json commit 3e564f3fb5f06d0e5acfdbae6a6580d7a0bc7db9 Author: Raghu Thiyagharajan <[email protected]> Date: Tue Jul 4 11:31:18 2023 -0400 Add Kava Testnet Chain (2221) commit 7bf9c0209bd8124ab65103d8364a14c76d183aae Author: James Hinshelwood <[email protected]> Date: Thu Jul 6 10:15:31 2023 +0100 Add Zilliqa Testnet EVM chain (33101) commit 4796ab4dfce20786d9ebe2d89b475bbcebae9882 Author: James Hinshelwood <[email protected]> Date: Wed Jul 5 16:31:02 2023 +0100 Add Zilliqa EVM chain (32769) commit 6c58f9ec3b5da87c53c198eebb8ea413a552d58f Author: Kirill Madorin <[email protected]> Date: Wed Jul 5 20:47:19 2023 +0200 add chain 314, Filecoin mainnet commit a7b349b612650531599115408a061aff9727f550 Merge: fce2bd0 d4397c7 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jul 5 15:09:19 2023 +0200 Merge pull request #1083 from ethereum/web3-to-ethersjs Remove Web3 in favor of ethersjs commit fce2bd02ce7c95e4029b6f9a3904bf719e5a8486 Author: ksandr <[email protected]> Date: Wed Jul 5 12:30:50 2023 +0300 Add chain 61 (#1077) * Typo * Update sourcify-chains.ts Add Ethereum Classic (ETC) * add tests for Ethereum Classic * Update sourcify-chains.ts * Update monitor at sourcify-chains.ts upd monitor for 61 --------- Co-authored-by: Kaan Uzdoğan <[email protected]> commit d4397c78815cd70a46ae73ed29d4bdc9e0e08972 Author: Kaan Uzdoğan <[email protected]> Date: Tue Jul 4 18:45:47 2023 +0200 Avoid JsonRpc retry in 1s, use staticNetwork commit a210c1e893677acefabdb4078599a4834358f512 Author: Raghu Thiyagharajan <[email protected]> Date: Tue Jul 4 03:34:37 2023 -0400 Add Kava Mainnet Chain (2222) (#1087) Co-authored-by: Raghu Thiyagharajan <[email protected]> commit 0fb5bcdc3e3c0161a9256fb87242e01571329d0d Author: Marco Castignoli <[email protected]> Date: Tue Jul 4 09:17:11 2023 +0200 disable codecov comments in PRs commit 59201453f0f9d0c9a8263e2ea16c412902ad725e Author: Kaan Uzdoğan <[email protected]> Date: Mon Jul 3 18:05:58 2023 +0200 Turn off support for Stratos. Fix Ganache in tests commit 44925c9769bdcb857ee185530a99dee38a4fc8bd Author: Kaan Uzdoğan <[email protected]> Date: Mon Jul 3 17:53:44 2023 +0200 Revert chainId to number in monitor commit d1f658af52411ea83846e2ad12b610da6cd82ca5 Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 30 17:20:09 2023 +0200 Remove web3js from server tests commit add6d087502aa6fc3430fae753c92b4543d81ac1 Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 30 16:02:42 2023 +0200 Delete unused test/utils.js commit 56996aecf6a30cd8ed72d365900f59a3122a207f Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 30 14:08:49 2023 +0200 Remove web3js in monitor tests, refactor monitor Removes the webjs dependency in favor of ethers.js in monitor tests, as well as in monitor. Change ChainMonitor state variables chainId etc. into a single SourcifyChain. Monitor optionally takes a SourcifyChain[] as a parameter to initialize, otherwise gets the monitored chains from sourcify-chains.ts Using SourcifyChain in Monitor causes chainId to be a number. Change the variable type in places and in SourcifyEventManager accordingly. commit 335826574f65cdd02735d3b9ead71477259bcace Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 30 14:08:36 2023 +0200 Remove web3js in server and monitor commit 238e3740666a74acd8ae8be5873ca855bc767145 Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 30 11:14:52 2023 +0200 Fix .only in tests commit e730091ab04c027f0d93b3218f34dde1aeed5c95 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 28 14:10:20 2023 +0200 Update contract-call-decoder package-lock commit 5d36ed93e76a5a59cf2146347672b0d95d9fc849 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 28 14:09:27 2023 +0200 Refactor malicious creationBytecode test The test was failing because of an ethers.js error: https://github.com/ethers-io/ethers.js/issues/4182 Remove the unnecessary contract deployment and explain the test in detail. The test code and it's title was not really understandable becuase it was mostly copy-pasted from the above test. commit e92dca0abce9ea0f769611319ad859ec70640740 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 28 14:04:21 2023 +0200 Remove Web3 in lib-sourcify commit 42828a33418ee8aedbc262d5e504d9fe6b80e830 Author: Marco Castignoli <[email protected]> Date: Fri Jun 30 11:08:26 2023 +0200 Implement logging for LibSourcify (#1082) * implement logging for LibSourcify * replace all console.log in lib-sourcify * add logging to lib-sourcify's readme * change log level to warn * Update packages/lib-sourcify/src/lib/solidityCompiler.ts Co-authored-by: Kaan Uzdoğan <[email protected]> * Update src/server/server.ts Co-authored-by: Kaan Uzdoğan <[email protected]> * Fix default level in README --------- Co-authored-by: Kaan Uzdoğan <[email protected]> commit 506890520950a815d6b23a8757ac8acaf8665035 Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 29 17:44:10 2023 +0200 Return 429 on Etherscan rate limit" commit 8f03e47a4432b2dbf20129cd6a0849d938a279be Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 29 17:40:22 2023 +0200 Fix prometheus data persistance commit 6c48f7cacbab2cc1103b21d6ed6dd571bbc5f268 Author: Kaan Uzdoğan <[email protected]> Date: Tue Jun 27 17:34:44 2023 +0200 Kill entrypoint.sh to exit ipfs container For some reason, exit 1 command was not killing the container as expected. Instead first gracefully stop ipfs daemon and then terminate the conatiner with `pkill entrypoint.sh`. This will cause a restart as `restart: always` is set. commit 9b61590a16254eda93eca86fb187f834de81ccf2 Author: Danny Fenstermaker <[email protected]> Date: Wed Jun 28 10:11:59 2023 -0600 Add New Chain 6119 (SK) (#1063) * Kill entrypoint.sh to exit ipfs container For some reason, exit 1 command was not killing the container as expected. Instead first gracefully stop ipfs daemon and then terminate the conatiner with `pkill entrypoint.sh`. This will cause a restart as `restart: always` is set. * feat(chain): add new chain 6119 SK * Update UPTN (6119) test files * Revert console and local changes --------- Co-authored-by: Kaan Uzdoğan <[email protected]> commit 2f74618fe333ccfd3def29ef6d2d3009d918b964 Author: Aleksey Ilin <[email protected]> Date: Tue Jun 27 20:43:46 2023 +0700 added dex.guru to powered by section commit b177d1562ed5de8ce11ce4733f944458b03354fb Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 26 17:45:42 2023 +0200 Verbose monitor logs commit 1ca9f38b4e11460264b8db1dffd97e804246f901 Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 26 17:29:49 2023 +0200 Fix grafana-loki volume Binding volumes were causing permission error on the /loki folder that is mounted. Instead use a named volume for the container. commit e9bbf6ce72ba827ec52d303d98e550ee8e8a59b9 Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 26 17:29:29 2023 +0200 Typo commit 528d5a3ee1d03630d65905e66989857aba6e3f0a Merge: 236a055 c3d9f10 Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 26 12:38:46 2023 +0200 Merge pull request #1079 from ethereum/staging Release commit c3d9f1093f9e588e511b43539035f9a26d0dcb5a Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 23 15:05:29 2023 +0200 Fix monitor not logging commit 8c513959e43685646ddecf4db419433f3cf870b0 Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 23 14:09:20 2023 +0200 Persist loki and prometheus data commit d9ae3476b20ea3c7efeeabeda8ddec7747a7aa7a Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 23 12:44:38 2023 +0200 Fix Matomo commit 410b3006b22471f6a385f9d022b13e9b6fb4a029 Author: Fernando <[email protected]> Date: Fri Jun 23 01:29:19 2023 -0500 Add Rollux (570) and Testnet (5700) (#1076) * Remove duplicated entry for Syscoin Tanenbaum. * Add test for Rollux Tanenbaum (testnet). * Add test for Rollux Mainnet. * Add Rollux Tanenbaum (testnet). * Add Rollux Mainnet. * Clean-up. * Remove unnecessary RPC URLs. --------- Co-authored-by: Fernando Paredes Garcia <[email protected]> commit 941886b187301a0c7aea55b02c19e4f39440f550 Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 22 16:44:53 2023 +0200 Don't show unsupported chains in UI commit f7c8bc101c7b45936297cd8a93c3a6ebdf5d87a2 Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 22 16:36:44 2023 +0200 Hardhat and Ganche networks on development commit 4513e8b204a01f8ddc1afaa6eca5061d412c5822 Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 22 10:28:19 2023 +0200 Typo in publish_to_npm.sh commit e75f8e9aa008e88e2e4edf4e16ce7d2408f13011 Author: Marco Castignoli <[email protected]> Date: Thu Jun 22 16:02:21 2023 +0200 serve swagger.json for integration commit 236a0551a59e6b165c40b77e10d5fb2c2ca0da99 Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 22 10:26:10 2023 +0200 Update lib-sourcify version commit 197c3d038d40700b9c48433fba356dfaf953a8d7 Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 22 10:26:10 2023 +0200 Update lib-sourcify version commit 1d9c72b6c0a29b3153332effaba7ba61a2152c0f Merge: f107bdb 7d8603f Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 22 10:00:25 2023 +0200 Merge pull request #1073 from ethereum/staging Release commit 7d8603f9ee43907af15adda6a0263d3f4a0e3710 Author: Marco Castignoli <[email protected]> Date: Wed Jun 21 17:59:50 2023 +0200 #1071 prevent overriding already verified contract * fix missing check for address/chainId commit addbde04c1792c15bf4602b3c39fbbd5e3923962 Author: Marco Castignoli <[email protected]> Date: Wed Jun 21 17:25:42 2023 +0200 #1071 prevent overriding already verified contract commit 6a5dd4cacecbd3ad86f77f668b30e94981440ab1 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 21 10:28:10 2023 +0200 Update logging (#1072) * experiment: use openapi files to handle both docs and validators * Remove express logging on debug * Don't do .ApiReplied for every request * Don't double log MatchStored * Log compilation time, remove other console.log's * Redefine logs to be saved in Loki * stdout log only when no Loki, log format * Fix monitor tests by adding .emit back * Change fetch timeout logging * Remove mistaken openapi.yml file --------- Co-authored-by: Marco Castignoli <[email protected]> commit 49f2750e25a75caf36535e50a336083b48670846 Author: Marco Castignoli <[email protected]> Date: Tue Jun 20 16:51:10 2023 +0200 copy also openapi.yaml while building the server's dockerfile commit dfe17823f73ceac4904c2c375446466fec02d987 Author: Iain Nash <[email protected]> Date: Tue Jun 20 10:04:32 2023 -0400 Add zora chain mainnet 7777777 (#1064) * add zora chain mainnet * re-add console.log messages commit b22dfab8c661bc27c4840084a59bfcd170efe5a3 Merge: 243a40a 8acd9a5 Author: Kaan Uzdoğan <[email protected]> Date: Tue Jun 20 15:40:53 2023 +0200 Merge pull request #1033 from ethereum/controller-refactoring Controller refactoring commit 8acd9a5346f2c98a4fb86dedc16115a93e34d48f Author: Marco Castignoli <[email protected]> Date: Tue Jun 20 09:18:56 2023 +0200 examples for all stateless api commit 243a40a2f0537e8ac9d84b4d2e6e87a99217d5e6 Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 19 17:55:30 2023 +0200 Fix .title mising in Chain commit 1bdd368470a5f4462a64e122ce04eba34a9425a2 Author: Marco Castignoli <[email protected]> Date: Mon Jun 19 16:29:08 2023 +0200 responses components included from a shared file commit f2802db83cfedac513dc42106851e4492517ad26 Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 19 13:41:00 2023 +0200 Fix loki-config commit 9115d45262caeba885c7010f74c9eed8934e8ddd Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 19 11:55:14 2023 +0200 Update chains.json commit 310b8209d6d7c2abcf0d9072653a723c0882e6cf Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 19 11:55:04 2023 +0200 Check `newChainId` too when checking 0 test pass commit 89666171dcc34cfb8ec87ded0b5afb17538fc018 Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 19 11:50:29 2023 +0200 Fail when zero chain-tests pass commit 5fc7624a5f18c98f6dd91c87e428a6ca17fe70ed Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 19 10:58:28 2023 +0200 Gracefully stop ipfs to avoid repo.lock commit 8c62698fdcb5e18e61ba8db9ddba3a737fdebe2c Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 19 09:45:07 2023 +0200 Fix type error .title missing commit 482f15f06f2add20062fff5022cf4b8b184cf367 Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 19 09:21:31 2023 +0200 Fix matomo link commit d084add725cb56eb6395f387dceea33137658406 Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 16 18:01:25 2023 +0200 Fix Loki "too many outstanding requests" commit 63d30a0cd8ea95816f640c50f96f46569c5fe79b Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 16 14:34:21 2023 +0200 Sort by chain.name commit 94671ddf353f73ed8f3064004560b3b740142688 Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 15 15:19:22 2023 +0200 Customize API favicon title commit 28b03d7049353835184e5fcc11f993a174161855 Author: Marco Castignoli <[email protected]> Date: Thu Jun 15 14:46:19 2023 +0200 change the variable name `reportStatus` to `reportMatchStatus` so it's more clear commit 2114fd0f98027c0ad125ea323ff260e5826bd4ad Author: Marco Castignoli <[email protected]> Date: Wed Jun 14 13:57:48 2023 +0200 add npm install in build:clean before using lerna commit c36daa603c1b8f9f3fd6bf12db7460e9fb760afb Merge: d94989f 0a21ecc Author: Marco Castignoli <[email protected]> Date: Wed Jun 14 13:56:52 2023 +0200 Merge branch 'staging' into controller-refactoring commit 0a21ecc70ec4122c67113cf74e7982c3b0673be7 Author: Marco Castignoli <[email protected]> Date: Wed Jun 14 13:56:33 2023 +0200 fix abitype version commit f107bdb3ecca1a8b89377096538658e795831940 Merge: 1ec70ac a9fe46e Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 14 12:07:46 2023 +0200 Merge pull request #1061 from ethereum/staging Quick Release commit a9fe46e0655e0cb067f65c15fdf2ebf04562bb8c Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 14 12:05:21 2023 +0200 Nginx grafana (#1060) * Add promail config * Fix promtail config path commit d94989f194007832e95352b2a180b74c0caa81d4 Author: Marco Castignoli <[email protected]> Date: Tue Jun 13 17:17:27 2023 +0200 remove non existent immutableVariableVerificationUnsupported commit 74a8dbbf7156146a9fbe2d2329b320ba6cbf95df Author: Kaan Uzdoğan <[email protected]> Date: Tue Jun 13 09:31:18 2023 +0200 Accept branch names commit 268792ee86cd722f34d2890532a0b7327e4e8baf Author: Charlie <[email protected]> Date: Tue Jun 13 01:30:46 2023 -0600 update-chain-7001 -- New RPC endpoints and test contracts for ZetaChain Athens3 Testnet (#1051) * Updated RPC endpoints and test contract for athens3 * reverted changed to src/chains.json * removed services/core/build/sourcify-chains.js commit fb9f36de379de914ce2668c6b5417cbcf38e2fb1 Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 12 14:47:45 2023 +0200 Session/Stateless to Session/StatelessVerification Add prod. staging. local servers to openAPI Add MIT license commit e0cfa7d57856eaf994850371c23d0caed56f0440 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 7 10:58:52 2023 +0200 Change serDes to format validation (#1052) * Change serDes to format validation * Remove commented section commit b2f2df95c21e933e4050676a20bb4e58faf02053 Author: Kaan Uzdoğan <[email protected]> Date: Tue Jun 6 10:44:04 2023 +0200 Update check-all-by-addresses API doc commit 82d490d8687e9e23450018d8564bf4e81f44bd46 Author: Marco Castignoli <[email protected]> Date: Thu Jun 1 15:28:15 2023 +0200 validate chainsIds in checkbyaddresses commit bc1493186f44aa91408fe48a7f796fd1d71d8f0b Author: Marco Castignoli <[email protected]> Date: Thu Jun 1 14:05:00 2023 +0200 add all the responses to the openapi specs commit 924cdba30f4189b7544764b2a1e61762532da685 Author: Marco Castignoli <[email protected]> Date: Thu Jun 1 10:54:27 2023 +0200 add missing /session/input-files openapi spec commit ecd13b4980236d8cd856e46e9474f4036cf7e863 Author: Marco Castignoli <[email protected]> Date: Wed May 31 17:01:10 2023 +0200 disable test's ipfs gateway commit 9516d26b694236cd19bc19dde02161c2dcd75d6c Author: Marco Castignoli <[email protected]> Date: Wed May 31 16:51:20 2023 +0200 fix etherscan tests commit 1d970ca3f37ab9295418ca5f6cd8ca84ec8ca238 Author: Marco Castignoli <[email protected]> Date: Wed May 31 15:41:17 2023 +0200 fix import MAX_SESSION_SIZE in server tests commit b5ee7a9d110c65ea5d14c8f99dfa0b6492b92292 Author: Marco Castignoli <[email protected]> Date: Wed May 31 15:29:07 2023 +0200 fix linting errors after refactoring commit 1f11753f0496c67bf9a2ba0033973f12ef9637f4 Author: Marco Castignoli <[email protected]> Date: Wed May 31 15:03:47 2023 +0200 fix handling of deprecated routes commit 7d65ba5a66cec62e1c5d2f7b1220e987a5962759 Author: Marco Castignoli <[email protected]> Date: Wed May 31 11:15:29 2023 +0200 refactoring: handle all deprecated routes commit 780a26e8a4954024fe16e94d5b887d48b0f56bf4 Author: Marco Castignoli <[email protected]> Date: Wed May 31 10:56:11 2023 +0200 tests running in refactoring commit bf9ccb05bb5aba590bb690d2053d679c6394d900 Author: Marco Castignoli <[email protected]> Date: Tue May 30 18:46:04 2023 +0200 fix most of tests after refactoring * restore express-fileupload * fix redirect not working for / commit 87611b1aac55deb0c41f2d81c37193236e507275 Author: Marco Castignoli <[email protected]> Date: Thu May 18 16:11:46 2023 +0200 extract check-by apis parameters from query commit 2045f5fac11b90b3402400b2661e7835cc1a4fd7 Author: Marco Castignoli <[email protected]> Date: Thu May 18 15:57:01 2023 +0200 add Repository tag to all repository apis in openapi commit 961b3930834690e41b4f70670876a549d4cc228e Author: Marco Castignoli <[email protected]> Date: Thu May 18 11:54:17 2023 +0200 remove RepositoryController and BaseController classes commit 4ebcb3839d2c56ab9078b0f8ea8a14ac70c39601 Author: Marco Castignoli <[email protected]> Date: Thu May 18 11:52:33 2023 +0200 add all repository openapi declarations commit 8460e1214a966867468428401461689276ab83d9 Author: Marco Castignoli <[email protected]> Date: Thu May 18 11:10:43 2023 +0200 * move services in a separate global object * fix create2 openapis commit 4ff4d5e7ad7cc1e5c74e71b086155523c59ad453 Author: Marco Castignoli <[email protected]> Date: Wed May 17 14:17:45 2023 +0200 refactoring repository routes commit 13dc35369a9913d2d2e21f1dd23fa79573058c3e Author: Marco Castignoli <[email protected]> Date: Tue May 16 14:36:14 2023 +0200 fix wrong safeHandler import commit 2a2d145db2c15906d493a588c97c1d2a4275d52c Author: Marco Castignoli <[email protected]> Date: Tue May 16 14:26:10 2023 +0200 refactor testartifacts routes commit 220746db95762db8cecb847d65f158acfa8d9726 Author: Marco Castignoli <[email protected]> Date: Tue May 16 12:36:07 2023 +0200 add missing clientToken to create2 routes commit 0b21cce1ec0c443e7a4fffb40856aebf8bea950d Author: Marco Castignoli <[email protected]> Date: Tue May 16 11:38:55 2023 +0200 refactor etherscan routes commit 7f288b91c1d076f2282f375ae486efe62b56c2f8 Author: Marco Castignoli <[email protected]> Date: Tue May 16 11:02:13 2023 +0200 refactor create2 verification commit ce46e34763ee6c32f9b9e586760c1f07f32319fe Author: Marco Castignoli <[email protected]> Date: Tue May 16 10:34:58 2023 +0200 refactor session state routes commit 73b924fe64147c4a10c2715fddb8731a806ec6bc Author: Marco Castignoli <[email protected]> Date: Tue May 16 09:33:21 2023 +0200 refactor solc-json session apis commit 3e8451ba340708bcfe645ff73d3d25de4a415528 Author: Marco Castignoli <[email protected]> Date: Tue May 16 08:59:01 2023 +0200 refactoring of solc-json stateless commit 9c4d5a806108a3e53aaca944530e5da1e3ec205e Author: Marco Castignoli <[email protected]> Date: Mon May 15 21:11:25 2023 +0200 handle alternative routes paths with redirects commit 48814ae84fda6afb2cce6dfa6b75aa9ffb3d2582 Author: Marco Castignoli <[email protected]> Date: Mon May 15 18:38:40 2023 +0200 controller refactoring * services as instantiated global variable * first new filesystem proposal * add /verify and / routes, not working together * add /verify/solc-json, need to complete commit fef38a8b70597c322e1be798dbbf0b87667fba1b Author: Marco Castignoli <[email protected]> Date: Thu May 11 15:17:22 2023 +0200 example of /verify doc and validation using express-openapi-validator + swagger commit 16b8bdcd23d89a089c48df525ff51cfd476db58f Author: Marco Castignoli <[email protected]> Date: Wed May 10 17:50:23 2023 +0200 experiment: use openapi files to handle both docs and validators commit 1ec70ac417f1981339ad9ea6296f0c01e9f35ea5 Merge: 4a8528c 67aae9d Author: Kaan Uzdoğan <[email protected]> Date: Mon Jun 12 13:46:58 2023 +0200 Merge pull request #1058 from ethereum/staging Release commit 67aae9d99a8eba144dd98e4308cca7744b077bcc Author: Symplexia Labs <[email protected]> Date: Mon Jun 12 06:55:18 2023 -0300 Update_Chain_1149 (#1057) * Fixes the Tests * Updating Tests - Chain 1149 * Remove immutable test chain 1149 --------- Co-authored-by: Symplexia Labs <[email protected]> Co-authored-by: Kaan Uzdoğan <[email protected]> commit 6d1a348d8419cc13484787d70f65af854f8a862b Author: Kaan Uzdoğan <[email protected]> Date: Sat Jun 10 12:49:39 2023 +0200 Add Taiko Alpha-3 (167005) commit d449b7ad94751e8d7db8c560a4e757b83f8d6a00 Author: aqeelVaival <[email protected]> Date: Sat Jun 10 14:47:47 2023 +0500 Add Elysium Mainnet chain (#1055) * Elysium chain added * Elysium chain added * extra files removed for Elysium test case * code allign * align code --------- Co-authored-by: aqeelkazmi <[email protected]> commit 4280ab245cf0a9bfd80d8ae4c84611b46c2686df Author: Kaan Uzdoğan <[email protected]> Date: Sat Jun 10 11:44:09 2023 +0200 Update chains.json commit a5d7b516a5f73c2a18f5ce20eca84ce881adbf52 Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 9 12:18:01 2023 +0200 npm install before lerna bootstrap Since with lerna v7 the `bootstrap` command is removed, we need to first `npm install` and download an older lerna (v3 for now) and then use the `bootstrap` command. commit 88e79d1dedbe4f78d30728ce3c7f00812e586b28 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 7 17:24:39 2023 +0200 Change add chain template into single template commit 52ce80aad6306e4dd722a9fb12eac9fb960f36d0 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 7 15:22:09 2023 +0200 Remove deprecated matomo url commit 772ed1dfb2d1abc1748f54fb6572722a477320d9 Author: Kaan Uzdoğan <[email protected]> Date: Wed Jun 7 15:06:29 2023 +0200 Change trust proxy setting commit fe298e6c4b2ed48d9596c13a8f99a6858b907871 Author: Marco Castignoli <[email protected]> Date: Tue Jun 6 10:50:12 2023 +0200 add cronoscan in etherscanInstanceContracts tests commit b9547c635e53200d3f636ff796ef49e7ed899b22 Author: CRMax <[email protected]> Date: Tue Jun 6 09:50:20 2023 +0200 Add Cronos Chain 25 (#1049) * Update sourcify-chains.ts * Add Cronos chain (25) * Update sourcify-chains.ts commit 3adb2c7b0ed5741e22f7e2fee2d319201a9b62f4 Author: Parinthorn Panya <[email protected]> Date: Sat Jun 3 15:33:25 2023 +0700 add Bitkub chain (96) (#1047) commit 87db6d48ef9a837cbc2d791c5565d9e5d998a55d Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 2 11:19:31 2023 +0200 Change Moonbeamscan single conract test The test was failing because of the long compilation time of the test contract. commit 04fe4b66fd06b84566e0534b4f41a1d2ed79a802 Author: Parinthorn Panya <[email protected]> Date: Fri Jun 2 16:07:20 2023 +0700 Add chain 25925 (Bitkub Chain Testnet) (#1046) * add Bitkub chain testnet (25925) * fix blockscout domain commit 4a8528ce068b5e2b7382810eab9c410cca57dfe7 Merge: 4f9e6ef ea5f643 Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 2 09:25:30 2023 +0200 Merge pull request #1045 from ethereum/staging Release <version> commit ea5f6430e72b61f9c2f1be782b4312906f62edf6 Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 2 09:11:56 2023 +0200 Update release.md PR template commit 6ff630af976dcb1052067fe8331793f191fa193d Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 2 09:08:06 2023 +0200 Replace Etherna Swarm video with YouTube Because the Swarm video was not loading often, going back to the Youtube version, unfortunately. commit 0066b8e914750c3f9478a8a29222e45405d833ba Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 2 08:58:39 2023 +0200 Bump lib-sourcify version commit 6250116ff4a826ae5cdf1acea841022da5283f2f Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 2 08:58:32 2023 +0200 Add email in UI footer commit 452ea55684f0f35098f8936efa4d3f52b1decf72 Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 2 08:54:19 2023 +0200 Update chains.json commit 09fe33ebb3e6992bd206effded67ee0cf2d7969c Author: Kaan Uzdoğan <[email protected]> Date: Fri Jun 2 08:53:25 2023 +0200 Add RPC_TIMEOUT env var for lib-sourcify commit 4f9e6efe6eaba7361f029e1880fa50059ff3593f Merge: 964f9cb 9dd1c7c Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 1 15:36:07 2023 +0200 Merge pull request #1043 from ethereum/staging Release v2.2.1 commit 9dd1c7c5a63bcb85465f2534260f0d24cab2da0e Author: Kaan Uzdoğan <[email protected]> Date: Thu Jun 1 15:27:01 2023 +0200 Fix site id matomo commit a17e611ba554a51318630f10b7858f081bace147 Author: Kaan Uzdoğan <[email protected]> Date: Wed May 31 09:19:45 2023 +0200 Update PRs commit 9ff3a043c8deb1b59a93d4735927a3a81013638d Author: Kaan Uzdoğan <[email protected]> Date: Tue May 30 19:14:36 2023 +0200 Add PR templates commit 68cf616e67cdf4742953340cae67a4b9387f5791 Author: Kaan Uzdoğan <[email protected]> Date: Tue May 30 19:14:28 2023 +0200 Bump package versions commit 964f9cb0323522f9457bc287d13de26be6468692 Merge: d62b630 af3f617 Author: Kaan Uzdoğan <[email protected]> Date: Tue May 30 11:51:05 2023 +0200 Merge pull request #1042 from ethereum/staging Quick Release commit af3f617694678a7287bb1b01e94333d4b04a5b47 Author: oliviachef <[email protected]> Date: Fri May 26 21:42:35 2023 +0900 add-chain-2000 (dogechain) (#1039) * commit: add dogechain (2000) * commit: add dogechain tests (2000) * commit: update contract addy; * commit: fix; Co-authored-by: Marco Castignoli <[email protected]> --------- Co-authored-by: Marco Castignoli <[email protected]> commit 92cf577de32d22f35a64daac0e066e93b4b68fa6 Author: Kaan Uzdoğan <[email protected]> Date: Wed May 24 11:36:58 2023 +0200 Fix matomo as secondary tracker commit 7c16ecf91415db99a39067f2b9b1bb352fabc204 Author: Kaan Uzdoğan <[email protected]> Date: Wed May 24 11:32:54 2023 +0200 Update matomo commit 23e77e62ec3fc7a4d683dc544bef54e2d9e20430 Author: Kaan Uzdoğan <[email protected]> Date: Tue May 23 10:58:07 2023 +0200 Add debug lines for check-s3-backup commit d62b630087f4a5dd559434cab92a12969c7b47fb Merge: 3c388e4 bd8b79f Author: Kaan Uzdoğan <[email protected]> Date: Tue May 23 10:30:01 2023 +0200 Release v2.2.1 Release commit bd8b79f03079aa788148c5fff1cd5fc379db13ff Author: Kaan Uzdoğan <[email protected]> Date: Mon May 22 09:43:41 2023 +0200 Remove added immutable chain test commit ac6ac2add330c29cbe5dfe393d23e62bb370edc5 Author: Kaan Uzdoğan <[email protected]> Date: Tue May 16 13:20:13 2023 +0200 Increase e2e-verif. test timeout commit fdb88e1230c9b6bf81e256e6497fb43bc6a56796 Author: Kaan Uzdoğan <[email protected]> Date: Mon May 15 17:25:36 2023 +0200 Move deprecated eth chains to top of chains commit 9b2457c3c1bbf76778525b3e9f7af95b9bb30344 Author: Kaan Uzdoğan <[email protected]> Date: Mon May 15 17:23:33 2023 +0200 Update Supported Chains number in UI commit 81d21213cdb53fde95657adea16f848d52d373a4 Merge: 012190a 93c4162 Author: Kaan Uzdoğan <[email protected]> Date: Mon May 15 17:19:40 2023 +0200 Merge pull request #1031 from ethereum/revisit-chain-tests Fix for chain verification tests commit 93c4162cae97b4dd9ad1d944a1246fa492fa3175 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 16:55:46 2023 +0200 Add missin Syscoin Testnet (5700) test commit 0d1eab3370a4c135a7f41a711ca03eacf337f69b Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 16:40:45 2023 +0200 Add test if all supported chains are tested commit c4c01e52e862fbdb1c8a11b709d1202b9b87fbde Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:59:37 2023 +0200 Remove Rinkeby support commit d57178c2dba91caaf9ccd8ecf959f133e063a942 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:55:51 2023 +0200 Remove Optimism on Gnosis (300) test commit c43fd285b72f42e82616d200db86e464bf970976 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:53:29 2023 +0200 Turn off support for Flare (14) and tests commit b30f68b8b47c324464810b8a94872ea59c8bb5b9 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:50:32 2023 +0200 Fix Songbird Canary Network (19) tests commit 63bb4be6762f8954f06dac5845c17789b643c9e3 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:48:03 2023 +0200 Turn off support for Optimism Bedrock Alpha (28528) commit 09010544436ec6bb626d6e24ec54220ef91f6b18 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:46:32 2023 +0200 Update Gnosis Chiado (10200) tests commit 96ca5fccf3222752d5719d643e644e690439b6ea Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:42:35 2023 +0200 Turn off support for Astar (592) and tests commit da69b8668b4101cfd9953fe5fc484cade3e24bbb Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:37:30 2023 +0200 Turn off support for POA Core (99) and tests commit 6e3c4ab55ae8ed4a9edd0a46750c14751a9eb7e7 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:33:06 2023 +0200 Turn off support for Crystaleum (103090) and tests commit b8b0a7b07b32f44ea662917c6f70ad59bc231d3d Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:29:45 2023 +0200 Turn off support for Gather Devnet (486217935) and tests commit 77a900417164652a6417f7814cac605ad33daa7a Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:28:29 2023 +0200 Turn off support for Darwinia Pangolin (43)&tests commit 4fa123ab69f875b4797d7fe65a6fa170307fb2cf Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:24:47 2023 +0200 Turn off support for Candle (534) and tests commit 90509fbeae874da2da117a3e1419d08630082c17 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:18:30 2023 +0200 Turned off monitoring for Boba Mainnet commit 7526812f6abc276432dd1f228893b84bdd5c6850 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 12 15:18:07 2023 +0200 Turn off Boba Rinkeby (28) support and tests commit 0884860b994f4c9a1fdc4ad07cbb9a8e8fa7b0c9 Author: Kaan Uzdoğan <[email protected]> Date: Thu May 11 17:08:02 2023 +0200 Turn off support for OneLedger Frankenstein (4216137055) commit 3efe14caf1347d6a225b91f59f08dff5cef51f92 Author: Kaan Uzdoğan <[email protected]> Date: Thu May 11 16:53:39 2023 +0200 Remove support for POA Sokol (77) and tests The chains seems to be inactive as well as the blockexplorer is stuck at 5 months ago: https://blockscout.com/poa/sokol/ commit 17ebc0ca45f9aad27d54f24c7aa443027ad69c4b Author: Kaan Uzdoğan <[email protected]> Date: Thu May 11 16:41:39 2023 +0200 Remove Optimism Bedrock (300) support and test commit 591840b66b8caa3e3e08643d368919f602e16405 Author: Kaan Uzdoğan <[email protected]> Date: Thu May 11 14:47:57 2023 +0200 Fix #1017 Set `outputSelection` to both `*` commit aa66d61ec55468566e51d6bb03cf45d2af06f8b2 Author: Kaan Uzdoğan <[email protected]> Date: Thu May 11 10:42:53 2023 +0200 Fix Bobascan test to perfect rename PerfectMetadat Thanks to the metadata variations, we are apparently able to get a "perfect" match for the Bobascan single contract test case. Change the expected status to "perfect" Also rename OriginalMetadata to PerfectMetadata as it is more descriptive commit 012190a006d025758800eeb06efb96fb525b29a7 Author: Marco Castignoli <[email protected]> Date: Fri May 12 11:50:16 2023 +0200 update chains.json commit 5f6a24706f7e06b3ed3128a341db3464d49e6156 Merge: 2d7991d 45a56a3 Author: Marco Castignoli <[email protected]> Date: Thu May 11 15:23:22 2023 +0200 Merge pull request #1007 from symplexialabs/add-chain-1149 Add Symplexia Smart Chain (1149) commit 2d7991d91a54ca13e3a6daabf4ae0c41bba10c01 Author: Marco Castignoli <[email protected]> Date: Thu May 11 15:19:36 2023 +0200 update chains.json commit cae491a2febee613bc08a44cc174c41e88afb005 Author: Kaan Uzdoğan <[email protected]> Date: Thu May 11 14:47:57 2023 +0200 Fix #1017 Set `outputSelection` to both `*` commit 7b6fc37c7f62c9ad18983348a060988d098612b1 Author: Kaan Uzdoğan <[email protected]> Date: Thu May 11 13:03:41 2023 +0200 Remove immutable contracts commit 3f00d4a9ef88fa1c4a75a3bc8e4c39be782ef091 Author: Kaan Uzdoğan <[email protected]> Date: Thu May 11 10:42:53 2023 +0200 Fix Bobascan test to perfect rename PerfectMetadat Thanks to the metadata variations, we are apparently able to get a "perfect" match for the Bobascan single contract test case. Change the expected status to "perfect" Also rename OriginalMetadata to PerfectMetadata as it is more descriptive commit 45a56a36399a5b4bf820902223145e908ebeec9e Merge: bc2aa63 4861f46 Author: Symplexia Labs <[email protected]> Date: Wed May 10 11:37:37 2023 -0300 Merge branch 'staging' into add-chain-1149 commit 4861f46416d7a9e761ea9bacbfd80d534b2af82b Author: Kaan Uzdoğan <[email protected]> Date: Wed May 10 15:36:48 2023 +0200 Fix lib-sourcify npm github links commit bc2aa63a7ae67aba95d6a8c161a4c17e24a4298b Merge: db49dd0 3008e8a Author: Symplexia Labs <[email protected]> Date: Wed May 10 04:25:12 2023 -0300 Merge branch 'staging' into add-chain-1149 commit db49dd03ef6c3a02f84c61eb28986a58acc2b5b9 Author: Symplexia Labs <[email protected]> Date: Wed May 10 04:14:56 2023 -0300 New Sources Test commit 3008e8ad4a913557818a2eedba4412fdbfe1a2a2 Author: Marco Castignoli <[email protected]> Date: Tue May 9 16:56:01 2023 +0200 fix vscode debugger's configuration for lib-sourcify commit 765215b9625a921f201c1b91bc609747f1eea267 Merge: dceda9f 71acbeb Author: Marco Castignoli <[email protected]> Date: Tue May 9 14:57:39 2023 +0200 Merge pull request #1022 from ethereum/throw-empty-recompiled-bytecode Throw before if compiled bytecode empty instead of later in creation bytecode commit 71acbebf57ac2fc34d28e097cff7af0bb6498b52 Author: Kaan Uzdoğan <[email protected]> Date: Tue May 9 12:24:00 2023 +0200 Add back empty bytecode check to matchWithCreationTx As the function can be used as standalone, we should not remove the check from the function itself. Keep both this and throwing before trying to match. commit d8a561f91dc476cee4c3d422c67680682667bc98 Author: Kaan Uzdoğan <[email protected]> Date: Tue May 9 12:11:54 2023 +0200 Throw before if compiled bytecode empty commit 3c388e4db1dac6b843c8a70be463d005eb3cc48d Merge: ddb3cbb dceda9f Author: Kaan Uzdoğan <[email protected]> Date: Tue May 9 09:48:59 2023 +0200 Merge Release v2.2.0 Release commit dceda9f77251b56888f1cdc5cf287f7c073b383e Author: Marco Castignoli <[email protected]> Date: Tue May 9 09:25:13 2023 +0200 return an error for an empty `recompiledCreationBytecode` in `matchWithCreationTx` commit 26433e61616420127c2e77d08de996be03181541 Merge: c7f92eb ddb3cbb Author: Marco Castignoli <[email protected]> Date: Mon May 8 17:40:48 2023 +0200 Merge branch 'master' Conflicts: packages/lib-sourcify/test/verification.spec.ts src/server/controllers/VerificationController.ts src/server/services/RepositoryService.ts ui/src/pages/Verifier/CheckedContractsView/CheckedContract/ChainAddressForm/index.tsx commit c7f92eb6dca7c43c6bf436bc6ddae531696d7eb9 Author: Marco Castignoli <[email protected]> Date: Mon May 8 17:00:21 2023 +0200 fix linter warning * remove unused Metadata variable from RepositoryController commit a6af063cfd97a3c8ef1a9535e4d5e101eca740fa Author: Marco Castignoli <[email protected]> Date: Mon May 8 16:56:23 2023 +0200 fix linter error commit 763e0d57342dd3fbba878f90cd14496b62a53564 Author: Marco Castignoli <[email protected]> Date: Mon May 8 16:05:54 2023 +0200 test for paths in metadata containing multiple `../` * check that the file is saved in the correct directory commit 132d403738e9e0d5cd8131eca3e2a4bd702edbbe Author: Marco Castignoli <[email protected]> Date: Mon May 8 14:54:30 2023 +0200 fix `matchWithCreationTx` by decoding the constructor arguments * add tests for wrong constructor arguments in creatorTx * add missing test for successful creation bytecode verification commit 059422b2086514ed279d9fb68b96cfdaa80539f2 Author: Kaan Uzdoğan <[email protected]> Date: Mon May 8 09:11:17 2023 +0200 Revert package-lock in commit This reverts the package-lock in commit f9e74dc12deaddc0db97a4c263125fc9bd8821f8. commit f9e74dc12deaddc0db97a4c263125fc9bd8821f8 Author: Simon Viénot <[email protected]> Date: Mon May 8 09:05:37 2023 +0200 Add chain 295 (Hedera Mainnet) (#1009) * Add chain details for 295 (Hedera Mainnet) * Add test contracts for chain 295 (Hedera Mainnet) * Change constructor argument to avoid any confusion with chainId. * Attempt to reuse shared test contracts. * Remove now unneeded directory for chain 295 test contracts. commit 8f5afbe4cc295afba6322dcfe833ab5dd4aa872a Author: Symplexia Labs <[email protected]> Date: Sun May 7 07:45:59 2023 -0300 Removed Additional white spaces commit f19e3546c0e998dabdae219b52c61e80c160909a Author: Kaan Uzdoğan <[email protected]> Date: Fri May 5 12:36:01 2023 +0200 Revert accidentally setting `sed` to `gsed` commit e2c92d911e47a4ebf7eec03df200c74d77735039 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 5 12:33:14 2023 +0200 Change OPTIMISTIC_ETHERSCAN to OPTIMISMSCAN The overlap of the "ETHERSCAN_API_KEY" in both "OPTIMISTIC_ETHERSCAN_API_KEY" and "ETHERSCAN_API_KEY" was causing `sed` string replacement to behave unexpectedly, causing the Optimism key to be set as ETHERSCAN_API_KEY Change name to avoid this. commit 4f10145fd1fc4c0f4a8abf6c93e4edaa8b065707 Author: Kaan Uzdoğan <[email protected]> Date: Fri May 5 12:07:05 2023 +0200 Show error on bad Etherscan req commit 086db748c2297349e53c5ffc0287b8e79cdd4d6e Author: Kaan Uzdoğan <[email protected]> Date: Fri May 5 09:53:25 2023 +0200 Fix abitype req. typescript v5+ Because the latest abitype package 0.8.2 requires typescript v5+ the package installations were failing. Updating typescript would break multiformat typings which is used by ipfs-core. We can't upgrade ipfs-core because the newer versions use ES modules, and the tests are in commonjs Hence define abitype in exact lower version 0.8.0 commit f464ef6ce8a81256aeec44c30bf5d2eb9ce2e0f3 Author: Marco Castignoli <[email protected]> Date: Thu May 4 15:01:39 2023 +0200 #860 display the create2 repo link only for create2 results commit da736892c46a5b330b834a87ca84ddf3d66f86d7 Author: Marco Castignoli <[email protected]> Date: Thu May 4 11:09:40 2023 +0200 improve the function to sanitize path at `storeSources` commit 52a18c0aa2d263257ef4ee171b141701e5bf4952 Author: Marco Castignoli <[email protected]> Date: Thu May 4 10:39:29 2023 +0200 Add nginx exporter for prometheus commit 425438d1737050034ea0c7a74d7898c782084f91 Author: Kaan Uzdoğan <[email protected]> Date: Thu Apr 27 15:51:15 2023 +0200 Add "Lookup Another" button in Lookup result commit b84e466eb2db77bce5360dff4cf439618669c5e7 Author: Marco Castignoli <[email protected]> Date: Wed May 3 16:50:33 2023 +0200 Handle libraries with call protection (#1000) * #996 handle libraries with call protection * #996 add tests for call protection * legacy compilation placeholder test case * via-IR test case commit 3f435a58db9b76d6618cdf8a15556b591b9e2448 Author: Marco Castignoli <[email protected]> Date: Wed May 3 15:15:27 2023 +0200 #1010 update typedoc in lib-sourcify * fix compatibility issue with typescript commit 33188b9c71885b9ff5585c93f20d4169e00b0e21 Author: Marco Castignoli <[email protected]> Date: Wed May 3 15:06:11 2023 +0200 fix #1010 update typescript in lib-sourcify commit baf549ecc1814ca9eb4b7632d69ecd25aa4dae3f Author: Thomas Bush <[email protected]> Date: Tue May 2 10:25:28 2023 +0200 add canto testnet (7701) (#1005) commit ea16479c1b8c4b18f356d2db6a22dcf6b15019ef Merge: cd2df6f 024be67 Author: Symplexia Labs <[email protected]> Date: Fri Apr 28 16:35:16 2023 -0300 Merge branch 'add-chain-1149' of https://github.com/symplexialabs/Sourcify into add-chain-1149 commit cd2df6f2e65420f62a3705f3476dac6bf09b54ff Author: Symplexia Labs <[email protected]> Date: Fri Apr 28 16:35:12 2023 -0300 Added Symplexia Smart Chain commit 024be67878af11d34b07aaa8064eee89f895b7cf Merge: c97f616 544e1c6 Author: Symplexia Labs <[email protected]> Date: Fri Apr 28 08:03:01 2023 -0300 Merge branch 'staging' into add-chain-1149 commit 544e1c60c4a30dbf513818b2fbaf16a7dc2ac649 Author: Marco Castignoli <[email protected]> Date: Fri Apr 28 12:58:32 2023 +0200 use checkSupportedChainId instead of checkChainId for contract verification commit c97f616c02a502ba99dc183d2e08a26f031ff0a0 Merge: 5e2bd78 e841b1f Author: Symplexia Labs <[email protected]> Date: Fri Apr 28 07:49:59 2023 -0300 Merge branch 'staging' into add-chain-1149 commit 5e2bd780c2b348cf4769917b0e2b192964c54485 Author: Symplexia Labs <[email protected]> Date: Fri Apr 28 07:46:16 2023 -0300 Updated chain-tests commit e841b1f27de0308e57a8565576cbf0592cbdb4cc Author: Marco Castignoli <[email protected]> Date: Fri Apr 28 11:51:55 2023 +0200 fix #869 add a repository link to the create2 verified contracts commit 30104e1e1ebd4bfbd0c48414abe2ac86120ddedc Author: Marco Castignoli <[email protected]> Date: Thu Apr 27 16:04:59 2023 +0200 Re-enable SourcifyEventManager's listeners (#1003) * #1002 re-enable SourcifyEventManager's listeners * this commit fixes the grafana-loki missing events * test exclude loggerLoki from nyc commit 7693ad5fc6fa131e596e9ff222e77735675e6dae Author: Marco Castignoli <[email protected]> Date: Thu Apr 27 13:40:41 2023 +0200 remove old TODO already completed commit 74da0548f3866da55acc368dc1c608a35033e8ee Author: Kaan Uzdoğan <[email protected]> Date: Thu Apr 27 13:08:24 2023 +0200 Disable chainId 51 getCreatorTx test commit e6e6d4803862cc1034781588674af452421cb148 Author: Kaan Uzdoğan <[email protected]> Date: Thu Apr 27 13:07:27 2023 +0200 Remove server, monitor build dependency on tests commit f3c74f661cff7ac2b938fca219ebbaaae983b250 Author: Marco Castignoli <[email protected]> Date: Thu Apr 27 12:26:49 2023 +0200 * remove network_mode host from cadvisor commit 326c94d5a43baeef0d4db574b168ffe7f1f75d4c Author: Marco Castignoli <[email protected]> Date: Thu Apr 27 11:36:55 2023 +0200 Add server monitoring capabilities to grafana * add prometheus * add cadvisor for monitoring docker containers * add node_exported for monitoring the server commit 35be29dab36ea3d588b930c6df42be54a365b55c Author: Marco Castignoli <[email protected]> Date: Thu Apr 27 10:44:12 2023 +0200 #860 `checkChainId` now returns error if chain is not supported commit 63928831e87818369a5f9acd98b67dcdc01f5b6b Author: Marco Castignoli <[email protected]> Date: Thu Apr 27 10:36:17 2023 +0200 Implement a complete Metadata type (#1001) * #873 implement a complete Metadata type * #873 * version is a number * create Userdoc and Devdoc interfaces commit 70e13de37a64fc2b0eea4a1cee7fce7bc72265e1 Author: Aidan Starke <[email protected]> Date: Thu Apr 27 20:34:16 2023 +1200 Add chain 7672 (#988) * Update chains * Add chain 7672 * Test contracts for chain 7672 * Redeploy immutable contract with correct compiler * Revert "Update chains" This reverts commit 77ea8de307f9747f272784669d294d651d4a1c6a. * Redeploy Immutable contract commit 3cf5a86300c9968014657b59dff50c2fe2020a40 Author: Kaan Uzdoğan <[email protected]> Date: Thu Apr 27 10:15:53 2023 +0200 Break contract address str in already verified msg commit 2c54874db5ddbc48692bad76a9be7381557b2b91 Author: Marco Castignoli <[email protected]> Date: Thu Apr 27 09:52:37 2023 +0200 #860 add the previously removed deprecated chains commit 8530196cfc1c4ac6b8fa1f85437bfa441ad69fd3 Merge: 79d05f7 18c48f0 Author: Marco Castignoli <[email protected]> Date: Thu Apr 27 09:10:22 2023 +0200 Merge pull request #1004 from futureversecom/add-chain-7668 Add chain 7668 commit 18c48f08ae789a3fcf3f41a54dd362643b673d37 Author: aidan-starke <[email protected]> Date: Thu Apr 27 11:12:31 2023 +1200 Add chain 7668 - The Root Network Mainnet commit 79d05f7dbce6110bf4d074e000aeef563722dacb Author: Kaan Uzdoğan <[email protected]> Date: Wed Apr 26 15:47:49 2023 +0200 Verification with Standard JSON Input (#980) * Refactor UI for shared SerchSelect,init json endp. Refactor SearchSelect's onChange function and its types to be able to reuse SearchSelect consistently. Initial naive implementation of using solcJson as input in session * Don't use deprecated btoa function * Don't overflow Error message UI * Use nightlies toggle, style json input * Don't validate solc JSON file extension To allow multipart/form-data requests * Add solc-json session tests * Change import solc json icon * Solc-json non-session endpoint, tests * Fix build errors, show json input errors * Fix compiler version test * Remove "simulation" variables from solcjson endpts * Fix copy-paste typo in endpoint definition * Check solc-json language and contracts output commit 3028f6387d88d32196c0436fce45f1f1a34f612b Author: Kaan Uzdoğan <[email protected]> Date: Wed Apr 26 09:39:25 2023 +0200 Update chains.json commit 3178bd32085165c520d00f3b64568a0a73a6da95 Author: Marco Castignoli <[email protected]> Date: Wed Apr 26 09:03:21 2023 +0200 fix #978 add test for not alphabetically sorted metadata commit 0c9b0a4f73040e6cf5b72fe5e9142b41c423fead Author: Marco Castignoli <[email protected]> Date: Mon Apr 24 18:13:51 2023 +0200 fix #978 reorder the metadata object before generating the variations commit dcadfe5f132dad7e50bbe9a074e4bcf2535849ab Author: Kaan Uzdoğan <[email protected]> Date: Mon Apr 24 17:00:02 2023 +0200 Change Etherscan chain 43113 test Change the contract since it required creatorTxHash scarping and causes CAPTCHA in regular etherscan instance tests commit 57458eaed08dac068f368bd9dac72d26fda8cd8e Author: lolieatapple <[email protected]> Date: Mon Apr 24 15:46:41 2023 +0800 Add chain 888 commit 854004e344a63d12bfe834c1e4b697457d65e1ec Author: lolieatapple <[email protected]> Date: Mon Apr 24 15:29:08 2023 +0800 Add chain 999 commit 64136378ad40a9c91c98ed69cd2f861fd01844f8 Merge: d8efcb4 5bf04ed Author: Kaan Uzdoğan <[email protected]> Date: Fri Apr 21 17:04:22 2023 +0300 Merge branch 'staging' of github.com:ethereum/sourcify into staging commit d8efcb4f8c1ce555c8c4a0b37fa1016c169e1062 Author: Kaan Uzdoğan <[email protected]> Date: Fri Apr 21 17:04:16 2023 +0300 Add github star button commit 5bf04ed65f947556cc872440db7ceac403922242 Author: Marco Castignoli <[email protected]> Date: Fri Apr 21 11:45:07 2023 +0200 #936 fix how the ui handles non-checksummed addresses (#990) * instead of verifying if an address is valid, tries to checksum it commit 5af31a06d5c2eb8f9b040274599fa54deb602f61 Author: Marco Castignoli <[email protected]> Date: Fri Apr 21 11:42:04 2023 +0200 #983 update h5ai-nging submodule to latest version * fix address checksum in repository commit b69c940224d87fa3f93f5d9b123ae42bf93ab861 Author: Marco Castignoli <[email protected]> Date: Fri Apr 21 11:37:23 2023 +0200 fix #989 EventManager fails if listeners are not set commit 486732cc5d7d0c24db3efaf263e97797f8f88260 Author: Kaan Uzdoğan <[email protected]> Date: Thu Apr 20 14:08:10 2023 +0300 Etherscan metadata variations (#976) * #936 file variation while importing from etherscan experiment to create files varations before running verification searching for perfect matches * #936 generate the metadata with the hash that matches the one in the bytecode WIP * add tryToFindOriginalMetadata to CheckedContract: tries to recontruct the original metadata by iterating on all files variations * call tryToFindOriginalMetadata after `matchWithDeployedBytecode` if match is not perfect * restore etherscan standard verification * #936 tests working * update package-json lib-sourcify * #936 fix linting issues * wait 1 second between every etherscan request * #936 update non-session verify from etherscan controler * #936 better function naming `getMetadataFromCompiler` * #936 instead of recompiling each variation, recalculate the metadata hash by updating the source section of the metadata and generating the metadata CID * #936 fix error on non existance of the path in sources * #936 add coments to group by variations to make it more clear * #936 replace the ipfs calculate hash * I translated the ipfsHash.cpp file from the solidity repo * now that everything is synchronous I simplified the code that replace the ipfs and bzz hash in the urls array in metadata.sources * I added some comments to clearify the storebyhash grouped by variation * fix default ipfs gateway * #936 add test for tryToFindOriginalMetadata * #936 add swarmBzzr0Hash and test metadata with both ipfs and swarm * Add comments * #936 refactor tryToFindOriginalMetadata adding types * test in verification.spec.ts * #976 add license type in MetadataSources * #976 change test name for wrong end of line * Update packages/lib-sourcify/test/verification.spec.ts Co-authored-by: Kaan Uzdoğan <[email protected]> * #976 try to find original metadata for each verification method * refactor `verifyDeployed` so that it uses the new function ´tryToFindOriginalMetadataAndMatch´ --------- Co-authored-by: Marco Castignoli <[email protected]> commit ddb3cbb069c039a71a399ae0b16b1d008929f84e Author: Marco Castignoli <[email protected]> Date: Wed Apr 19 17:49:04 2023 +0200 Quick Release (#986) Disable match with simulation * Comment out all contextVariables * matchWithSimulation totally commented * Fix linting problem while creating ui build after commenting out matchWithSimulation commit 9f586b29e743a53a4e94f4adfb46dd852d6d9b3b Author: Marco Castignoli <[email protected]> Date: Wed Apr 19 14:49:11 2023 +0200 Fix linting problem while creating ui build after commenting out matchWithSimulation commit d1d693fceff700271cd5ca61b581efb37c9f8aa9 Author: Marco Castignoli <[email protected]> Date: Wed Apr 19 14:42:47 2023 +0200 Comment out all contextVariables * matchWithSimulation totally commented commit 83f9faf5157886bf4e1a895112916e74dda90cde Author: Marco Castignoli <[email protected]> Date: Wed Apr 19 14:04:28 2023 +0200 Disable match with simulation commit ec2ac912643be6538246ea32e6e887a96b364d6d Merge: 1d7c791 09ed7ad Author: Kaan Uzdoğan <[email protected]> Date: Wed Apr 19 13:06:02 2023 +0300 Merge pull request #985 from ethereum/staging Release commit 09ed7ad49eb6c05608ece50a50c05781d638f238 Author: Marco Castignoli <[email protected]> Date: Wed Apr 19 03:43:33 2023 +0200 Change how addLibraryAddresses replaces the library addresses from the template (#981) * instead of using regex use replace commit fce4142dfee30bfe66ec3110382172d34552fab7 Author: Alim Şahin <[email protected]> Date: Tue Apr 18 10:49:39 2023 +0300 fix: auto-scroll to about section (#982) * fix: scroll to about section * Change element type div to button --------- Co-authored-by: Kaan Uzdoğan <[email protected]> commit fc21cbaeec55f62be3da603a60a5c0e796b34248 Author: Marco Castignoli <[email protected]> Date: Fri Apr 14 19:12:01 2023 +0200 Handle solc links in repo when fetching compiler (#979) * fix #975 handle solc links in repo * remove useless try-catch from fetchAndSaveSolc for handling solc links * add test for SolcJS compiler that is saved as a link in the repo commit 9f7384274d80b94191f5e65f5d5230e990f3b67b Author: Kaan Uzdoğan <[email protected]> Date: Thu Apr 13 18:02:49 2023 +0300 Fix ipfs GW double slash `ipfs.io//ipfs/Qm..` commit 06260e75f52b42242565a1604ae989b473a72f36 Author: Kaan Uzdoğan <[email protected]> Date: Thu Apr 13 12:13:53 2023 +0300 Fix CORS error on req too large (#977) Since the bodyParser, was set before the cors in server.ts, the response will have wrong CORS when body size limit is hit. Move the cors settings above bodyParser. Also add conditional CORS settings as session requires cookies and "*" CORS is not possible. Remove the individual cors() middleware on every session route in VerificationController. commit a34072832abbbeb4f44b7e0f65065be53d4be1ef Author: Kaan Uzdoğan <[email protected]> Date: Tue Apr 4 15:44:38 2023 +0300 Remove readonly solc-js folder commit 1ef0e73edf4efec5c4a1baa7276a061d97cafc9e Author: Kaan Uzdoğan <[email protected]> Date: Mon Apr 3 13:31:14 2023 +0300 Verify with `immutableReferences` (#973) * Verify with `immutableReferences` * Shared assertion in chain-tests. Check im-ref.json * Remove .only from test * Add lib-sourcify tests, lower branch treshold * Don't delete non-existent repo * Assign undefined when immutableRefs is empty obj * Modify simulation tests Since using `immutableReferences`, the contracts that coudl only be verified with "simulation" can already be verified with "matchWithDeployedBytecode". This renders the prev. "simulation" tests useless. Modify those tests for the new case accordingly, remove irrelevant tests * Fix missing case when immutableReferences is null * Remove constructor-args.txt check in monitor test * Skip the Etherscan tests commit b0ec078c5c338cb743424c183b52c6ecc9e174a0 Author: Kaan Uzdoğan <[email protected]> Date: Mon Apr 3 10:51:07 2023 +0300 Update h5ai commit 27947d8bb4c33f3fc7654de308fac99fa5cf4eb7 Author: Kaan Uzdoğan <[email protected]> Date: Mon Apr 3 09:42:34 2023 +0300 Log error on check-s3-backup commit c91e918ff0e479c5cfce28250d36b7177453bcf6 Author: Kaan Uzdoğan <[email protected]> Date: Fri Mar 31 17:48:39 2023 +0300 Update h5ai, add Twitter meta, favicons commit 62c15f6b3556ce3d094e242caf703c55f5fb1497 Author: Kaan Uzdoğan <[email protected]> Date: Fri Mar 31 15:18:05 2023 +0300 Fix #967 handle 'paris' hardfork update ethereumjs commit 7692ef3076107919cad3f5d10584b5fafb743121 Author: Marco Castignoli <[email protected]> Date: Thu Mar 30 09:35:09 2023 +0200 fix #844 checksum address from parameters before handling lookup request commit d94d141b53c4625cf1870350261b43af8433f265 Author: Marco Castignoli <[email protected]> Date: Wed Mar 29 16:34:24 2023 +0200 fix #843 Add a link to the repo.sourcify.dev address in the UI after successful verification * re-enable component to display already verified triggered while filling the address commit ad209197dde4b6d92b1ca0664cf4ae617f5368ea Author: Kaan Uzdogan <[email protected]> Date: Tue Mar 28 13:49:51 2023 +0300 Fix find_replace.sh typo commit 164405aab003f6d4bf8a62a808b0d40b4050466d Author: Kaan Uzdoğan <[email protected]> Date: Tue Mar 28 13:16:44 2023 +0300 Add other Etherscan chains (#959) * Add other Etherscan chains * Fix 2>&1 * Handle Cloudflare security check 403 on scraping * Add Etherscan instances to server * Add Etherscan chains to the UI * Fix ethscn endpoint, add etherscn tests, refactor Apparently the non-session endpoint was not being tested and not behaving correctly. - Add validation to non-session Etherscan verification - fix `req.body.chainId` in `verifyFromEtherscan`. Non-session endpoints expect `chain` instead of `chainId` Also the create2 session verification was returning the storageTimestamp which is not expected according to other session tests. - Removes storageTimestamp from verifyCreate2 - Refactor etherscan tests into own file. - Refactor shared assertions into own file. * Rename assertions, use shared asrtn.s in server.js * Validate Etherscan Input * Fix Snowtrace API * Add Etherscan instance contracts, env vars secrets * Fix tests, print test fail, fix env vars * Server port in constructor, increase timeout Both etherscan and server tests were trying to use the same ports. Allow custom ports for server in constructor. Increase Etherscan tests timeout to 5s * Fix timeout call * Rimraf repository sync * Debug all lib-sourcify tests * Use creatorTxHash for unable to scrape tests * Fix "Contract is not saved" * Don't build twice before test CI * Send even more req's to ensure rate limit On the CI, the rate limit does not get hit until around 15 reqs * Pass creatorTxHash, log validation test assertions * Session tests, ac…
Link to bug demonstration repository
I'm having an exception when I try to get the test coverage of my project.
The only thing particular is that I'm using worker threads with a pool.
The error is not thrown when I execute the tests.
Repository
Expected Behavior
No exception should be throwed.
Observed Behavior
When I try to get the coverage
yarn test:coverage
When I simply run the tests
yarn test
Troubleshooting steps
Environment Information
The text was updated successfully, but these errors were encountered: