I am following the tutorial on running a basic 2 node private network in substrate. I have used subkey to generate aura and grandpa keys for both of the nodes and added the keys to keystore.
I thought I did everything correctly, both of the nodes are running and producing the blocks but the blocks are not being finalized. I am not sure what is the problem, aura keys are responsible for block production and grandpa keys are responsible for block finalization, aura keys are clearly working, because the blocks are produced, so I suspect there is something wrong with grandpa keys, but the process of adding the keys is practically identical for both aura and grandpa, so I don't understand why is it working for one and not working for another.
I purged the chain using the purge-chain
command after I added both pairs of keys to restart the nodes, but the blocks were not still being finalized.
Also, I am using a single Linux machine to run both nodes in separate terminal windows, I don't know if that might be an issue. Any ideas?