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(avalanche-types): bump up rpcchainvm protocol version to 32 #157

Merged
merged 10 commits into from
Feb 27, 2024

Conversation

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Copy link
Collaborator

@richardpringle richardpringle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay assuming that the majority of the diff here is all generated code (anything in src/proto).

@@ -121,7 +121,7 @@ default = [
# "message",
# "mnemonic",
# "proto",
# "subnet",
"subnet",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why make this a default feature? If it should be default, we can just remove the feature flag altogether.

(don't have to do this right now, I'm just curious)

/// ref. <https://github.com/ava-labs/avalanchego/blob/v1.10.1/version/constants.go#L15-L17>
pub const PROTOCOL_VERSION: u32 = 28;
/// ref. <https://github.com/ava-labs/avalanchego/blob/v1.11.0/version/constants.go>
pub const PROTOCOL_VERSION: u32 = 32;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

))
})?;
let db =
corruptabledb::Database::new_boxed(DatabaseClient::new_boxed(db_client_conn.clone()));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something tells me that there's more boxing than necessary here...

Copy link
Collaborator

@richardpringle richardpringle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, trigger happy on the approval button.

Please address this comment:
#157 (comment)

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
@richardpringle richardpringle merged commit 5557e18 into main Feb 27, 2024
7 checks passed
@richardpringle richardpringle deleted the proto-bump-up branch February 27, 2024 15:06
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.

2 participants