Skip to content

Commit a493776

Browse files
committed
Upgrade eth-tester
1 parent 1967cdc commit a493776

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
extras_require = {
99
'tester': [
10-
"eth-tester[py-evm]==0.1.0-beta.33",
10+
"eth-tester[py-evm]==0.1.0-beta.39",
1111
"py-geth>=2.0.1,<3.0.0",
1212
],
1313
'testrpc': ["eth-testrpc>=1.3.3,<2.0.0"],

tests/core/middleware/test_transaction_signing.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
import eth_account
44
import eth_keys
5+
from eth_tester.exceptions import (
6+
ValidationError,
7+
)
58
from eth_utils import (
69
to_bytes,
710
to_hex,
@@ -231,12 +234,12 @@ def fund_account(w3):
231234
),
232235
(
233236
# Transaction with mismatched sender
234-
# expect a key error with sendTransaction + unmanaged account
237+
# expect a validation error with sendTransaction + unmanaged account
235238
{
236239
'gas': 21000,
237240
'value': 10
238241
},
239-
KeyError,
242+
ValidationError,
240243
SAME_KEY_MIXED_TYPE,
241244
ADDRESS_2,
242245
),

0 commit comments

Comments
 (0)