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

请求:请分享plonkathan的讲解代码(代码为对应于《ZK Co-learn 第二期》的office Hour2、3中的讲解视频 #10

Open
0xxEric opened this issue Jun 7, 2024 · 4 comments

Comments

@0xxEric
Copy link
Contributor

0xxEric commented Jun 7, 2024

请求与“ZK Co-learn 第二期”中代码讲解视频,相对应一致的代码:

1、想要针对plonk,学习一下对应的代码,我找到了咱们在第二期(ZK Co-learn 第二期,zkp进阶)学习的对应视频,在这两次office中讲解了plonkathon的代码。
视频链接如下:
https://www.youtube.com/watch?v=bU2KKK_Unso&list=PLbQFt1T_44DwN1zWl-KWhkp3s0LAkF2a8&index=7
https://www.youtube.com/watch?v=avB1o5vo0es&list=PLbQFt1T_44DwN1zWl-KWhkp3s0LAkF2a8&index=1

2、但是在该视频中,未附上代码链接。
参照视频中分享人讲解所打开的地址,找到plonathon的代码(therealyingtong版本,好像是从eth fork出来的)
https://github.com/therealyingtong/plonkathon

3、使用上述地址(therealyingtong版本)下载的代码,存在一些问题:
(1)与视频讲解中的代码不一致
(2)缺少引用的库(当然这个我在别处找到了)

@0xxEric
Copy link
Contributor Author

0xxEric commented Jun 7, 2024

(3)运行代码会出错

@0xxEric
Copy link
Contributor Author

0xxEric commented Jun 7, 2024

image

@0xxEric
Copy link
Contributor Author

0xxEric commented Jun 7, 2024

以下是运行therealyingtong版本的代码,出现问题:assert也会出错。
image

@readygo67
Copy link
Collaborator

Please refer https://github.com/readygo67/plonkathon main branch.

This repo is shown in
https://www.youtube.com/watch?v=avB1o5vo0es&list=PLbQFt1T_44DwN1zWl-KWhkp3s0LAkF2a8&index=1.

You can use pycharm run the "main" in test.py, all the cases can be executed as expected.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants