forked from evmts/tevm-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
82 lines (82 loc) · 2.22 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "evmts Dev Container",
"build": {
"dockerfile": "./Dockerfile",
"args": {
"VARIANT": "bullseye"
}
},
"features": {
"ghcr.io/devcontainers/features/git": {},
"ghcr.io/devcontainers/features/rust": {},
"ghcr.io/devcontainers/features/github-cli": {},
"ghcr.io/devcontainers/features/docker-in-docker": {}
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
"remoteUser": "root",
"containerEnv": {
"GOERLI_RPC_URL": "",
"OPTIMISM_GOERLI_RPC_URL": "",
"MAINNET_RPC_URL": "",
"OPTIMISM_RPC_URL": "",
"DEPLOYER_PRIVATE_KEY": "",
"ETHERSCAN_API_KEY": "",
"OPTIMISM_ETHERSCAN_API_KEY": ""
},
"forwardPorts": [
8545
],
"portsAttributes": {
"8545": {
"label": "Foundry Anvil",
"onAutoForward": "notify"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker",
"ms-vscode-remote.vscode-remote-extensionpack",
"ms-vsliveshare.vsliveshare",
"rome.rome",
"JuanBlanco.solidity",
// there is no angular in this repo!
// but this is useful for running nx commands in vscode
"nrwl.angular-console",
"antfu.vite"
],
"settings": {
"typescript.tsdk": "node_modules/typescript/lib",
"editor.formatOnSaveMode": "file",
"editor.tabCompletion": "on",
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.inlineSuggest.enabled": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports.rome": true
},
"files.eol": "\n",
"[typescript]": {
"editor.defaultFormatter": "rome.rome"
},
"editorconfig.generateAuto": false,
"files.trimTrailingWhitespace": true,
"solidity.packageDefaultDependenciesContractsDirectory": "src",
"solidity.packageDefaultDependenciesDirectory": "lib",
"solidity.compileUsingRemoteVersion": "v0.8.17",
"typescript.tsserver.log": "verbose",
"search.exclude": {
"lib": true
},
"files.associations": {
".gas-snapshot": "julia"
}
}
}
}
}