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

feat: updated fhevm version to async decrypt #15

Merged
merged 8 commits into from
Apr 23, 2024
Merged

Conversation

jatZama
Copy link
Member

@jatZama jatZama commented Mar 27, 2024

There is almost surely a bug in oracle service, since the tests in test/oracleDecrypt are passing but the test in test/asyncDecrypt is failing, taking forever after the request until reaching the deadline. However, I don't know how to debug the oracle service. @youben11 could you help?

If you want to reproduce the bug:
1/ git clone this PR
2/ pnpm i
3/ rename .env.example to .env
4/ pnpm fhevm:start (wait until logs of the fhevm node show up)
5/ pnpm fhevm:faucet, in new terminal
6/ (very important, start by this test) pnpm test test/oracleDecrypt/* -> all tests should pass (same as in fhevm repo)
7/ pnpm test test/asyncDecrypt/* -> this should take forever after the request is detected -> Totally unexpected, the bug is here, @youben11 or @immortal-tofu maybe could help on debugging what the hell is happening here
8/ now if you try again to run pnpm test/oracleDecrypt/* again it will fail despite passing the first time in 6/ -> The oracle service seems to have crashed after 7/ ??? how is this working exactly and how to debug it? @youben11 ?

@jatZama jatZama merged commit c095426 into main Apr 23, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

None yet

3 participants