Skip to content

Commit

Permalink
config exception correction
Browse files Browse the repository at this point in the history
  • Loading branch information
winsvega committed Jun 5, 2024
1 parent 0e6cf9a commit 4edd9cd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
9 changes: 6 additions & 3 deletions retesteth/configs/clientconfigs/evmone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,18 @@ string const evmone_config = R"({
"TransactionException.TYPE_3_TX_INVALID_BLOB_VERSIONED_HASH" : "invalid blob hash version",
"TransactionException.TYPE_3_TX_PRE_FORK|TransactionException.TYPE_3_TX_ZERO_BLOBS" : "transaction type not supported",
"TransactionException.TYPE_3_TX_PRE_FORK" : "transaction type not supported",
"TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED" : "blob gas limit exceeded",
"TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED" : "[retesteth]: versioned hashes len exceeds, Block has invalid number of blobs in txs >=7!",
"TransactionException.TYPE_3_TX_CONTRACT_CREATION" : "input string too short for common.Address",
"TransactionException.TYPE_3_TX_MAX_BLOB_GAS_ALLOWANCE_EXCEEDED" : "Block has invalid number of blobs in txs >=7! would exceed maximum",
"TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS" : "[retesteth]: blobtx.maxFeePerBlobGas() < getblobgas(blockheader",
"TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS" : "[retesteth]: importRLP: blobtx.maxFeePerBlobGas() < getblobgas(blockheader",
"TransactionException.INTRINSIC_GAS_TOO_LOW" : "intrinsic gas too low",
"TransactionException.INITCODE_SIZE_EXCEEDED" : "max initcode size exceeded",
"BlockException.INCORRECT_EXCESS_BLOB_GAS" : "Error in field: excessBlobGas",
"BlockException.INCORRECT_BLOB_GAS_USED" : "Error in field: blobGasUsed",
"BlockException.INCORRECT_BLOB_GAS_USED|BlockException.BLOB_GAS_USED_ABOVE_LIMIT" : "Error in field: blobGasUsed",
"BlockException.INCORRECT_BLOCK_FORMAT" : "[retesteth]: Error importing raw rlp block: readBlockHeader(RLP): unknown block type!",
"BlockException.RLP_STRUCTURES_ENCODING|TransactionException.TYPE_3_TX_WITH_FULL_BLOBS" : "expected to have exactly 14 elements!",
"BlockException.RLP_STRUCTURES_ENCODING|TransactionException.TYPE_3_TX_CONTRACT_CREATION" : "blob transaction must not be a create transaction",
"Transaction without funds" : "insufficient funds for gas * price + value",
"AddressTooShort" : "input string too short for common.Address",
Expand Down Expand Up @@ -264,8 +266,9 @@ string const evmone_config = R"({
"TR_InitCodeLimitExceeded" : "max initcode size exceeded",
"TR_EMPTYBLOB" : "empty blob hashes list",
"TR_BLOBCREATE" : "blob transaction must not be a create transaction",
"TR_BLOBLIST_OVERSIZE" : "blob gas limit exceeded",
"TR_BLOBLIST_OVERSIZE" : "[retesteth]: versioned hashes len exceeds, Block has invalid number of blobs in txs >=7!",
"TR_BLOBVERSION_INVALID" : "invalid blob hash version",
"TR_RLP_WRONGVALUE" : "[retesteth]: Error importing raw rlp block",
"1559BaseFeeTooLarge": "TransactionBaseFee convertion error: VALUE >u256",
"1559PriorityFeeGreaterThanBaseFee": "maxFeePerGas \u003c maxPriorityFeePerGas",
"2930AccessListAddressTooLong": "rlp: input string too long for common.Address, decoding into (types.Transaction)(types.AccessListTx).AccessList[0].Address",
Expand Down
7 changes: 5 additions & 2 deletions retesteth/configs/clientconfigs/nimbus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ string const nimbus_config = R"({
"TransactionException.TYPE_3_TX_INVALID_BLOB_VERSIONED_HASH" : "invalid tx: one of blobVersionedHash has invalid version",
"TransactionException.TYPE_3_TX_PRE_FORK|TransactionException.TYPE_3_TX_ZERO_BLOBS" : "invalid tx: Eip4844 Tx type detected before Cancun",
"TransactionException.TYPE_3_TX_PRE_FORK" : "invalid tx: Eip4844 Tx type detected before Cancun",
"TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED" : "invalid tx: versioned hashes len exceeds MAX_BLOBS_PER_BLOCK",
"TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED" : "versioned hashes len exceeds",
"TransactionException.TYPE_3_TX_CONTRACT_CREATION" : "input string too short for common.Address",
"TransactionException.TYPE_3_TX_MAX_BLOB_GAS_ALLOWANCE_EXCEEDED" : "Block has invalid number of blobs in txs >=7! would exceed maximum",
"TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS" : "blobtx.maxFeePerBlobGas() < getblobgas(blockheader",
Expand All @@ -71,10 +71,13 @@ string const nimbus_config = R"({
"BlockException.INCORRECT_BLOB_GAS_USED" : "Error in field: blobGasUsed",
"BlockException.BLOB_GAS_USED_ABOVE_LIMIT|BlockException.INCORRECT_BLOB_GAS_USED" : "Error in field: blobGasUsed",
"BlockException.INCORRECT_BLOCK_FORMAT" : "[retesteth]: Error importing raw rlp block: readBlockHeader(RLP): unknown block type!",
"BlockException.RLP_STRUCTURES_ENCODING|TransactionException.TYPE_3_TX_CONTRACT_CREATION" : "invalid tx: destination must be not empty",
"BlockException.RLP_STRUCTURES_ENCODING|TransactionException.TYPE_3_TX_WITH_FULL_BLOBS" : "expected to have exactly 14 elements!",
"TransactionException.TYPE_3_TX_WITH_FULL_BLOBS|BlockException.RLP_STRUCTURES_ENCODING" : "BlobTransaction::fromRLP(RLP) expected to have exactly 14 elements!",
"TransactionException.TYPE_3_TX_CONTRACT_CREATION|BlockException.RLP_STRUCTURES_ENCODING" : "decoding into (types.Transaction)(types.BlobTx).To",
"Transaction without funds" : "not enough cash",
"intrinsic gas too low" : "not enough gas to perform calculation",
"max initcode size exceeded" : "initcode size exceeds maximum",
Expand Down Expand Up @@ -250,7 +253,7 @@ string const nimbus_config = R"({
"TR_IntrinsicGas" : "not enough gas to perform calculation",
"TR_RLP_WRONGVALUE" : "Unsigned integer expected",
"TR_NoFunds" : "not enough cash",
"TR_NoFundsX" : "larger than expected Int value",
"TR_NoFundsX" : "integer out of bounds",
"TR_NoFundsValue" : "processTransaction failed",
"TR_NoFundsOrGas" : "not enough gas to perform calculation",
"TR_FeeCapLessThanBlocks" : "maxFee is smaller than baseFee",
Expand Down
1 change: 1 addition & 0 deletions retesteth/configs/clientconfigs/pyt8n.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ string const pyt8n_setup = R"(#!/bin/bash
cd $PYT8N_PATH
python3 -m venv venv
source venv/bin/activate
pip install platformdirs
pip install -e .
sleep 5
)";
Expand Down

0 comments on commit 4edd9cd

Please sign in to comment.