mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
Compare commits
1 Commits
94c6679883
...
ca5158906d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ca5158906d |
@ -80,4 +80,4 @@ class MineTest(TestFramework):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
MineTest().main()
|
||||
MineTest(blockchain_node_type=BlockChainNodeType.BSC).main()
|
||||
|
@ -106,4 +106,4 @@ class MineTest(TestFramework):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
MineTest().main()
|
||||
MineTest(blockchain_node_type=BlockChainNodeType.BSC).main()
|
||||
|
@ -31,10 +31,8 @@ class BlockChainNodeType(Enum):
|
||||
return 0.5
|
||||
elif self == BlockChainNodeType.BSC:
|
||||
return 32 / estimate_st_performance()
|
||||
elif self == BlockChainNodeType.ZG:
|
||||
return 0.5
|
||||
else:
|
||||
raise AssertionError("Unsupported blockchain type")
|
||||
return 5.0
|
||||
|
||||
@unique
|
||||
class NodeType(Enum):
|
||||
|
Loading…
Reference in New Issue
Block a user