Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Why doesn't this contract work? #926

@locallycompact

Description

@locallycompact

Summary

I missed a few months of plutus updates and now I'm trying to bring a contract up to date. As far as I can tell, this is a reduced version of the vesting contract, and I can't see what's wrong.

Validator:

https://gitlab.homotopic.tech/plutus/validators/gift/-/blob/master/src/Plutus/Validators/Gift.hs

Contract:

https://gitlab.homotopic.tech/plutus/contracts/gift/-/blob/e85ae2495f45f96082756bb87ec393dd37b5731e/src/Plutus/Contracts/Gift.hs

Model:

https://gitlab.homotopic.tech/plutus/contracts/gift/-/blob/e85ae2495f45f96082756bb87ec393dd37b5731e/test/Plutus/ContractModel/Gift.hs

Result:

https://gitlab.homotopic.tech/plutus/contracts/gift/-/jobs/198281

Steps to reproduce the behavior

git clone https://gitlab.homotopic.tech/plutus/contracts/gift
nix build

Actual Result

doesn't work

Expected Result

should work

Describe the approach you would take to fix this

i don't know

System info

nixos

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions