kopia lustrzana https://github.com/bugout-dev/moonworm
Typo and black fix
rodzic
f267e1122f
commit
fceb943aa1
|
@ -81,7 +81,9 @@ class MoonstreamEthereumStateProvider(EthereumStateProvider):
|
|||
|
||||
@staticmethod
|
||||
def _transform_to_w3_tx(
|
||||
tx_raw: Union[EthereumTransaction, MumbaiTransaction, PolygonTransaction, XDaiTransaction],
|
||||
tx_raw: Union[
|
||||
EthereumTransaction, MumbaiTransaction, PolygonTransaction, XDaiTransaction
|
||||
],
|
||||
) -> Dict[str, Any]:
|
||||
tx = {
|
||||
"blockNumber": tx_raw.block_number,
|
||||
|
|
|
@ -33,12 +33,12 @@ MODELS: Dict[Network, Dict[str, Base]] = {
|
|||
"labels": EthereumLabel,
|
||||
"transactions": EthereumTransaction,
|
||||
},
|
||||
Network.polygon: {
|
||||
Network.mumbai: {
|
||||
"blocks": MumbaiBlock,
|
||||
"labels": MumbaiLabel,
|
||||
"transactions": MumbaiTransaction,
|
||||
},
|
||||
Network.mumbai: {
|
||||
Network.polygon: {
|
||||
"blocks": PolygonBlock,
|
||||
"labels": PolygonLabel,
|
||||
"transactions": PolygonTransaction,
|
||||
|
|
Ładowanie…
Reference in New Issue