ethereumjs / ethereumjs-monorepo
Files Coverage
packages/block/src/block.ts 85.93%
packages/block/src/clique.ts 100.00%
packages/block/src/from-rpc.ts 96.55%
packages/block/src/header-from-rpc.ts 100.00%
packages/block/src/header.ts 91.83%
packages/blockchain/src/blockchain.ts 90.08%
packages/blockchain/src/consensus/casper.ts 100.00%
packages/blockchain/src/consensus/clique.ts 90.48%
packages/blockchain/src/consensus/ethash.ts 78.43%
packages/blockchain/src/consensus/index.ts 100.00%
packages/blockchain/src/consensus/interface.ts 0.00%
packages/blockchain/src/db/cache.ts 100.00%
packages/blockchain/src/db/constants.ts 100.00%
packages/blockchain/src/db/helpers.ts 97.65%
packages/blockchain/src/db/manager.ts 94.62%
packages/blockchain/src/db/operation.ts 97.89%
packages/blockchain/src/genesisStates/index.ts 94.74%
packages/client/lib/blockchain/chain.ts 89.13%
packages/client/lib/blockchain/index.ts 100.00%
packages/client/lib/client.ts 89.88%
packages/client/lib/config.ts 94.21%
packages/client/lib/execution/execution.ts 100.00%
packages/client/lib/execution/index.ts 100.00%
packages/client/lib/execution/level.ts 92.96%
packages/client/lib/execution/receipt.ts 90.63%
packages/client/lib/execution/vmexecution.ts 66.81%
packages/client/lib/index.ts 100.00%
packages/client/lib/logging.ts 80.41%
packages/client/lib/miner/index.ts 100.00%
packages/client/lib/miner/miner.ts 85.64%
packages/client/lib/miner/pendingBlock.ts 95.00%
packages/client/lib/net/peer/index.ts 100.00%
packages/client/lib/net/peer/libp2pnode.ts 100.00%
packages/client/lib/net/peer/libp2ppeer.ts 95.69%
packages/client/lib/net/peer/peer.ts 97.42%
packages/client/lib/net/peer/rlpxpeer.ts 87.50%
packages/client/lib/net/peerpool.ts 79.77%
packages/client/lib/net/protocol/boundprotocol.ts 91.37%
packages/client/lib/net/protocol/ethprotocol.ts 79.47%
packages/client/lib/net/protocol/flowcontrol.ts 99.09%
packages/client/lib/net/protocol/index.ts 100.00%
packages/client/lib/net/protocol/lesprotocol.ts 82.77%
packages/client/lib/net/protocol/libp2psender.ts 95.12%
packages/client/lib/net/protocol/protocol.ts 97.09%
packages/client/lib/net/protocol/rlpxsender.ts 100.00%
packages/client/lib/net/protocol/sender.ts 100.00%
packages/client/lib/net/protocol/snapprotocol.ts 92.88%
packages/client/lib/net/server/index.ts 100.00%
packages/client/lib/net/server/libp2pserver.ts 99.45%
packages/client/lib/net/server/rlpxserver.ts 93.77%
packages/client/lib/net/server/server.ts 94.26%
packages/client/lib/rpc/error-code.ts 100.00%
packages/client/lib/rpc/helpers.ts 100.00%
packages/client/lib/rpc/index.ts 88.41%
packages/client/lib/rpc/modules/admin.ts 100.00%
packages/client/lib/rpc/modules/debug.ts 93.68%
packages/client/lib/rpc/modules/engine.ts 85.69%
packages/client/lib/rpc/modules/eth.ts 90.06%
packages/client/lib/rpc/modules/index.ts 100.00%
packages/client/lib/rpc/modules/net.ts 100.00%
packages/client/lib/rpc/modules/txpool.ts 100.00%
packages/client/lib/rpc/modules/web3.ts 100.00%
packages/client/lib/rpc/types.ts 0.00%
packages/client/lib/rpc/util/CLConnectionManager.ts 76.65%
packages/client/lib/rpc/validation.ts 91.09%
packages/client/lib/service/ethereumservice.ts 96.23%
packages/client/lib/service/fullethereumservice.ts 84.48%
packages/client/lib/service/index.ts 100.00%
packages/client/lib/service/lightethereumservice.ts 100.00%
packages/client/lib/service/service.ts 80.74%
packages/client/lib/service/txpool.ts 94.92%
packages/client/lib/sync/beaconsync.ts 85.29%
packages/client/lib/sync/fetcher/blockfetcher.ts 87.50%
packages/client/lib/sync/fetcher/blockfetcherbase.ts 90.99%
packages/client/lib/sync/fetcher/fetcher.ts 83.03%
packages/client/lib/sync/fetcher/headerfetcher.ts 96.26%
packages/client/lib/sync/fetcher/index.ts 100.00%
packages/client/lib/sync/fetcher/reverseblockfetcher.ts 94.44%
packages/client/lib/sync/fetcher/types.ts 0.00%
packages/client/lib/sync/fullsync.ts 70.82%
packages/client/lib/sync/index.ts 100.00%
packages/client/lib/sync/lightsync.ts 82.46%
packages/client/lib/sync/skeleton.ts 83.78%
packages/client/lib/sync/snapsync.ts 66.39%
packages/client/lib/sync/sync.ts 86.43%
packages/client/lib/types.ts 100.00%
packages/client/lib/util/debug.ts 17.91%
packages/client/lib/util/index.ts 92.98%
packages/client/lib/util/metaDBManager.ts 97.18%
packages/client/lib/util/parse.ts 86.17%
packages/client/lib/util/rpc.ts 96.86%
packages/common/src/common.ts 95.29%
packages/common/src/eips/index.ts 100.00%
packages/common/src/enums.ts 100.00%
packages/common/src/hardforks/index.ts 100.00%
packages/devp2p/src/browser/dns.ts 100.00%
packages/devp2p/src/dns/dns.ts 98.63%
packages/devp2p/src/dns/enr.ts 97.45%
packages/devp2p/src/dns/index.ts 100.00%
packages/devp2p/src/dpt/ban-list.ts 100.00%
packages/devp2p/src/dpt/dpt.ts 95.71%
packages/devp2p/src/dpt/index.ts 100.00%
packages/devp2p/src/dpt/kbucket.ts 97.56%
packages/devp2p/src/dpt/message.ts 93.60%
packages/devp2p/src/dpt/server.ts 96.05%
packages/devp2p/src/protocol/eth.ts 79.17%
packages/devp2p/src/protocol/index.ts 100.00%
packages/devp2p/src/protocol/les.ts 90.68%
packages/devp2p/src/protocol/protocol.ts 100.00%
packages/devp2p/src/protocol/snap.ts 95.28%
packages/devp2p/src/rlpx/ecies.ts 94.19%
packages/devp2p/src/rlpx/index.ts 100.00%
packages/devp2p/src/rlpx/mac.ts 100.00%
packages/devp2p/src/rlpx/peer.ts 85.55%
packages/devp2p/src/rlpx/rlpx.ts 92.63%
packages/evm/src/eof.ts 55.24%
packages/evm/src/evm.ts 82.43%
packages/evm/src/exceptions.ts 100.00%
packages/evm/src/interpreter.ts 87.81%
packages/evm/src/memory.ts 93.98%
packages/evm/src/message.ts 97.06%
packages/evm/src/opcodes/EIP1283.ts 16.00%
packages/evm/src/opcodes/EIP2200.ts 100.00%
packages/evm/src/opcodes/EIP2929.ts 98.17%
packages/evm/src/opcodes/codes.ts 97.75%
packages/evm/src/opcodes/functions.ts 89.11%
packages/evm/src/opcodes/gas.ts 89.12%
packages/evm/src/opcodes/index.ts 100.00%
packages/evm/src/opcodes/util.ts 95.83%
packages/evm/src/precompiles/01-ecrecover.ts 100.00%
packages/evm/src/precompiles/02-sha256.ts 100.00%
packages/evm/src/precompiles/03-ripemd160.ts 100.00%
packages/evm/src/precompiles/04-identity.ts 100.00%
packages/evm/src/precompiles/05-modexp.ts 82.28%
packages/evm/src/precompiles/06-ecadd.ts 100.00%
packages/evm/src/precompiles/07-ecmul.ts 100.00%
packages/evm/src/precompiles/08-ecpairing.ts 100.00%
packages/evm/src/precompiles/09-blake2f.ts 98.60%
packages/evm/src/precompiles/0a-bls12-g1add.ts 32.20%
packages/evm/src/precompiles/0b-bls12-g1mul.ts 37.10%
packages/evm/src/precompiles/0c-bls12-g1multiexp.ts 29.17%
packages/evm/src/precompiles/0d-bls12-g2add.ts 28.79%
packages/evm/src/precompiles/0e-bls12-g2mul.ts 35.38%
packages/evm/src/precompiles/0f-bls12-g2multiexp.ts 81.25%
packages/evm/src/precompiles/10-bls12-pairing.ts 20.72%
packages/evm/src/precompiles/11-bls12-map-fp-to-g1.ts 38.78%
packages/evm/src/precompiles/12-bls12-map-fp2-to-g2.ts 33.93%
packages/evm/src/precompiles/14-kzg-point-evaluation.ts 100.00%
packages/evm/src/precompiles/index.ts 100.00%
packages/evm/src/precompiles/types.ts 0.00%
packages/evm/src/precompiles/util/bls12_381.ts 73.89%
packages/evm/src/stack.ts 98.25%
packages/evm/src/transientStorage.ts 89.15%
packages/statemanager/src/baseStateManager.ts 90.14%
packages/statemanager/src/cache.ts 95.83%
packages/statemanager/src/ethersStateManager.ts 91.64%
packages/statemanager/src/interface.ts 0.00%
packages/statemanager/src/stateManager.ts 92.57%
packages/trie/src/db/checkpoint.ts 98.75%
packages/trie/src/db/index.ts 100.00%
packages/trie/src/db/map.ts 100.00%
packages/trie/src/proof/index.ts 100.00%
packages/trie/src/proof/range.ts 77.84%
packages/trie/src/trie/index.ts 100.00%
packages/trie/src/trie/node/branch.ts 100.00%
packages/trie/src/trie/node/extension.ts 86.67%
packages/trie/src/trie/node/index.ts 100.00%
packages/trie/src/trie/node/leaf.ts 86.67%
packages/trie/src/trie/node/node.ts 100.00%
packages/trie/src/trie/node/util.ts 82.86%
packages/trie/src/trie/trie.ts 93.50%
packages/trie/src/util/hex.ts 100.00%
packages/trie/src/util/index.ts 100.00%
packages/trie/src/util/lock.ts 92.86%
packages/trie/src/util/nibbles.ts 94.51%
packages/trie/src/util/readStream.ts 85.92%
packages/trie/src/util/tasks.ts 100.00%
packages/trie/src/util/walkController.ts 92.91%
packages/tx/src/baseTransaction.ts 98.46%
packages/tx/src/depInterfaces.ts 0.00%
packages/tx/src/eip1559Transaction.ts 97.67%
packages/tx/src/eip2930Transaction.ts 97.74%
packages/tx/src/eip4844Transaction.ts 82.63%
packages/tx/src/fromRpc.ts 83.33%
packages/tx/src/kzg/kzg.ts 87.50%
packages/tx/src/legacyTransaction.ts 98.35%
packages/tx/src/transactionFactory.ts 94.69%
packages/tx/src/utils/blobHelpers.ts 93.48%
packages/util/src/account.ts 89.84%
packages/util/src/address.ts 88.55%
packages/util/src/asyncEventEmitter.ts 48.77%
packages/util/src/bytes.ts 98.72%
packages/util/src/internal.ts 77.03%
packages/util/src/lock.ts 2.38%
packages/util/src/signature.ts 96.37%
packages/util/src/ssz.ts 100.00%
packages/util/src/units.ts 100.00%
packages/util/src/withdrawal.ts 96.75%
packages/vm/src/bloom/index.ts 100.00%
packages/vm/src/buildBlock.ts 86.39%
packages/vm/src/eei/eei.ts 88.89%
packages/vm/src/eei/vmState.ts 93.51%
packages/vm/src/runBlock.ts 77.22%
packages/vm/src/runTx.ts 72.27%
packages/vm/src/vm.ts 95.94%
Project Totals (205 files) 87.94%
Loading