Skip to content

Commit

Permalink
Merge pull request #1150 from moonstream-to/fix-types
Browse files Browse the repository at this point in the history
Delete unrelated chain from v2.
  • Loading branch information
Andrei-Dolgolev authored Dec 18, 2024
2 parents 70d0c95 + 2ec146c commit 5948335
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions types/python/moonstreamtypes/blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
AvalancheFujiTransaction,
AvalancheLabel,
AvalancheTransaction,
B3Block,
B3SepoliaBlock,
BlastBlock,
BlastLabel,
BlastSepoliaBlock,
Expand Down Expand Up @@ -164,9 +162,7 @@ def get_block_model(
BlastSepoliaBlock,
ProofOfPlayApexBlock,
MantleBlock,
MantleSepoliaBlock,
B3Block,
B3SepoliaBlock,
MantleSepoliaBlock
]
]:
"""
Expand Down Expand Up @@ -194,9 +190,7 @@ def get_block_model(
BlastSepoliaBlock,
ProofOfPlayApexBlock,
MantleBlock,
MantleSepoliaBlock,
B3Block,
B3SepoliaBlock,
MantleSepoliaBlock
]
]
if blockchain_type == AvailableBlockchainType.ETHEREUM:
Expand Down Expand Up @@ -241,10 +235,6 @@ def get_block_model(
block_model = MantleBlock
elif blockchain_type == AvailableBlockchainType.MANTLE_SEPOLIA:
block_model = MantleSepoliaBlock
elif blockchain_type == AvailableBlockchainType.B3:
block_model = B3Block
elif blockchain_type == AvailableBlockchainType.B3_SEPOLIA:
block_model = B3SepoliaBlock
else:
raise Exception("Unsupported blockchain type provided")

Expand Down
2 changes: 1 addition & 1 deletion types/python/moonstreamtypes/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.8
0.0.9

0 comments on commit 5948335

Please sign in to comment.