-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING : Not enough validators and IndexError: list index out of range #3
Comments
Hello, are you running with multiple processes with MPI? Otherwise, you won't see multiple ranks.. |
Hello,I have two questions: |
Hello,I run this code under PyCharm,the following question arises. D:\Users\Administrator\Anaconda3\python.exe D:/shardSim/shardSim-master/test.py Process finished with exit code 1 |
My suspicion is that you are not using MPI and then you do have not enough processes to run the simulation, you should configure your simulation for one single process if you just one to run one single process. However, I want to mention that this simulator was developed 3 years ago and it does not comply with the recent developments on the Eth2 specification. |
I have two questions:
First, what is nodeID = (self.topo.rank * self.config.maxNodesPerRank) + i in your network.py using for. Because self.topo.rank is always 0
second, when I ran the test.py, it gave me the following result:
Traceback (most recent call last):
File "/Users/nien-ting/Desktop/shardSim-master/test.py", line 23, in
mySimulation()
File "/Users/nien-ting/Desktop/shardSim-master/test.py", line 20, in mySimulation
sim.run()
File "/Users/nien-ting/Desktop/shardSim-master/shardSim/simulator.py", line 56, in run
self.net.tick()
File "/Users/nien-ting/Desktop/shardSim-master/shardSim/network.py", line 44, in tick
node.tick()
File "/Users/nien-ting/Desktop/shardSim-master/shardSim/node.py", line 167, in tick
self.validate()
File "/Users/nien-ting/Desktop/shardSim-master/shardSim/node.py", line 130, in validate
self.proposers.append(self.currentCommittee[0])
IndexError: list index out of range
could you tell me if I didn't run it right or something.
The text was updated successfully, but these errors were encountered: