Skip to content

Commit a32b069

Browse files
committed
chore(ruff): changes to src to fix filling.
1 parent c808a8d commit a32b069

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/ethereum_test_execution/transaction_post.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import pytest
66

77
from ethereum_test_base_types import Alloc, Hash
8-
from ethereum_test_rpc import EthRPC, SendTransactionException
8+
from ethereum_test_rpc import EthRPC, SendTransactionExceptionError
99
from ethereum_test_types import Transaction
1010

1111
from .base import BaseExecute
@@ -18,9 +18,9 @@ class TransactionPost(BaseExecute):
1818
post: Alloc
1919

2020
execute_format_name: ClassVar[str] = "transaction_post"
21-
description: ClassVar[
22-
str
23-
] = "Simple transaction sending, then post-check after all transactions are included"
21+
description: ClassVar[str] = (
22+
"Simple transaction sending, then post-check after all transactions are included"
23+
)
2424

2525
def execute(self, eth_rpc: EthRPC):
2626
"""Execute the format."""
@@ -32,7 +32,7 @@ def execute(self, eth_rpc: EthRPC):
3232
if transaction.error is None:
3333
eth_rpc.send_wait_transaction(transaction.with_signature_and_sender())
3434
else:
35-
with pytest.raises(SendTransactionException):
35+
with pytest.raises(SendTransactionExceptionError):
3636
eth_rpc.send_transaction(transaction.with_signature_and_sender())
3737
else:
3838
eth_rpc.send_wait_transactions(

src/ethereum_test_rpc/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""JSON-RPC methods and helper functions for EEST consume based hive simulators."""
22

3-
from .rpc import BlockNumberType, DebugRPC, EngineRPC, EthRPC, SendTransactionException
3+
from .rpc import BlockNumberType, DebugRPC, EngineRPC, EthRPC, SendTransactionExceptionError
44

55
__all__ = [
66
"BlockNumberType",
77
"DebugRPC",
88
"EngineRPC",
99
"EthRPC",
10-
"SendTransactionException",
10+
"SendTransactionExceptionError",
1111
]

src/ethereum_test_tools/code/yul.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __new__(
8181

8282
solc_args = ("--evm-version", evm_version) if evm_version else ()
8383

84-
result = solc.run(*solc_args, *DEFAULT_SOLC_ARGS, input=source)
84+
result = solc.run(*solc_args, *DEFAULT_SOLC_ARGS, input_value=source)
8585

8686
if result.returncode:
8787
stderr_lines = result.stderr.splitlines()

0 commit comments

Comments
 (0)