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

refactor(proto)!: remove proto bytes for std bytes #5835

Merged

Conversation

brianp
Copy link
Contributor

@brianp brianp commented Oct 10, 2023

Description

This PR will remove the google proto bytes wrapper in favour of using a standard vec.

Motivation and Context

Use standard rust types, instead of library specific types.

Related to #5833

How Has This Been Tested?

CI

What process can a PR reviewer use to test or verify this change?

Previously used test values included None, Some(vec![]) and Some(FixedHash::zero()). This PR removes the option wrappers and as a result the previous Some(vec![]) values will be vec![] and considered the equivalent to None.

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

Messages between new and old nodes are likely to break.

@brianp brianp force-pushed the refactor-proto-types-bytes branch 2 times, most recently from c7f559a to 43940a1 Compare October 10, 2023 08:20
@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Oct 10, 2023
@github-actions
Copy link

github-actions bot commented Oct 10, 2023

Test Results (CI)

1 219 tests   1 219 ✔️  10m 10s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit 1482178.

♻️ This comment has been updated with latest results.

@brianp brianp marked this pull request as ready for review October 10, 2023 10:14
@github-actions
Copy link

Test Results (Integration tests)

  2 files  +  2  11 suites  +11   13m 20s ⏱️ + 13m 20s
33 tests +33  32 ✔️ +32  0 💤 ±0  1 +1 
34 runs  +34  33 ✔️ +33  0 💤 ±0  1 +1 

For more details on these failures, see this check.

Results for commit 1482178. ± Comparison against base commit 38dc014.

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Oct 11, 2023
@SWvheerden SWvheerden merged commit 491ed83 into tari-project:development Oct 12, 2023
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants