abracadaniel / cardano-pool-docker

Docker container for setting up and running a Cardano Stake Pool
164 stars 62 forks source link

get_protocol failing (cold wallet stake pool creation) #6

Closed snajjar closed 4 years ago

snajjar commented 4 years ago

Hello,

Tremendous work you put here. I'll definitely contribute to it.

There seems to be a problem with the shelley update, when trying to follow the best practise. When connecting to the docker container on host1 and running the get_protocol script, i get the following error:

root@48762446eacb:/# ./scripts/functions/get_protocol 
Shelley command failed: query protocol-parameters   Error: A query from a certain era was applied to a ledger from a different era: EraMismatch {ledgerEraName = "Byron", otherEraName = "Shelley"}

I'm running the stake pool on mainnet. Any Idea of what I should do/change?

snajjar commented 4 years ago

Nevermind, once the node finished synchronisation to the blockchain, the same command started to work. Seems like I needed to have the blockchain synchronised passed to a shelley transaction.