Update README. Run precommit on all files

This commit is contained in:
Luke Van Seters
2021-07-15 11:36:40 -04:00
parent 214921602e
commit 9e6f79940b
15 changed files with 268 additions and 208 deletions

View File

@@ -1,9 +1,6 @@
import json
from enum import Enum
from typing import Dict, List, Optional
from pydantic import BaseModel
from .utils import CamelModel, Web3Model
@@ -38,7 +35,4 @@ class Block(Web3Model):
txs_gas_data: Dict[str, dict]
def get_filtered_calls(self, hash: str) -> List[BlockCall]:
return [
call for call in self.calls
if call.transaction_hash == hash
]
return [call for call in self.calls if call.transaction_hash == hash]