-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[crates] Rename crates B through D inclusive #5788
Conversation
34e2270
to
0ecbe5f
Compare
0ecbe5f
to
d459698
Compare
d459698
to
263b4e2
Compare
This fails for me, but I feel like it shouldn't be:
It says for example that the name BlockData is used twice, by aptos_consensus_types and consensus_types, but the latter doesn't exist anymore as of this PR. Notably this doesn't fail locally, it only fails in CI. I fixed up a doc string consensus/src/block_storage/block_tree.rs as part of debugging this. |
263b4e2
to
85a38b3
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.
Thanks @banool! Looks reasonable to me. Let's see if owners/others have concerns.
@@ -107,8 +107,9 @@ Extra metadata (e.g. description, code url) can be part of the ProposalType stru | |||
Currently, we have three attributes that are used by the voting flow. | |||
1. RESOLVABLE_TIME_METADATA_KEY: this is uesed to record the resolvable time to ensure that resolution has to be done non-atomically. | |||
2. IS_MULTI_STEP_PROPOSAL_KEY: this is used to track if a proposal is single-step or multi-step. | |||
3. IS_MULTI_STEP_PROPOSAL_IN_EXECUTION_KEY: this attribute only exists for and applies to multi-step proposals. The value is used to | |||
indicate if a multi-step proposal is in execution. If yes, we will disable further voting for this multi-step proposal. | |||
3. IS_MULTI_STEP_PROPOSAL_IN_EXECUTION_KEY: this attribute only applies to multi-step proposals. A single-step proposal will not have |
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.
Where did these come from? I assume they aren't checked in? If so, someone should follow up one of these days 😄 I see this a lot too.
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.
Ahhh yes a timeless classic: https://aptos-org.slack.com/archives/C03N9HNSUB1/p1668643130238119. I haven't had time to look into it yet.
@banool and @zjma: If there are two identically-named If this problem arose because of a failure to delete some old code that was renamed, that's okay. But I'm not sure I understand how Also, is it complaining about other things too? |
@alinush I think perhaps it was some transient problem, because upon rebasing it seems to be passing in CI now. The problem I saw was it failed in CI but passed locally. |
85a38b3
to
7d6e8e2
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
Description
Doing more this time, otherwise I'll have to make 50+ PRs. This doesn't include
channel
because it's not just a simple rename due to clashes with the nameaptos_channel
.Test Plan
I'm running
scripts/rust_lint.sh
locally. Now CI.