You need to sign in or sign up before continuing.
Unexpected 'Ambigous entrypoint reference' error
Description
Interpretation of CONTRACT
instruction seems to be different from the reference implementation and unexpectedely fails with
Ambigous entrypoint reference
Steps to reproduce
stack exec -- morley run --contract ../../contracts/contract_op.tz --parameter "\"KT1QqRAJ77ToiTr3ukma4EafvdAUok3A33mU%kek\"" --storage "True"
Expected behaviour
Contract successfully run, new storage is False
Actual behaviour
morley: Michelson interpreter failed for contract KT1KgM4bBnXeLmJvcgq6JR1dX6wgmKQj9JuP: <RuntimeFailure: (Ambigous entrypoint reference. `CONTRACT %root` called over address KT1QqRAJ77ToiTr3ukma4EafvdAUok3A33mU%kek, [])>
Environment
- NixOS 20.03 with stack built binary
- 6f9dada8
Edited by Simon Jakobi