Compare commits

..

1 Commits

Author SHA1 Message Date
peilun-conflux
ca5158906d
Merge 85bda191a6 into 702680f3a4 2024-09-10 17:46:06 +08:00
3 changed files with 3 additions and 5 deletions

View File

@ -80,4 +80,4 @@ class MineTest(TestFramework):
if __name__ == "__main__": if __name__ == "__main__":
MineTest().main() MineTest(blockchain_node_type=BlockChainNodeType.BSC).main()

View File

@ -106,4 +106,4 @@ class MineTest(TestFramework):
if __name__ == "__main__": if __name__ == "__main__":
MineTest().main() MineTest(blockchain_node_type=BlockChainNodeType.BSC).main()

View File

@ -31,10 +31,8 @@ class BlockChainNodeType(Enum):
return 0.5 return 0.5
elif self == BlockChainNodeType.BSC: elif self == BlockChainNodeType.BSC:
return 32 / estimate_st_performance() return 32 / estimate_st_performance()
elif self == BlockChainNodeType.ZG:
return 0.5
else: else:
raise AssertionError("Unsupported blockchain type") return 5.0
@unique @unique
class NodeType(Enum): class NodeType(Enum):