@@ -568,49 +568,4 @@ std::variant<TransactionReceipt, std::error_code> transition(State& state, const
568568 return rlp::encode_tuple (withdrawal.index , withdrawal.validator_index , withdrawal.recipient ,
569569 withdrawal.amount_in_gwei );
570570}
571-
572- [[nodiscard]] std::string get_tests_invalid_tx_message (ErrorCode errc) noexcept
573- {
574- switch (errc)
575- {
576- case SUCCESS :
577- return " " ;
578- case INTRINSIC_GAS_TOO_LOW :
579- return " TR_IntrinsicGas" ;
580- case TX_TYPE_NOT_SUPPORTED :
581- return " TR_TypeNotSupported" ;
582- case INSUFFICIENT_FUNDS :
583- return " TR_NoFunds" ;
584- case NONCE_HAS_MAX_VALUE :
585- return " TR_NonceHasMaxValue:" ;
586- case NONCE_TOO_HIGH :
587- return " TR_NonceTooHigh" ;
588- case NONCE_TOO_LOW :
589- return " TR_NonceTooLow" ;
590- case TIP_GT_FEE_CAP :
591- return " TR_TipGtFeeCap" ;
592- case FEE_CAP_LESS_THEN_BLOCKS :
593- return " TR_FeeCapLessThanBlocks" ;
594- case GAS_LIMIT_REACHED :
595- return " TR_GasLimitReached" ;
596- case SENDER_NOT_EOA :
597- return " SenderNotEOA" ;
598- case INIT_CODE_SIZE_LIMIT_EXCEEDED :
599- return " TR_InitCodeLimitExceeded" ;
600- case CREATE_BLOB_TX :
601- return " TR_BLOBCREATE" ;
602- case EMPTY_BLOB_HASHES_LIST :
603- return " TR_EMPTYBLOB" ;
604- case INVALID_BLOB_HASH_VERSION :
605- return " TR_BLOBVERSION_INVALID" ;
606- case BLOB_GAS_LIMIT_EXCEEDED :
607- return " TR_BLOBLIST_OVERSIZE" ;
608- case UNKNOWN_ERROR :
609- return " Unknown error" ;
610- default :
611- assert (false );
612- return " Wrong error code" ;
613- }
614- }
615-
616571} // namespace evmone::state
0 commit comments