Skip to content

Commit 9bcdc02

Browse files
wolovimkclowes
authored andcommitted
repair conflicts
1 parent c4326ab commit 9bcdc02

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

web3/_utils/method_formatters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
)
7676
from web3.exceptions import (
7777
BlockNotFound,
78-
TransactionNotFound,
7978
InvalidParityMode,
79+
TransactionNotFound,
8080
)
8181
from web3.types import (
8282
BlockIdentifier,

web3/parity.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
Callable,
33
List,
44
Optional,
5-
<<<<<<< HEAD
6-
=======
75
Tuple,
8-
>>>>>>> Add typing to parity module
96
Union,
107
)
118

@@ -143,13 +140,8 @@ def list_storage_keys_munger(
143140
address: Union[Address, ChecksumAddress, ENS, Hash32],
144141
quantity: int,
145142
hash_: Hash32,
146-
<<<<<<< HEAD
147143
block_identifier: Optional[BlockIdentifier] = None,
148-
) -> List[Hash32]:
149-
=======
150-
block_identifier: Optional[BlockIdentifier]=None,
151144
) -> Tuple[Union[Address, ChecksumAddress, ENS, Hash32], int, Hash32, BlockIdentifier]:
152-
>>>>>>> Add typing to parity module
153145
if block_identifier is None:
154146
block_identifier = self.defaultBlock
155147
return (address, quantity, hash_, block_identifier)
@@ -170,7 +162,7 @@ def list_storage_keys_munger(
170162
)
171163

172164
def trace_replay_transaction_munger(
173-
self, block_identifier: Union[_Hash32, BlockIdentifier], mode: ParityTraceMode=['trace']
165+
self, block_identifier: Union[_Hash32, BlockIdentifier], mode: ParityTraceMode = ['trace']
174166
) -> Tuple[Union[BlockIdentifier, _Hash32], ParityTraceMode]:
175167
return (block_identifier, mode)
176168

@@ -202,8 +194,8 @@ def trace_replay_transaction_munger(
202194
def trace_call_munger(
203195
self,
204196
transaction: TxParams,
205-
mode: ParityTraceMode=['trace'],
206-
block_identifier: Optional[BlockIdentifier]=None
197+
mode: ParityTraceMode = ['trace'],
198+
block_identifier: Optional[BlockIdentifier] = None
207199
) -> Tuple[TxParams, ParityTraceMode, BlockIdentifier]:
208200
# TODO: move to middleware
209201
if 'from' not in transaction and is_checksum_address(self.web3.eth.defaultAccount):
@@ -221,7 +213,7 @@ def trace_call_munger(
221213
)
222214

223215
def trace_transactions_munger(
224-
self, raw_transaction: HexStr, mode: ParityTraceMode=['trace']
216+
self, raw_transaction: HexStr, mode: ParityTraceMode = ['trace']
225217
) -> Tuple[HexStr, ParityTraceMode]:
226218
return (raw_transaction, mode)
227219

0 commit comments

Comments
 (0)