1

I need to use the mockup mode in octez-client with older protocols, like Delphi. But the current version I have installed (15.1) only has Hangzhou and newer protocols available:

$ ./octez-client list mockup protocols
ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK
PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW
PtKathmankSpLLDALzWw7CGD2j2MtyveTwboEYokqUCP4a1LxMg
PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY
Psithaca2MLRFYargivpo7YvUr7wUDqyxrdhC5CQq78mRvimz6A
PtHangz2aRngywmSRGGvrcTyMbbdpWdpFKuS4uMWxg2RaH9i1qx

How can I make the older protocols available in mockup mode? I have been reading the docs and this blog and this particular point is not explained. I have also tried to build older versions of Octez (both manually and with Docker) but I run into different issues and I wonder if there is an easier solution.

1 Answer 1

2

Sorry but many Octez client commands are not maintained after a protocol is replaced on mainnet. The commands that are kept are the ones for fetching information from old blocks, these can still be useful on mainnet; all commands for modifying the state of the chain are removed. You can read more about this here. For this reason, the mockup mode of Octez client is not maintained for old protocols because you would not be able to do anything after the activation of the old protocol.

Reverting the freeze commits in the git history of Octez will probably not work and it is probably easier to use old Octez releases.

3
  • Ok, now I understand why they were removed, but I still need them for a research project. In the documentation that you linked it explains what can be deleted. So if I were to revert those changes and recompile Octez from source, would then the protocols become available? Would that be the easiest solution?
    – Fernando
    Mar 21 at 11:42
  • 1
    It is unlikely that reverting the freeze commit will work. Using old Octez releases is probably easier. Mar 22 at 12:48
  • If you could add this to your original answer, I will mark it as accepted, then.
    – Fernando
    Mar 22 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.