Skip to content

Conversation

@ludamad
Copy link
Collaborator

@ludamad ludamad commented Dec 16, 2025

This moves us over to the msgpack-compact serialization format for ACIR. As well, the coming changes will no longer have msgpack_pack generated for these objects, as it was code only used in tests. I have removed such tests. The bbapi tests that use this are nice but would need to be moved to tests that consume acir artifacts. but most were quite simple.

Summary

  • Replaced deserialize_any_format with deserialize_msgpack_compact, moving everything to new msgpack format
  • Updated test files to use msgpack serialization
  • Removed bincode declarations and implementations from serde files

Fixes A-450

@ludamad ludamad force-pushed the ad/msgpack-compact-only branch from 66b8f01 to ece175f Compare December 16, 2025 21:07
@ludamad ludamad changed the base branch from adam/feat/msgpack-compact-bb to next December 16, 2025 22:13
This moves us over to the msgpack-compact serialization format for ACIR. As well, the coming changes will no longer have msgpack_pack generated for these objects, as it was code only used in tests. I have removed such tests. The bbapi tests that use this are nice but would need to be moved to tests that consume acir artifacts. but most were quite simple.

# Summary
- Replaced `deserialize_any_format` with `deserialize_msgpack_compact`, moving everything to new msgpack format
- Updated test files to use msgpack serialization
- Removed bincode declarations and implementations from serde files

Fixes A-450

Co-authored-by: federicobarbacovi <171914500+federicobarbacovi@users.noreply.github.com>
BB_ASSERT(!buf.empty(), "deserialize_msgpack_compact: buffer is empty");

// Expect format marker for msgpack or msgpack-compact
const uint8_t FORMAT_MSGPACK = 2;
Copy link
Contributor

Choose a reason for hiding this comment

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

Did this start at 2 because it was implicitly the 2nd option after bincode?

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we don't want to change anyway to reduce breaking-ness?

@ludamad ludamad added this pull request to the merge queue Jan 12, 2026
@AztecBot
Copy link
Collaborator

AztecBot commented Jan 12, 2026

Flakey Tests

🤖 says: This CI run detected 3 tests that failed, but were tolerated due to a .test_patterns.yml entry.

\033FLAKED\033 (8;;http://ci.aztec-labs.com/abb22febac9aa674�abb22febac9aa6748;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_epochs/epochs_invalidate_block.parallel.test.ts "committee member invalidates a block if proposer does not come through" (101s) (code: 1) group:e2e-p2p-epoch-flakes (\033ludamad\033: feat: remove bincode support, use msgpack-compact only (#19047))
\033FLAKED\033 (8;;http://ci.aztec-labs.com/0204a01bc952cdee�0204a01bc952cdee8;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_l1_publisher/e2e_l1_publisher.test.ts (100s) (code: 1) (\033ludamad\033: feat: remove bincode support, use msgpack-compact only (#19047))
\033FLAKED\033 (8;;http://ci.aztec-labs.com/456453b8c9072350�456453b8c90723508;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_p2p/gossip_network.test.ts (464s) (code: 1) group:e2e-p2p-epoch-flakes (\033ludamad\033: feat: remove bincode support, use msgpack-compact only (#19047))

Merged via the queue into next with commit 10602b1 Jan 12, 2026
17 checks passed
@ludamad ludamad deleted the ad/msgpack-compact-only branch January 12, 2026 15:01
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.

5 participants