1

I'm using a Granadanet node to experiment with Liquidity Baking. I'm trying to call the tzBTC contract's mint entry point.

This is my first time using a test net, but I thought that it was a copy of the previous main net + the new changes to be applied (Granada in this case). If this is correct, then I would expect the tzBTC contract here to exist on Granadanet.

However, when I attempt to call the mint entry point of that contract, I get the error Contract KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn does not exist.

Here is the command I am running to call that mint entry point:

tezos-client transfer 0 from alice to KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn \
                --entrypoint mint \
                --arg '(Pair "tz1eYpX4e1nu7e3cvtF7UvKFqUvWDahte1ot" 100)' \
                --burn-cap 3

Here is the entire console out when I run the above command:

Waiting for the node to be bootstrapped...
Current head: BLoSXfco1Dj5 (timestamp: 2021-07-20T21:52:57.000-00:00, validation: 2021-07-20T21:53:07.132-00:00)
Node is bootstrapped.
This simulation failed:
  Manager signed operations:
    From: tz1eYpX4e1nu7e3cvtF7UvKFqUvWDahte1ot
    Fee to the baker: ꜩ0
    Expected counter: 144380
    Gas limit: 1000
    Storage limit: 60000 bytes
    Revelation of manager public key:
      Contract: tz1eYpX4e1nu7e3cvtF7UvKFqUvWDahte1ot
      Key: edpktobpzH61rWMtrx8AtAkJhDdW3DDuof71hwostS4uPqGottCXvE
      This revelation was successfully applied
      Consumed gas: 1000
  Manager signed operations:
    From: tz1eYpX4e1nu7e3cvtF7UvKFqUvWDahte1ot
    Fee to the baker: ꜩ0
    Expected counter: 144381
    Gas limit: 1040000
    Storage limit: 60000 bytes
    Transaction:
      Amount: ꜩ0
      From: tz1eYpX4e1nu7e3cvtF7UvKFqUvWDahte1ot
      To: KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn
      Entrypoint: mint
      Parameter: (Pair "tz1eYpX4e1nu7e3cvtF7UvKFqUvWDahte1ot" 100)
      This operation FAILED.

Contract KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn does not exist
Fatal error:
  transfer simulation failed
3

1 Answer 1

2

I thought that it was a copy of the previous main net + the new changes to be applied (Granada in this case).

It isn't, testnets share no history with mainnet, or each-other. From the Test Networks docs:

every time a new protocol is proposed on Mainnet, a new test network is spawned. This also makes synchronization much faster than with a long-lived network.

So the contract you are trying to interact with indeed does not exist in granadanet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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