edr
edr copied to clipboard
The purpose of this PR is to provide CI for the `feat/solidity-tests` feature branch.
See docs here: https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-eth#eth-call The fields to support are: - number - difficulty - time - gasLimit - coinbase - random - baseFee - blobBaseFee Integration tests for this are...
To decouple the error returned from the `trait Logger` from the `Provider`, we [converted](https://github.com/NomicFoundation/edr/pull/599#issuecomment-2293461596) the error type to a `Box`. This change was made because it introduced a `LoggerErrorT` generic...
Based on https://github.com/NomicFoundation/edr/pull/544. This feature branch will track porting the existing stack trace logic 1:1 from Hardhat. The main goal is to gradually port it while retaining the existing logic....
When trying to run anything on base / base sepolia, I'm getting "Invalid transaction: GasPriceLessThanBasefee" error from https://github.com/NomicFoundation/revm/blob/aceb0939b1712faa0e8f45c1f5621c11b81df94e/crates/primitives/src/env.rs#L333 example: 0xe565eb3bfd815efcc82bed1eef580117f9dc3d6896db42500572c8e789c5edd4 chainId: 84532 way to reproduce: https://github.com/rumblefishdev/edr-issues-570-reproduce
See https://github.com/NomicFoundation/edr/issues/570 for context, especially [this comment](https://github.com/NomicFoundation/edr/issues/570#issuecomment-2284137421). Tentatively: let's do this with an environment variable. Name TBD, but something like `EDR_UNSAFE_SKIP_UNSUPPORTED_TRANSACTION_TYPES` could work. This is a mouthful, but the verbosity...
thread 'tokio-runtime-worker' panicked at /build/crates/edr_evm/src/transaction.rs:55:18 error: entered unreachable code: error: Header(ExcessBlobGasNotSet) Way to reproduce: https://github.com/rumblefishdev/edr-issues-595-reproduce example: 0x9508a51823c1bc388446dfe412bd7356155943368b9025d869cde49fb986a5bb chainId: 42161
Hardhat doesn't support using `debug_traceTransaction` with blocks that contain unsupported transaction types before the given transaction. This was already the case in pre-EDR Hardhat, but at least the error message...
Using the following versions ``` "devDependencies": { "@nomicfoundation/hardhat-network-helpers": "^1.0.11", "@nomicfoundation/hardhat-toolbox": "^5.0.0", "@nomiclabs/hardhat-ethers": "^2.2.3", "@openzeppelin/contracts": "^5.0.2", "@openzeppelin/contracts-upgradeable": "^5.0.2", "@openzeppelin/hardhat-upgrades": "^3.2.0", "@typechain/ethers-v6": "^0.5.1", "@typechain/hardhat": "^9.1.0", "ethers6": "npm:ethers@6", "hardhat": "^2.22.6", "hardhat-deploy": "^0.12.4", "hardhat-deploy-ethers":...
**Problem** There is no way to pass in custom RPC cache directory path to the Solidity test runner. **Solution** - Remove the [no_storage_caching](https://book.getfoundry.sh/reference/config/testing#no_storage_caching) config option. - Replace it with optional...