Releases: NomicFoundation/edr
Releases · NomicFoundation/edr
@nomicfoundation/[email protected]
Minor Changes
- d0a3a41: Added the ability to collect gas reports for mining blocks and
eth_call - c54a499: make all parameters of
eth_feeHistoryrpc call & provider method call required - d0a3a41: Added the ability to collect gas reports for Solidity tests
Patch Changes
- a2d99ba: Fixed panic due to invalid GasPriceOracle bytecode for Isthmus OP hardfork
- 23e8ad8: Added docs for
runSolidityTestsarguments. - 0047135: Update list of unsupported cheatcodes with cheatcodes up to Foundry 1.3.6
- b355c15: Fixed panic when executing eth_call transaction with Isthmus OP hardfork
- 88a23dc: Fix prepublish step so we again publish the arch/os specific packages.
@nomicfoundation/[email protected]
DEPRECATED
@nomicfoundation/[email protected]
Minor Changes
- 20b4311:
- Added the
ContractDecodertype - Added a function
Provider.contractDecoderto retrieve the provider'sContractDecoderinstance - Changed
EdrContext.createProviderto receive aContractDecoderinstance instead of aTracingConfigWithBuffers- The
ContractDecodercan be constructed from aTracingConfigWithBuffersusing the static methodContractDecoder.withContracts
- The
- Changed
Provider.addCompilationResultto no longer return aboolean. Failures are now signaled by throwing an exception.
- Added the
Patch Changes
@nomicfoundation/[email protected]
Minor Changes
- 7b5995f: New
ProviderConfig.baseFeeConfigfield available for configuring different values of eip-1559maxChangeDenominatorandelasticityMultiplierfield.
@nomicfoundation/[email protected]
@nomicfoundation/[email protected]
@nomicfoundation/[email protected]
Minor Changes
- 6ea800c: Removed deprecated JSON-RPC methods:
eth_mining,net_listening,net_peerCount,hardhat_addCompilationResult,hardhat_intervalMine, andhardhat_reset. - a5cc346: Added cheatcode error stack trace entry. This fixes stack traces for errors from expect revert cheatcodes and improves stack traces for other cheatcode errors.
@nomicfoundation/[email protected]
Patch Changes
- bf9b55b: Improved parallelism in test suite execution for better error reporting and improved performance
- 0e0619e: Added support for function-level gas-tracking in Solidity tests.
- 3f822d8: Fixed panic when using the
pauseGasMeteringcheatcode - 74b1f05: Made the
contractfield inCallTraceoptional, and added a separateaddressfield that is always present. (Breaking change)
@nomicfoundation/[email protected]
@nomicfoundation/[email protected]
Minor Changes
- 8396d70: Changed the ChainConfig to include a chain name and allow timestamp-based hardfork activations
- 097b8c3: Changed ProviderConfig members to decouple from Hardhat 2 concepts
- edc20dc: Added code coverage to the provider. It can be configured through the ProviderConfig
- 5e209a1: Added support for asynchronous callbacks for collected code coverage
- ef49c8a: Removed runSolidityTests method and introduced EdrContext::registerSolidityTestRunnerFactory and EdrContext::runSolidityTests functions as multi-chain alternative
- 097b8c3: Removed unused type definitions from API
- 6f0f557: Added instrumenting of source code for statement code coverage measurement
- ae38942: Added the ability to request execution traces for Solidity tests for either all tests or just failing tests
- 289de8a: Changed the instrumentation API to require a coverage library path
- c21ec83: Replaced
BufferwithUint8Arrayin Solidity tests interface - 306a95e: Added an
ObservabilityConfigtoSolidityTestRunnerConfigArgsto allow code coverage measurement - eb928c6: Fixed panic on stack trace generation for receive function with modifier that calls another method. #894
- 097b8c3: Moved (and renamed) fork-specific configuration options from
ProviderConfigtoForkConfig - 097b8c3: Replaced all occurences of Buffer with Uint8Array or ArrayBuffer
- 585fe0b: Changed test and test suite execution time from milliseconds to nanoseconds. Correspondingly, the
durationMsproperty ofTestResultandSuiteResultwas renamed todurationNs.
Patch Changes
- f606fc6: Fixed instrumentation for control flow statements
- c05b49b: Upgraded revm to v24 and alloy to more recent versions
- f1cdbe2: Turned potential panics into JS errors to help with error reporting to Sentry.
- a6864ff: Added support for local pre-deploys for Solidity tests.
- 1b6d123: Fixed a bug causing async functions to throw errors at the callsite
- ab4e20d: Added hardfork activations for Prague
- 3f85d7d: Fixed
gasPriceOraclepredeploy for local blockchains when using Isthmus hardfork - 3910948: Deprecated
deleteSnapshot,deleteSnapshots,revertTo,revertToAndDelete, andsnapshotcheatcodes in favor ofdeleteStateSnapshot,deleteStateSnapshots,revertToState,revertToStateAndDelete, andsnapshotState - 007800e: Fixed custom precompiles not being applied in
eth_sendTransaction. This enables RIP-7212 support in transactions. - 2ec6415: Added hardfork activations for Base Mainnet and Base Sepolia.
- c63ea3e: Added new
expectRevertandexpectPartialRevertcheatcodes. - 5e209a1: Fixed bug preventing reporting of collected code coverage
- 4bad80f: Fixed the
withdrawalsRootfield in mined post-Isthmus block headers of local blockchains - d903f35: Turned panics during stack trace generation due to invalid assumptions into errors.
- 196af17: Add
allowInternalExpectRevertconfig option to customize the behavior of theexpectRevertcheatcode