-
Notifications
You must be signed in to change notification settings - Fork 2
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: progagate tfhe events do database #302
Conversation
543fe48
to
3f26fe2
Compare
3f26fe2
to
f9c461a
Compare
mmm tests and new tests should be played by the CI ? |
it's because we only run test for PRs that are into main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
7d101c5
to
00e0e15
Compare
a30217a
to
3e8ab51
Compare
Note: tracing/log and persitence of catchup block number will be done in a next PR. |
3e8ab51
to
61891d7
Compare
d5af92d
to
64b06bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Mostly minor comments re dependencies.
@@ -56,6 +56,7 @@ nightly-avx512 = ["tfhe/nightly-avx512"] | |||
|
|||
[dev-dependencies] | |||
testcontainers = "0.21" | |||
fhevm-listener = { path = "../fhevm-listener" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if it wouldn't be better if we put whatever dependency there is between coprocessor and fhevm-listener in fhevm-engine-common? That way, we don't have direct dependencies between components. Wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this is only for an integration tests in coprocessor.
So the test could be moved somewhere else.
The part is the one doing the database write. Could have end-up in coprocessor as well but it would imply the listener depending on coprocessor and having conversion from events in coprocessor.
fhevm-engine/fhevm-listener/src/database/tfhe_event_propagate.rs
Outdated
Show resolved
Hide resolved
fhevm-engine/fhevm-listener/src/database/tfhe_event_propagate.rs
Outdated
Show resolved
Hide resolved
c555f12
to
fc1f446
Compare
297cd62
to
9978e3c
Compare
No description provided.