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

Why doesn't this contract work? #926

Open
locallycompact opened this issue Feb 6, 2023 · 2 comments
Open

Why doesn't this contract work? #926

locallycompact opened this issue Feb 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@locallycompact
Copy link
Contributor

locallycompact commented Feb 6, 2023

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

@locallycompact locallycompact added the bug Something isn't working label Feb 6, 2023
@locallycompact
Copy link
Contributor Author

i feel like this and this issue are quite severe usability regressions compared with plutus-apps only a few months ago.

#942

@berewt
Copy link
Contributor

berewt commented Mar 9, 2023

From the errors, it seems like the last action isn't consider, we had a few problems with time interval and it might be related to the corresponding fix, but I wasn't able to spot where the problem is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants