@nomicfoundation/edr 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +49 -110
  2. package/index.js +56 -84
  3. package/package.json +10 -10
package/index.d.ts CHANGED
@@ -195,10 +195,6 @@ export interface AddressLabel {
195
195
  */
196
196
  export declare function addStatementCoverageInstrumentation(sourceCode: string, sourceId: string, solidityVersion: string): InstrumentationResult
197
197
 
198
- export const AMSTERDAM: string
199
-
200
- export const ARROW_GLACIER: string
201
-
202
198
  /** A compilation artifact. */
203
199
  export interface Artifact {
204
200
  /** The identifier of the artifact. */
@@ -250,10 +246,6 @@ export interface BaseFeeParamActivation {
250
246
  elasticityMultiplier: bigint
251
247
  }
252
248
 
253
- export const BEDROCK: string
254
-
255
- export const BERLIN: string
256
-
257
249
  /** Information about the blob gas used in a block. */
258
250
  export interface BlobGas {
259
251
  /**
@@ -281,8 +273,6 @@ export interface BuildInfoAndOutput {
281
273
  output: Uint8Array
282
274
  }
283
275
 
284
- export const BYZANTIUM: string
285
-
286
276
  /** What chains to cache */
287
277
  export declare enum CachedChains {
288
278
  /** Cache all chains */
@@ -378,10 +368,6 @@ export interface CallTrace {
378
368
  children: Array<CallTrace | LogTrace>
379
369
  }
380
370
 
381
- export const CANCUN: string
382
-
383
- export const CANYON: string
384
-
385
371
  /** Specification of a chain with possible overrides. */
386
372
  export interface ChainOverride {
387
373
  /** The chain ID */
@@ -443,8 +429,6 @@ export declare enum CollectStackTraces {
443
429
  OnFailure = 1
444
430
  }
445
431
 
446
- export const CONSTANTINOPLE: string
447
-
448
432
  export const CONSTRUCTOR_FUNCTION_NAME: string
449
433
 
450
434
  export interface ContractCallRunOutOfGasError {
@@ -519,8 +503,6 @@ export interface CustomErrorStackTraceEntry {
519
503
  sourceReference: SourceReference
520
504
  }
521
505
 
522
- export const DAO_FORK: string
523
-
524
506
  export interface DebugTraceLogItem {
525
507
  /** Program Counter */
526
508
  pc: bigint
@@ -575,8 +557,6 @@ export interface DirectLibraryCallErrorStackTraceEntry {
575
557
  sourceReference: SourceReference
576
558
  }
577
559
 
578
- export const ECOTONE: string
579
-
580
560
  /**
581
561
  * Indicates that the EVM has experienced an exceptional halt. This causes
582
562
  * execution to immediately end with all gas being consumed.
@@ -652,8 +632,6 @@ export interface FallbackNotPayableErrorStackTraceEntry {
652
632
  sourceReference: SourceReference
653
633
  }
654
634
 
655
- export const FJORD: string
656
-
657
635
  /** Configuration for forking a blockchain */
658
636
  export interface ForkConfig {
659
637
  /**
@@ -671,10 +649,6 @@ export interface ForkConfig {
671
649
  url: string
672
650
  }
673
651
 
674
- export const FRONTIER: string
675
-
676
- export const FRONTIER_THAWING: string
677
-
678
652
  /** * Determines the level of file system access for the given path.
679
653
  *
680
654
  * Exact path matching is used for file permissions. Prefix matching is used
@@ -837,10 +811,6 @@ export const GENERIC_CHAIN_TYPE: string
837
811
 
838
812
  export declare function genericChainProviderFactory(): ProviderFactory
839
813
 
840
- export const GRANITE: string
841
-
842
- export const GRAY_GLACIER: string
843
-
844
814
  /** The result when the EVM terminates due to an exceptional halt. */
845
815
  export interface HaltResult {
846
816
  /** The exceptional halt that occurred */
@@ -881,10 +851,6 @@ export interface HeuristicFailed {
881
851
  kind: "HeuristicFailed"
882
852
  }
883
853
 
884
- export const HOLOCENE: string
885
-
886
- export const HOMESTEAD: string
887
-
888
854
  export interface HttpHeader {
889
855
  name: string
890
856
  value: string
@@ -1204,10 +1170,6 @@ export interface InvariantTestKind {
1204
1170
  readonly failedCorpusReplays: bigint
1205
1171
  }
1206
1172
 
1207
- export const ISTANBUL: string
1208
-
1209
- export const ISTHMUS: string
1210
-
1211
1173
  /**
1212
1174
  * Computes the Keccak-256 hash of `data`, returning the 32-byte digest.
1213
1175
  *
@@ -1219,23 +1181,57 @@ export declare function keccak256(data: Uint8Array): Uint8Array
1219
1181
 
1220
1182
  export const L1_CHAIN_TYPE: string
1221
1183
 
1222
- export declare function l1GenesisState(hardfork: SpecId): Array<AccountOverride>
1184
+ export declare function l1GenesisState(hardfork: L1Hardfork): Array<AccountOverride>
1185
+
1186
+ /** Identifier for the Ethereum spec. */
1187
+ export declare enum L1Hardfork {
1188
+ /** Byzantium */
1189
+ Byzantium = 6,
1190
+ /** Constantinople */
1191
+ Constantinople = 7,
1192
+ /** Petersburg */
1193
+ Petersburg = 8,
1194
+ /** Istanbul */
1195
+ Istanbul = 9,
1196
+ /** Muir Glacier */
1197
+ MuirGlacier = 10,
1198
+ /** Berlin */
1199
+ Berlin = 11,
1200
+ /** London */
1201
+ London = 12,
1202
+ /** Arrow Glacier */
1203
+ ArrowGlacier = 13,
1204
+ /** Gray Glacier */
1205
+ GrayGlacier = 14,
1206
+ /** Merge */
1207
+ Merge = 15,
1208
+ /** Shanghai */
1209
+ Shanghai = 16,
1210
+ /** Cancun */
1211
+ Cancun = 17,
1212
+ /** Prague */
1213
+ Prague = 18,
1214
+ /** Osaka */
1215
+ Osaka = 19,
1216
+ /** Amsterdam */
1217
+ Amsterdam = 20
1218
+ }
1223
1219
 
1224
1220
  /**
1225
- * Tries to parse the provided string to create a [`SpecId`] instance.
1221
+ * Tries to parse the provided string to create an [`L1Hardfork`] instance.
1226
1222
  *
1227
1223
  * Returns an error if the string does not match any known hardfork.
1228
1224
  */
1229
- export declare function l1HardforkFromString(hardfork: string): SpecId
1225
+ export declare function l1HardforkFromString(hardfork: string): L1Hardfork
1230
1226
 
1231
1227
  /**
1232
- * Returns the latest supported OP hardfork.
1228
+ * Returns the latest supported L1 hardfork.
1233
1229
  *
1234
1230
  * The returned value will be updated after each network upgrade.
1235
1231
  */
1236
- export declare function l1HardforkLatest(): SpecId
1232
+ export declare function l1HardforkLatest(): L1Hardfork
1237
1233
 
1238
- export declare function l1HardforkToString(hardfork: SpecId): string
1234
+ export declare function l1HardforkToString(hardfork: L1Hardfork): string
1239
1235
 
1240
1236
  export declare function l1ProviderFactory(): ProviderFactory
1241
1237
 
@@ -1293,15 +1289,11 @@ export interface LogTrace {
1293
1289
  parameters: DecodedTraceParameters | Array<Uint8Array>
1294
1290
  }
1295
1291
 
1296
- export const LONDON: string
1297
-
1298
1292
  /** Configuration for the provider's mempool. */
1299
1293
  export interface MemPoolConfig {
1300
1294
  order: MineOrdering
1301
1295
  }
1302
1296
 
1303
- export const MERGE: string
1304
-
1305
1297
  /** The type of ordering to use when selecting blocks to mine. */
1306
1298
  export declare enum MineOrdering {
1307
1299
  /** Insertion order */
@@ -1329,8 +1321,6 @@ export interface MissingFallbackOrReceiveErrorStackTraceEntry {
1329
1321
  sourceReference: SourceReference
1330
1322
  }
1331
1323
 
1332
- export const MUIR_GLACIER: string
1333
-
1334
1324
  export interface NonContractAccountCalledErrorStackTraceEntry {
1335
1325
  type: StackTraceEntryType.NONCONTRACT_ACCOUNT_CALLED_ERROR
1336
1326
  sourceReference: SourceReference
@@ -1355,7 +1345,7 @@ export const OP_CHAIN_TYPE: string
1355
1345
 
1356
1346
  export declare function opGenesisState(hardfork: OpHardfork): Array<AccountOverride>
1357
1347
 
1358
- /** Enumeration of supported OP hardforks. */
1348
+ /** Identifier for the OP hardfork. */
1359
1349
  export declare enum OpHardfork {
1360
1350
  Bedrock = 100,
1361
1351
  Regolith = 101,
@@ -1389,8 +1379,6 @@ export declare function opProviderFactory(): ProviderFactory
1389
1379
 
1390
1380
  export declare function opSolidityTestRunnerFactory(): SolidityTestRunnerFactory
1391
1381
 
1392
- export const OSAKA: string
1393
-
1394
1382
  export interface OtherExecutionErrorStackTraceEntry {
1395
1383
  type: StackTraceEntryType.OTHER_EXECUTION_ERROR
1396
1384
  sourceReference?: SourceReference
@@ -1410,10 +1398,6 @@ export interface PathPermission {
1410
1398
  path: string
1411
1399
  }
1412
1400
 
1413
- export const PETERSBURG: string
1414
-
1415
- export const PRAGUE: string
1416
-
1417
1401
  export const PRECOMPILE_FUNCTION_NAME: string
1418
1402
 
1419
1403
  export interface PrecompileErrorStackTraceEntry {
@@ -1511,8 +1495,6 @@ export interface ProviderConfig {
1511
1495
 
1512
1496
  export const RECEIVE_FUNCTION_NAME: string
1513
1497
 
1514
- export const REGOLITH: string
1515
-
1516
1498
  export interface ReturndataSizeErrorStackTraceEntry {
1517
1499
  type: StackTraceEntryType.RETURNDATA_SIZE_ERROR
1518
1500
  sourceReference: SourceReference
@@ -1535,7 +1517,14 @@ export interface RevertResult {
1535
1517
  output: Uint8Array
1536
1518
  }
1537
1519
 
1538
- export const SHANGHAI: string
1520
+ /**
1521
+ * Derives the secp256k1 public key of the provided secret key, returning it
1522
+ * in uncompressed SEC1 form: 65 bytes, `0x04 || X || Y`.
1523
+ *
1524
+ * Throws if the input isn't a valid secret key: exactly 32 bytes encoding a
1525
+ * big-endian scalar in `[1, n)`, where `n` is the curve order.
1526
+ */
1527
+ export declare function secp256k1PublicKeyFromSecretKey(secretKey: Uint8Array): Uint8Array
1539
1528
 
1540
1529
  export type SolidityStackTrace =
1541
1530
  Array<SolidityStackTraceEntry>
@@ -1803,54 +1792,6 @@ export interface SourceReference {
1803
1792
  range: Array<number>
1804
1793
  }
1805
1794
 
1806
- /** Identifier for the Ethereum spec. */
1807
- export declare enum SpecId {
1808
- /** Frontier */
1809
- Frontier = 0,
1810
- /** Frontier Thawing */
1811
- FrontierThawing = 1,
1812
- /** Homestead */
1813
- Homestead = 2,
1814
- /** DAO Fork */
1815
- DaoFork = 3,
1816
- /** Tangerine */
1817
- Tangerine = 4,
1818
- /** Spurious Dragon */
1819
- SpuriousDragon = 5,
1820
- /** Byzantium */
1821
- Byzantium = 6,
1822
- /** Constantinople */
1823
- Constantinople = 7,
1824
- /** Petersburg */
1825
- Petersburg = 8,
1826
- /** Istanbul */
1827
- Istanbul = 9,
1828
- /** Muir Glacier */
1829
- MuirGlacier = 10,
1830
- /** Berlin */
1831
- Berlin = 11,
1832
- /** London */
1833
- London = 12,
1834
- /** Arrow Glacier */
1835
- ArrowGlacier = 13,
1836
- /** Gray Glacier */
1837
- GrayGlacier = 14,
1838
- /** Merge */
1839
- Merge = 15,
1840
- /** Shanghai */
1841
- Shanghai = 16,
1842
- /** Cancun */
1843
- Cancun = 17,
1844
- /** Prague */
1845
- Prague = 18,
1846
- /** Osaka */
1847
- Osaka = 19,
1848
- /** Amsterdam */
1849
- Amsterdam = 20
1850
- }
1851
-
1852
- export const SPURIOUS_DRAGON: string
1853
-
1854
1795
  /** The stack trace result */
1855
1796
  export interface StackTrace {
1856
1797
  /** Enum tag for JS. */
@@ -1979,8 +1920,6 @@ export interface SuiteResult {
1979
1920
  warnings: Array<string>
1980
1921
  }
1981
1922
 
1982
- export const TANGERINE: string
1983
-
1984
1923
  /** The result of a test execution. */
1985
1924
  export declare enum TestStatus {
1986
1925
  /** Test success */
package/index.js CHANGED
@@ -77,8 +77,8 @@ function requireNative() {
77
77
  try {
78
78
  const binding = require('@nomicfoundation/edr-android-arm64')
79
79
  const bindingPackageVersion = require('@nomicfoundation/edr-android-arm64/package.json').version
80
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
80
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
82
82
  }
83
83
  return binding
84
84
  } catch (e) {
@@ -93,8 +93,8 @@ function requireNative() {
93
93
  try {
94
94
  const binding = require('@nomicfoundation/edr-android-arm-eabi')
95
95
  const bindingPackageVersion = require('@nomicfoundation/edr-android-arm-eabi/package.json').version
96
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
96
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
98
98
  }
99
99
  return binding
100
100
  } catch (e) {
@@ -114,8 +114,8 @@ function requireNative() {
114
114
  try {
115
115
  const binding = require('@nomicfoundation/edr-win32-x64-gnu')
116
116
  const bindingPackageVersion = require('@nomicfoundation/edr-win32-x64-gnu/package.json').version
117
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
118
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
117
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
118
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
119
119
  }
120
120
  return binding
121
121
  } catch (e) {
@@ -130,8 +130,8 @@ function requireNative() {
130
130
  try {
131
131
  const binding = require('@nomicfoundation/edr-win32-x64-msvc')
132
132
  const bindingPackageVersion = require('@nomicfoundation/edr-win32-x64-msvc/package.json').version
133
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
133
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
135
135
  }
136
136
  return binding
137
137
  } catch (e) {
@@ -147,8 +147,8 @@ function requireNative() {
147
147
  try {
148
148
  const binding = require('@nomicfoundation/edr-win32-ia32-msvc')
149
149
  const bindingPackageVersion = require('@nomicfoundation/edr-win32-ia32-msvc/package.json').version
150
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
150
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
152
152
  }
153
153
  return binding
154
154
  } catch (e) {
@@ -163,8 +163,8 @@ function requireNative() {
163
163
  try {
164
164
  const binding = require('@nomicfoundation/edr-win32-arm64-msvc')
165
165
  const bindingPackageVersion = require('@nomicfoundation/edr-win32-arm64-msvc/package.json').version
166
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
166
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
168
168
  }
169
169
  return binding
170
170
  } catch (e) {
@@ -182,8 +182,8 @@ function requireNative() {
182
182
  try {
183
183
  const binding = require('@nomicfoundation/edr-darwin-universal')
184
184
  const bindingPackageVersion = require('@nomicfoundation/edr-darwin-universal/package.json').version
185
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
186
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
185
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
186
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
187
187
  }
188
188
  return binding
189
189
  } catch (e) {
@@ -198,8 +198,8 @@ function requireNative() {
198
198
  try {
199
199
  const binding = require('@nomicfoundation/edr-darwin-x64')
200
200
  const bindingPackageVersion = require('@nomicfoundation/edr-darwin-x64/package.json').version
201
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
201
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
203
203
  }
204
204
  return binding
205
205
  } catch (e) {
@@ -214,8 +214,8 @@ function requireNative() {
214
214
  try {
215
215
  const binding = require('@nomicfoundation/edr-darwin-arm64')
216
216
  const bindingPackageVersion = require('@nomicfoundation/edr-darwin-arm64/package.json').version
217
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
217
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
219
219
  }
220
220
  return binding
221
221
  } catch (e) {
@@ -234,8 +234,8 @@ function requireNative() {
234
234
  try {
235
235
  const binding = require('@nomicfoundation/edr-freebsd-x64')
236
236
  const bindingPackageVersion = require('@nomicfoundation/edr-freebsd-x64/package.json').version
237
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
238
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
237
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
238
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
239
239
  }
240
240
  return binding
241
241
  } catch (e) {
@@ -250,8 +250,8 @@ function requireNative() {
250
250
  try {
251
251
  const binding = require('@nomicfoundation/edr-freebsd-arm64')
252
252
  const bindingPackageVersion = require('@nomicfoundation/edr-freebsd-arm64/package.json').version
253
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
253
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
255
255
  }
256
256
  return binding
257
257
  } catch (e) {
@@ -271,8 +271,8 @@ function requireNative() {
271
271
  try {
272
272
  const binding = require('@nomicfoundation/edr-linux-x64-musl')
273
273
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-x64-musl/package.json').version
274
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
275
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
274
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
275
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
276
276
  }
277
277
  return binding
278
278
  } catch (e) {
@@ -287,8 +287,8 @@ function requireNative() {
287
287
  try {
288
288
  const binding = require('@nomicfoundation/edr-linux-x64-gnu')
289
289
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-x64-gnu/package.json').version
290
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
291
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
290
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
291
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
292
292
  }
293
293
  return binding
294
294
  } catch (e) {
@@ -305,8 +305,8 @@ function requireNative() {
305
305
  try {
306
306
  const binding = require('@nomicfoundation/edr-linux-arm64-musl')
307
307
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-arm64-musl/package.json').version
308
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
309
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
308
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
309
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
310
310
  }
311
311
  return binding
312
312
  } catch (e) {
@@ -321,8 +321,8 @@ function requireNative() {
321
321
  try {
322
322
  const binding = require('@nomicfoundation/edr-linux-arm64-gnu')
323
323
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-arm64-gnu/package.json').version
324
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
325
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
324
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
325
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
326
326
  }
327
327
  return binding
328
328
  } catch (e) {
@@ -339,8 +339,8 @@ function requireNative() {
339
339
  try {
340
340
  const binding = require('@nomicfoundation/edr-linux-arm-musleabihf')
341
341
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-arm-musleabihf/package.json').version
342
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
342
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
344
344
  }
345
345
  return binding
346
346
  } catch (e) {
@@ -355,8 +355,8 @@ function requireNative() {
355
355
  try {
356
356
  const binding = require('@nomicfoundation/edr-linux-arm-gnueabihf')
357
357
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-arm-gnueabihf/package.json').version
358
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
359
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
358
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
359
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
360
360
  }
361
361
  return binding
362
362
  } catch (e) {
@@ -373,8 +373,8 @@ function requireNative() {
373
373
  try {
374
374
  const binding = require('@nomicfoundation/edr-linux-loong64-musl')
375
375
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-loong64-musl/package.json').version
376
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
377
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
376
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
377
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
378
378
  }
379
379
  return binding
380
380
  } catch (e) {
@@ -389,8 +389,8 @@ function requireNative() {
389
389
  try {
390
390
  const binding = require('@nomicfoundation/edr-linux-loong64-gnu')
391
391
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-loong64-gnu/package.json').version
392
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
392
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
394
394
  }
395
395
  return binding
396
396
  } catch (e) {
@@ -407,8 +407,8 @@ function requireNative() {
407
407
  try {
408
408
  const binding = require('@nomicfoundation/edr-linux-riscv64-musl')
409
409
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-riscv64-musl/package.json').version
410
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
410
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
412
412
  }
413
413
  return binding
414
414
  } catch (e) {
@@ -423,8 +423,8 @@ function requireNative() {
423
423
  try {
424
424
  const binding = require('@nomicfoundation/edr-linux-riscv64-gnu')
425
425
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-riscv64-gnu/package.json').version
426
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
427
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
426
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
427
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
428
428
  }
429
429
  return binding
430
430
  } catch (e) {
@@ -440,8 +440,8 @@ function requireNative() {
440
440
  try {
441
441
  const binding = require('@nomicfoundation/edr-linux-ppc64-gnu')
442
442
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-ppc64-gnu/package.json').version
443
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
443
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
445
445
  }
446
446
  return binding
447
447
  } catch (e) {
@@ -456,8 +456,8 @@ function requireNative() {
456
456
  try {
457
457
  const binding = require('@nomicfoundation/edr-linux-s390x-gnu')
458
458
  const bindingPackageVersion = require('@nomicfoundation/edr-linux-s390x-gnu/package.json').version
459
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
459
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
461
461
  }
462
462
  return binding
463
463
  } catch (e) {
@@ -476,8 +476,8 @@ function requireNative() {
476
476
  try {
477
477
  const binding = require('@nomicfoundation/edr-openharmony-arm64')
478
478
  const bindingPackageVersion = require('@nomicfoundation/edr-openharmony-arm64/package.json').version
479
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
480
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
479
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
480
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
481
481
  }
482
482
  return binding
483
483
  } catch (e) {
@@ -492,8 +492,8 @@ function requireNative() {
492
492
  try {
493
493
  const binding = require('@nomicfoundation/edr-openharmony-x64')
494
494
  const bindingPackageVersion = require('@nomicfoundation/edr-openharmony-x64/package.json').version
495
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
496
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
495
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
496
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
497
497
  }
498
498
  return binding
499
499
  } catch (e) {
@@ -508,8 +508,8 @@ function requireNative() {
508
508
  try {
509
509
  const binding = require('@nomicfoundation/edr-openharmony-arm')
510
510
  const bindingPackageVersion = require('@nomicfoundation/edr-openharmony-arm/package.json').version
511
- if (bindingPackageVersion !== '0.20.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
- throw new Error(`Native binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
511
+ if (bindingPackageVersion !== '0.21.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
+ throw new Error(`Native binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
513
513
  }
514
514
  return binding
515
515
  } catch (e) {
@@ -648,8 +648,8 @@ if (!nativeBinding || forceWasi) {
648
648
  if (!candidateFailed) {
649
649
  if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
650
650
  const bindingPackageVersion = require('@nomicfoundation/edr-wasm32-wasi/package.json').version
651
- if (bindingPackageVersion !== '0.20.0') {
652
- throw new Error(`WASI binding package version mismatch, expected 0.20.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
651
+ if (bindingPackageVersion !== '0.21.0') {
652
+ throw new Error(`WASI binding package version mismatch, expected 0.21.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
653
653
  }
654
654
  }
655
655
  wasiBinding = require('@nomicfoundation/edr-wasm32-wasi')
@@ -713,45 +713,27 @@ module.exports.ReturnData = nativeBinding.ReturnData
713
713
  module.exports.SolidityTestRunnerFactory = nativeBinding.SolidityTestRunnerFactory
714
714
  module.exports.TestResult = nativeBinding.TestResult
715
715
  module.exports.addStatementCoverageInstrumentation = nativeBinding.addStatementCoverageInstrumentation
716
- module.exports.AMSTERDAM = nativeBinding.AMSTERDAM
717
- module.exports.ARROW_GLACIER = nativeBinding.ARROW_GLACIER
718
- module.exports.BEDROCK = nativeBinding.BEDROCK
719
- module.exports.BERLIN = nativeBinding.BERLIN
720
- module.exports.BYZANTIUM = nativeBinding.BYZANTIUM
721
716
  module.exports.CachedChains = nativeBinding.CachedChains
722
717
  module.exports.CachedEndpoints = nativeBinding.CachedEndpoints
723
718
  module.exports.CallKind = nativeBinding.CallKind
724
- module.exports.CANCUN = nativeBinding.CANCUN
725
- module.exports.CANYON = nativeBinding.CANYON
726
719
  module.exports.CheatcodeErrorCode = nativeBinding.CheatcodeErrorCode
727
720
  module.exports.CollectStackTraces = nativeBinding.CollectStackTraces
728
- module.exports.CONSTANTINOPLE = nativeBinding.CONSTANTINOPLE
729
721
  module.exports.CONSTRUCTOR_FUNCTION_NAME = nativeBinding.CONSTRUCTOR_FUNCTION_NAME
730
722
  module.exports.ContractFunctionType = nativeBinding.ContractFunctionType
731
723
  module.exports.COVERAGE_LIBRARY_FILE_NAME = nativeBinding.COVERAGE_LIBRARY_FILE_NAME
732
- module.exports.DAO_FORK = nativeBinding.DAO_FORK
733
- module.exports.ECOTONE = nativeBinding.ECOTONE
734
724
  module.exports.ExceptionalHalt = nativeBinding.ExceptionalHalt
735
725
  module.exports.ExitCode = nativeBinding.ExitCode
736
726
  module.exports.FALLBACK_FUNCTION_NAME = nativeBinding.FALLBACK_FUNCTION_NAME
737
- module.exports.FJORD = nativeBinding.FJORD
738
- module.exports.FRONTIER = nativeBinding.FRONTIER
739
- module.exports.FRONTIER_THAWING = nativeBinding.FRONTIER_THAWING
740
727
  module.exports.FsAccessPermission = nativeBinding.FsAccessPermission
741
728
  module.exports.GasEstimationMode = nativeBinding.GasEstimationMode
742
729
  module.exports.GasReportExecutionStatus = nativeBinding.GasReportExecutionStatus
743
730
  module.exports.GENERIC_CHAIN_TYPE = nativeBinding.GENERIC_CHAIN_TYPE
744
731
  module.exports.genericChainProviderFactory = nativeBinding.genericChainProviderFactory
745
- module.exports.GRANITE = nativeBinding.GRANITE
746
- module.exports.GRAY_GLACIER = nativeBinding.GRAY_GLACIER
747
- module.exports.HOLOCENE = nativeBinding.HOLOCENE
748
- module.exports.HOMESTEAD = nativeBinding.HOMESTEAD
749
732
  module.exports.IncludeTraces = nativeBinding.IncludeTraces
750
- module.exports.ISTANBUL = nativeBinding.ISTANBUL
751
- module.exports.ISTHMUS = nativeBinding.ISTHMUS
752
733
  module.exports.keccak256 = nativeBinding.keccak256
753
734
  module.exports.L1_CHAIN_TYPE = nativeBinding.L1_CHAIN_TYPE
754
735
  module.exports.l1GenesisState = nativeBinding.l1GenesisState
736
+ module.exports.L1Hardfork = nativeBinding.L1Hardfork
755
737
  module.exports.l1HardforkFromString = nativeBinding.l1HardforkFromString
756
738
  module.exports.l1HardforkLatest = nativeBinding.l1HardforkLatest
757
739
  module.exports.l1HardforkToString = nativeBinding.l1HardforkToString
@@ -760,10 +742,7 @@ module.exports.l1SolidityTestRunnerFactory = nativeBinding.l1SolidityTestRunnerF
760
742
  module.exports.latestSupportedSolidityVersion = nativeBinding.latestSupportedSolidityVersion
761
743
  module.exports.linkHexStringBytecode = nativeBinding.linkHexStringBytecode
762
744
  module.exports.LogKind = nativeBinding.LogKind
763
- module.exports.LONDON = nativeBinding.LONDON
764
- module.exports.MERGE = nativeBinding.MERGE
765
745
  module.exports.MineOrdering = nativeBinding.MineOrdering
766
- module.exports.MUIR_GLACIER = nativeBinding.MUIR_GLACIER
767
746
  module.exports.OP_CHAIN_TYPE = nativeBinding.OP_CHAIN_TYPE
768
747
  module.exports.opGenesisState = nativeBinding.opGenesisState
769
748
  module.exports.OpHardfork = nativeBinding.OpHardfork
@@ -772,21 +751,14 @@ module.exports.opHardforkToString = nativeBinding.opHardforkToString
772
751
  module.exports.opLatestHardfork = nativeBinding.opLatestHardfork
773
752
  module.exports.opProviderFactory = nativeBinding.opProviderFactory
774
753
  module.exports.opSolidityTestRunnerFactory = nativeBinding.opSolidityTestRunnerFactory
775
- module.exports.OSAKA = nativeBinding.OSAKA
776
- module.exports.PETERSBURG = nativeBinding.PETERSBURG
777
- module.exports.PRAGUE = nativeBinding.PRAGUE
778
754
  module.exports.PRECOMPILE_FUNCTION_NAME = nativeBinding.PRECOMPILE_FUNCTION_NAME
779
755
  module.exports.precompileP256Verify = nativeBinding.precompileP256Verify
780
756
  module.exports.printStackTrace = nativeBinding.printStackTrace
781
757
  module.exports.RECEIVE_FUNCTION_NAME = nativeBinding.RECEIVE_FUNCTION_NAME
782
- module.exports.REGOLITH = nativeBinding.REGOLITH
783
- module.exports.SHANGHAI = nativeBinding.SHANGHAI
784
- module.exports.SpecId = nativeBinding.SpecId
785
- module.exports.SPURIOUS_DRAGON = nativeBinding.SPURIOUS_DRAGON
758
+ module.exports.secp256k1PublicKeyFromSecretKey = nativeBinding.secp256k1PublicKeyFromSecretKey
786
759
  module.exports.StackTraceEntryType = nativeBinding.StackTraceEntryType
787
760
  module.exports.stackTraceEntryTypeToString = nativeBinding.stackTraceEntryTypeToString
788
761
  module.exports.SuccessReason = nativeBinding.SuccessReason
789
- module.exports.TANGERINE = nativeBinding.TANGERINE
790
762
  module.exports.TestStatus = nativeBinding.TestStatus
791
763
  module.exports.UNKNOWN_FUNCTION_NAME = nativeBinding.UNKNOWN_FUNCTION_NAME
792
764
  module.exports.UNRECOGNIZED_CONTRACT_NAME = nativeBinding.UNRECOGNIZED_CONTRACT_NAME
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomicfoundation/edr",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "devDependencies": {
5
5
  "@napi-rs/cli": "^3.7.0",
6
6
  "@nomicfoundation/ethereumjs-util": "^9.0.4",
@@ -9,8 +9,8 @@
9
9
  "@types/chai-as-promised": "^7.1.8",
10
10
  "@types/mocha": ">=9.1.0",
11
11
  "@types/node": "^22.0.0",
12
- "@typescript-eslint/eslint-plugin": "8.67.0",
13
- "@typescript-eslint/parser": "8.67.0",
12
+ "@typescript-eslint/eslint-plugin": "8.69.0",
13
+ "@typescript-eslint/parser": "8.69.0",
14
14
  "chai": "^4.3.6",
15
15
  "chai-as-promised": "^7.1.1",
16
16
  "chalk": "^2.4.2",
@@ -59,13 +59,13 @@
59
59
  },
60
60
  "types": "index.d.ts",
61
61
  "optionalDependencies": {
62
- "@nomicfoundation/edr-darwin-arm64": "0.20.0",
63
- "@nomicfoundation/edr-darwin-x64": "0.20.0",
64
- "@nomicfoundation/edr-linux-arm64-gnu": "0.20.0",
65
- "@nomicfoundation/edr-linux-arm64-musl": "0.20.0",
66
- "@nomicfoundation/edr-linux-x64-gnu": "0.20.0",
67
- "@nomicfoundation/edr-linux-x64-musl": "0.20.0",
68
- "@nomicfoundation/edr-win32-x64-msvc": "0.20.0"
62
+ "@nomicfoundation/edr-darwin-arm64": "0.21.0",
63
+ "@nomicfoundation/edr-darwin-x64": "0.21.0",
64
+ "@nomicfoundation/edr-linux-arm64-gnu": "0.21.0",
65
+ "@nomicfoundation/edr-linux-arm64-musl": "0.21.0",
66
+ "@nomicfoundation/edr-linux-x64-gnu": "0.21.0",
67
+ "@nomicfoundation/edr-linux-x64-musl": "0.21.0",
68
+ "@nomicfoundation/edr-win32-x64-msvc": "0.21.0"
69
69
  },
70
70
  "scripts": {
71
71
  "artifacts": "napi artifacts",