Skip to content

Commit 51b8cb8

Browse files
committed
Move EDR under the @nomicfoundation org
1 parent 8a1a2b6 commit 51b8cb8

File tree

28 files changed

+53
-55
lines changed

28 files changed

+53
-55
lines changed

.github/workflows/edr-npm-release.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,4 @@ jobs:
426426
fi
427427
env:
428428
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
429-
# This will publish to the `@ignored` org on NPM.
430-
# Switch to `NOMICFOUNDATION_ORG_NPM_TOKEN` to release to the @nomicfoundation org.
431-
NPM_TOKEN: ${{ secrets.IGNORED_ORG_NPM_TOKEN }}
429+
NPM_TOKEN: ${{ secrets.NOMICFOUNDATION_ORG_NPM_TOKEN }}

crates/edr_napi/index.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ switch (platform) {
3737
if (localFileExisted) {
3838
nativeBinding = require('./edr.android-arm64.node')
3939
} else {
40-
nativeBinding = require('@ignored/edr-android-arm64')
40+
nativeBinding = require('@nomicfoundation/edr-android-arm64')
4141
}
4242
} catch (e) {
4343
loadError = e
@@ -49,7 +49,7 @@ switch (platform) {
4949
if (localFileExisted) {
5050
nativeBinding = require('./edr.android-arm-eabi.node')
5151
} else {
52-
nativeBinding = require('@ignored/edr-android-arm-eabi')
52+
nativeBinding = require('@nomicfoundation/edr-android-arm-eabi')
5353
}
5454
} catch (e) {
5555
loadError = e
@@ -69,7 +69,7 @@ switch (platform) {
6969
if (localFileExisted) {
7070
nativeBinding = require('./edr.win32-x64-msvc.node')
7171
} else {
72-
nativeBinding = require('@ignored/edr-win32-x64-msvc')
72+
nativeBinding = require('@nomicfoundation/edr-win32-x64-msvc')
7373
}
7474
} catch (e) {
7575
loadError = e
@@ -83,7 +83,7 @@ switch (platform) {
8383
if (localFileExisted) {
8484
nativeBinding = require('./edr.win32-ia32-msvc.node')
8585
} else {
86-
nativeBinding = require('@ignored/edr-win32-ia32-msvc')
86+
nativeBinding = require('@nomicfoundation/edr-win32-ia32-msvc')
8787
}
8888
} catch (e) {
8989
loadError = e
@@ -97,7 +97,7 @@ switch (platform) {
9797
if (localFileExisted) {
9898
nativeBinding = require('./edr.win32-arm64-msvc.node')
9999
} else {
100-
nativeBinding = require('@ignored/edr-win32-arm64-msvc')
100+
nativeBinding = require('@nomicfoundation/edr-win32-arm64-msvc')
101101
}
102102
} catch (e) {
103103
loadError = e
@@ -113,7 +113,7 @@ switch (platform) {
113113
if (localFileExisted) {
114114
nativeBinding = require('./edr.darwin-universal.node')
115115
} else {
116-
nativeBinding = require('@ignored/edr-darwin-universal')
116+
nativeBinding = require('@nomicfoundation/edr-darwin-universal')
117117
}
118118
break
119119
} catch {}
@@ -124,7 +124,7 @@ switch (platform) {
124124
if (localFileExisted) {
125125
nativeBinding = require('./edr.darwin-x64.node')
126126
} else {
127-
nativeBinding = require('@ignored/edr-darwin-x64')
127+
nativeBinding = require('@nomicfoundation/edr-darwin-x64')
128128
}
129129
} catch (e) {
130130
loadError = e
@@ -138,7 +138,7 @@ switch (platform) {
138138
if (localFileExisted) {
139139
nativeBinding = require('./edr.darwin-arm64.node')
140140
} else {
141-
nativeBinding = require('@ignored/edr-darwin-arm64')
141+
nativeBinding = require('@nomicfoundation/edr-darwin-arm64')
142142
}
143143
} catch (e) {
144144
loadError = e
@@ -157,7 +157,7 @@ switch (platform) {
157157
if (localFileExisted) {
158158
nativeBinding = require('./edr.freebsd-x64.node')
159159
} else {
160-
nativeBinding = require('@ignored/edr-freebsd-x64')
160+
nativeBinding = require('@nomicfoundation/edr-freebsd-x64')
161161
}
162162
} catch (e) {
163163
loadError = e
@@ -174,7 +174,7 @@ switch (platform) {
174174
if (localFileExisted) {
175175
nativeBinding = require('./edr.linux-x64-musl.node')
176176
} else {
177-
nativeBinding = require('@ignored/edr-linux-x64-musl')
177+
nativeBinding = require('@nomicfoundation/edr-linux-x64-musl')
178178
}
179179
} catch (e) {
180180
loadError = e
@@ -187,7 +187,7 @@ switch (platform) {
187187
if (localFileExisted) {
188188
nativeBinding = require('./edr.linux-x64-gnu.node')
189189
} else {
190-
nativeBinding = require('@ignored/edr-linux-x64-gnu')
190+
nativeBinding = require('@nomicfoundation/edr-linux-x64-gnu')
191191
}
192192
} catch (e) {
193193
loadError = e
@@ -203,7 +203,7 @@ switch (platform) {
203203
if (localFileExisted) {
204204
nativeBinding = require('./edr.linux-arm64-musl.node')
205205
} else {
206-
nativeBinding = require('@ignored/edr-linux-arm64-musl')
206+
nativeBinding = require('@nomicfoundation/edr-linux-arm64-musl')
207207
}
208208
} catch (e) {
209209
loadError = e
@@ -216,7 +216,7 @@ switch (platform) {
216216
if (localFileExisted) {
217217
nativeBinding = require('./edr.linux-arm64-gnu.node')
218218
} else {
219-
nativeBinding = require('@ignored/edr-linux-arm64-gnu')
219+
nativeBinding = require('@nomicfoundation/edr-linux-arm64-gnu')
220220
}
221221
} catch (e) {
222222
loadError = e
@@ -231,7 +231,7 @@ switch (platform) {
231231
if (localFileExisted) {
232232
nativeBinding = require('./edr.linux-arm-gnueabihf.node')
233233
} else {
234-
nativeBinding = require('@ignored/edr-linux-arm-gnueabihf')
234+
nativeBinding = require('@nomicfoundation/edr-linux-arm-gnueabihf')
235235
}
236236
} catch (e) {
237237
loadError = e
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `@ignored/edr-darwin-arm64`
1+
# `@nomicfoundation/edr-darwin-arm64`
22

3-
This is the **aarch64-apple-darwin** binary for `@ignored/edr`
3+
This is the **aarch64-apple-darwin** binary for `@nomicfoundation/edr`

crates/edr_napi/npm/darwin-arm64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr-darwin-arm64",
2+
"name": "@nomicfoundation/edr-darwin-arm64",
33
"repository": {
44
"url": "https://github.com/NomicFoundation/hardhat.git",
55
"type": "git"
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `@ignored/edr-darwin-x64`
1+
# `@nomicfoundation/edr-darwin-x64`
22

3-
This is the **x86_64-apple-darwin** binary for `@ignored/edr`
3+
This is the **x86_64-apple-darwin** binary for `@nomicfoundation/edr`

crates/edr_napi/npm/darwin-x64/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr-darwin-x64",
2+
"name": "@nomicfoundation/edr-darwin-x64",
33
"repository": {
44
"url": "https://github.com/NomicFoundation/hardhat.git",
55
"type": "git"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `@ignored/edr-linux-arm64-gnu`
1+
# `@nomicfoundation/edr-linux-arm64-gnu`
22

3-
This is the **aarch64-unknown-linux-gnu** binary for `@ignored/edr`
3+
This is the **aarch64-unknown-linux-gnu** binary for `@nomicfoundation/edr`

crates/edr_napi/npm/linux-arm64-gnu/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr-linux-arm64-gnu",
2+
"name": "@nomicfoundation/edr-linux-arm64-gnu",
33
"repository": {
44
"url": "https://github.com/NomicFoundation/hardhat.git",
55
"type": "git"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `@ignored/edr-linux-arm64-musl`
1+
# `@nomicfoundation/edr-linux-arm64-musl`
22

3-
This is the **aarch64-unknown-linux-musl** binary for `@ignored/edr`
3+
This is the **aarch64-unknown-linux-musl** binary for `@nomicfoundation/edr`

crates/edr_napi/npm/linux-arm64-musl/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr-linux-arm64-musl",
2+
"name": "@nomicfoundation/edr-linux-arm64-musl",
33
"repository": {
44
"url": "https://github.com/NomicFoundation/hardhat.git",
55
"type": "git"
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `@ignored/edr-linux-x64-gnu`
1+
# `@nomicfoundation/edr-linux-x64-gnu`
22

3-
This is the **x86_64-unknown-linux-gnu** binary for `@ignored/edr`
3+
This is the **x86_64-unknown-linux-gnu** binary for `@nomicfoundation/edr`

crates/edr_napi/npm/linux-x64-gnu/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr-linux-x64-gnu",
2+
"name": "@nomicfoundation/edr-linux-x64-gnu",
33
"repository": {
44
"url": "https://github.com/NomicFoundation/hardhat.git",
55
"type": "git"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `@ignored/edr-linux-x64-musl`
1+
# `@nomicfoundation/edr-linux-x64-musl`
22

3-
This is the **x86_64-unknown-linux-musl** binary for `@ignored/edr`
3+
This is the **x86_64-unknown-linux-musl** binary for `@nomicfoundation/edr`

crates/edr_napi/npm/linux-x64-musl/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr-linux-x64-musl",
2+
"name": "@nomicfoundation/edr-linux-x64-musl",
33
"repository": {
44
"url": "https://github.com/NomicFoundation/hardhat.git",
55
"type": "git"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `@ignored/edr-win32-arm64-msvc`
1+
# `@nomicfoundation/edr-win32-arm64-msvc`
22

33
This is the **aarch64-pc-windows-msvc** binary for `edr`

crates/edr_napi/npm/win32-arm64-msvc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr-win32-arm64-msvc",
2+
"name": "@nomicfoundation/edr-win32-arm64-msvc",
33
"repository": {
44
"url": "https://github.com/NomicFoundation/hardhat.git",
55
"type": "git"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `@ignored/edr-win32-ia32-msvc`
1+
# `@nomicfoundation/edr-win32-ia32-msvc`
22

3-
This is the **i686-pc-windows-msvc** binary for `@ignored/edr`
3+
This is the **i686-pc-windows-msvc** binary for `@nomicfoundation/edr`

crates/edr_napi/npm/win32-ia32-msvc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr-win32-ia32-msvc",
2+
"name": "@nomicfoundation/edr-win32-ia32-msvc",
33
"repository": {
44
"url": "https://github.com/NomicFoundation/hardhat.git",
55
"type": "git"
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# `@ignored/edr-win32-x64-msvc`
1+
# `@nomicfoundation/edr-win32-x64-msvc`
22

3-
This is the **x86_64-pc-windows-msvc** binary for `@ignored/edr`
3+
This is the **x86_64-pc-windows-msvc** binary for `@nomicfoundation/edr`

crates/edr_napi/npm/win32-x64-msvc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr-win32-x64-msvc",
2+
"name": "@nomicfoundation/edr-win32-x64-msvc",
33
"repository": {
44
"url": "https://github.com/NomicFoundation/hardhat.git",
55
"type": "git"

crates/edr_napi/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@ignored/edr",
2+
"name": "@nomicfoundation/edr",
33
"version": "0.2.0-alpha.1",
44
"main": "index.js",
55
"types": "index.d.ts",
@@ -46,6 +46,6 @@
4646
"pretest": "pnpm build",
4747
"test": "pnpm tsc && mocha --recursive \"test/**/*.ts\" --exit",
4848
"testNoBuild": "pnpm tsc && mocha --recursive \"test/**/*.ts\" --exit",
49-
"clean": "rm -rf @ignored/edr.node"
49+
"clean": "rm -rf @nomicfoundation/edr.node"
5050
}
5151
}

packages/hardhat-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@
106106
},
107107
"dependencies": {
108108
"@ethersproject/abi": "^5.1.2",
109-
"@ignored/edr": "workspace:^0.2.0-alpha.1",
110109
"@metamask/eth-sig-util": "^4.0.0",
110+
"@nomicfoundation/edr": "workspace:^0.2.0-alpha.1",
111111
"@nomicfoundation/ethereumjs-common": "4.0.4",
112112
"@nomicfoundation/ethereumjs-tx": "5.0.4",
113113
"@nomicfoundation/ethereumjs-util": "9.0.4",

packages/hardhat-core/src/internal/hardhat-network/provider/provider.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
SubscriptionEvent,
1919
TracingMessage,
2020
TracingStep,
21-
} from "@ignored/edr";
21+
} from "@nomicfoundation/edr";
2222
import { Common } from "@nomicfoundation/ethereumjs-common";
2323
import chalk from "chalk";
2424
import debug from "debug";
@@ -180,7 +180,7 @@ export class EdrProviderWrapper
180180
tracingConfig?: TracingConfig
181181
): Promise<EdrProviderWrapper> {
182182
const { Provider } =
183-
require("@ignored/edr") as typeof import("@ignored/edr");
183+
require("@nomicfoundation/edr") as typeof import("@nomicfoundation/edr");
184184

185185
const coinbase = config.coinbase ?? DEFAULT_COINBASE;
186186

packages/hardhat-core/src/internal/hardhat-network/provider/utils/convertToEdr.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
MineOrdering,
44
IntervalRange,
55
DebugTraceResult,
6-
} from "@ignored/edr";
6+
} from "@nomicfoundation/edr";
77
import { HardforkName } from "../../../util/hardforks";
88
import { IntervalMiningConfig, MempoolOrder } from "../node-types";
99
import { RpcDebugTraceOutput, RpcStructLog } from "../output";

packages/hardhat-core/src/internal/hardhat-network/provider/vm/exit.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ExceptionalHalt, SuccessReason } from "@ignored/edr";
1+
import { ExceptionalHalt, SuccessReason } from "@nomicfoundation/edr";
22

33
export enum ExitCode {
44
SUCCESS,

packages/hardhat-core/src/internal/hardhat-network/stack-traces/message-trace.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
HaltResult,
77
RevertResult,
88
SuccessResult,
9-
} from "@ignored/edr";
9+
} from "@nomicfoundation/edr";
1010

1111
export type MessageTrace =
1212
| CreateMessageTrace

packages/hardhat-core/src/internal/hardhat-network/stack-traces/vm-tracer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
ExecutionResult,
44
TracingMessage,
55
TracingStep,
6-
} from "@ignored/edr";
6+
} from "@nomicfoundation/edr";
77

88
import { bytesToBigInt } from "@nomicfoundation/ethereumjs-util";
99

pnpm-lock.yaml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)