Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I think there might be an issue with the vesting example. #1024

Open
3 tasks
zootechdrum opened this issue Sep 19, 2024 · 4 comments
Open
3 tasks

I think there might be an issue with the vesting example. #1024

zootechdrum opened this issue Sep 19, 2024 · 4 comments
Labels
help welcomed Contributor friendly

Comments

@zootechdrum
Copy link

What Git revision are you using?

2.39.5

What operating system are you using, and which version?

  • Linux / Ubuntu
  • Linux / Other
  • [x ] macOS M1 Pro
  • Windows

Describe what the problem is?

I think there might be an issue with the vesting example. When I copy and paste the code on the first example and i run the command
aiken check
I get an error in the terminal stating that Blake2b_224 is an unknown module.
I could be wrong, but I believe the modules should now be imported from crypto such as

use aiken/crypto.{Blake2b_224, Hash}
use aiken/crypto.{VerificationKey}

What should be the expected behavior?

I expected these modules to be imported without any issue.

Vesting example can be found here.
https://aiken-lang.org/example--vesting

@KtorZ
Copy link
Member

KtorZ commented Sep 20, 2024

Hello, you probably missed the note at the top of the tutorial?

@zootechdrum
Copy link
Author

Yes you are right @KtorZ . I completely missed it. I am wondering if the organization would be interested in an updated version of the example. I used the vesting example as a way to learn the language a little more and corrected any imports and syntax issues that the broken example had.

@KtorZ
Copy link
Member

KtorZ commented Sep 20, 2024

We are! The source for the example can be found in https://github.com/aiken-lang/site

Pull requests are welcome 🫡

@stephanebachelier
Copy link

@KtorZ Currently working on a Pull Request for vesting example.

@MicroProofs MicroProofs added the help welcomed Contributor friendly label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help welcomed Contributor friendly
Projects
Status: 🪣 Backlog
Development

No branches or pull requests

4 participants