Skip to content

Commit 6c6d425

Browse files
authored
Switch to deth controlled address (#102)
* Switch to deth controlled address * Fix install script
1 parent c8e7151 commit 6c6d425

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/ethereum-viewer/src/explorer/networks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const networkNames: Record<ApiName, string> = {
7070
"testnet.sonicscan": "sonicTestnet",
7171
};
7272

73-
const ETHERSCAN_KEY = "EC6W4PN52911I6RPSGFEH5IT7TEQQYU8H6";
73+
const ETHERSCAN_KEY = "P1JB3MQB5BB92A6K4C48HZKMCK7R8TIWIH";
7474
const OPTIMISM_KEY = "UF822UT1YY28J5EHFFIKI5SPN8752AC7VV";
7575
const BSCSCAN_KEY = "HFUM7BBA5MRUQCN5UMEQPUZBUPPRHIQT3Y";
7676
const FTMSCAN_KEY = "EH9NPZVF1HMNAQMAUZKA4VF7EC23X37DGS";

packages/vscode-host/scripts/prepareAdditionalExtensions.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ function prepareAdditionalExtensions() {
5252
execSync(["yarn package-web", argv.verbose && "--verbose"], options);
5353
} else {
5454
log.info(`Installing production dependencies for ${ext.name}...`);
55-
execSync(["yarn --production", argv.verbose && "--verbose"], options);
55+
if (ext.name === 'solidity-extension') {
56+
execSync(["npm install", argv.verbose && "--verbose"], options);
57+
} else {
58+
execSync(["yarn --production", argv.verbose && "--verbose"], options);
59+
}
5660
}
5761

5862
// create empty metadata file if doesnt exist so vscode doesnt complain

0 commit comments

Comments
 (0)