-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[dag] state sync good case unit test #9832
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
023b879
to
977b9b1
Compare
2505731
to
abfaaa9
Compare
2f4d37d
to
ae30b43
Compare
c094f89
to
215f269
Compare
ae30b43
to
1a405d8
Compare
215f269
to
e275b22
Compare
efc7ec3
to
7e41139
Compare
7e41139
to
3932158
Compare
fab0ad8
to
6dd6796
Compare
e275b22
to
5211cfe
Compare
&self, | ||
remote_request: RemoteFetchRequest, | ||
_responders: Vec<Author>, | ||
new_dag: Arc<RwLock<Dag>>, |
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.
nit: I think when we do fetch it can be a Dag without arc mutex?
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.
yes, but the same trait is used for fetcher service too, which needs to pass an arc mutex.
} | ||
let slow_dag = Arc::new(RwLock::new(slow_dag)); | ||
|
||
let li_node = nodes[LI_ROUNDS - 1].first().unwrap().clone().unwrap(); |
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.
why -1?
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.
just for zero indexing.
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.
stamp
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.
stamp
5211cfe
to
29b7644
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
29b7644
to
de2cc9e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
Description
Test Plan