-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
[authority] Ensure Idempotent Reply #679
Conversation
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.
We don't allow merge commits on mains, and this seems to have embarked a few of them.
Here's one way to solve this for you once and for all:
https://coderwall.com/p/tnoiug/rebase-by-default-when-doing-git-pull
This configuration is a standard-issue best practice by now.
How to solve this for this PR: rebase on main, possibly interactively (-i
) and keeping only relevant commits.
sui_types/src/object.rs
Outdated
@@ -34,7 +34,7 @@ pub const OBJECT_START_VERSION: SequenceNumber = SequenceNumber::from_u64(1); | |||
pub struct MoveObject { | |||
pub type_: StructTag, | |||
#[serde_as(as = "Bytes")] | |||
contents: Vec<u8>, | |||
pub contents: Vec<u8>, |
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 this one?
sui_core/src/authority.rs
Outdated
#[cfg(test)] | ||
pub fn database(&self) -> &Arc<AuthorityStore> { | ||
&self._database | ||
} |
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.
This also seems unrelated.
wow something strange happened, let me fix all of that (and make sure there are no other surprises) |
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, this check needs to be done for both indeed
What is done: