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

Dependency bump for diesel 2.2 and diesel-async 0.5 #97

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

mzabaluev
Copy link
Collaborator

A step to fixing https://github.com/movementlabsxyz/movement/security/dependabot/12
Requires movementlabsxyz/aptos-indexer-processors#5

Description

Bump diesel to 2.2 and diesel-async to 0.5

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Performance improvement
  • Refactoring
  • Dependency update
  • Documentation update
  • Tests

Which Components or Systems Does This Change Impact?

  • Validator Node
  • Full Node (API, Indexer, etc.)
  • Move/Aptos Virtual Machine
  • Aptos Framework
  • Aptos CLI/SDK
  • Developer Infrastructure
  • Other (specify)

How Has This Been Tested?

CI tests should pass

Key Areas to Review

This pulls in a newer revision of aptos-indexer-processors, which required adaptation in local_testnet CLI.

@mzabaluev mzabaluev requested a review from musitdev November 12, 2024 09:58
Comment on lines +155 to +162
parquet_gap_detection_batch_size: 50,
pb_channel_txn_chunk_size: 100_000,
per_table_chunk_sizes: Default::default(),
transaction_filter: Default::default(),
grpc_response_item_timeout_in_secs: 10,
transaction_filter: Default::default(),
deprecated_tables: Default::default(),
default_sleep_time_between_request:
IndexerGrpcProcessorConfig::default_sleep_time_between_request(),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Please check if the added default field values are sensible.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, these are sensible.

@l-monninger l-monninger marked this pull request as ready for review November 13, 2024 10:08
@l-monninger l-monninger self-requested a review November 13, 2024 10:08
l-monninger
l-monninger previously approved these changes Nov 13, 2024
This pulls in a newer revision of aptos-indexer-processors,
which requires adaptation in local_testnet CLI.
@l-monninger
Copy link
Collaborator

I'm not familiar with the postgres_backend feature flag. How does this differ from postgres in Diesel 2.2?

@l-monninger l-monninger self-requested a review November 13, 2024 11:58
@mzabaluev
Copy link
Collaborator Author

I'm not familiar with the postgres_backend feature flag. How does this differ from postgres in Diesel 2.2?

I have no idea, just bumped the versions and all seems to build like before. Perhaps the library that uses postgres_backend does not use a libpq connection directly?

@mzabaluev mzabaluev merged commit 2be8941 into movement Nov 13, 2024
@mzabaluev mzabaluev deleted the mikhail/diesel-2.2 branch November 13, 2024 13:47
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.

3 participants