Skip to content
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
369acdc
WIP use proto types in storage
MitchTurner Oct 6, 2025
3bc2c22
Maybe fix the Serde issue
MitchTurner Oct 6, 2025
06d7220
Get compiling with new type constraints
MitchTurner Oct 7, 2025
13a7e84
Fix tests
MitchTurner Oct 7, 2025
0bbe62a
WIP add proto types for block w/header & txs
MitchTurner Oct 7, 2025
0061ca3
WIP integrate proto block type more into tests
MitchTurner Oct 7, 2025
8ff2497
WIP conversions
MitchTurner Oct 7, 2025
9a083ec
get tests passing
MitchTurner Oct 8, 2025
5505ba0
lint tomls
MitchTurner Oct 8, 2025
3e76d06
Add changelog
MitchTurner Oct 8, 2025
3a61d59
spellcheck
MitchTurner Oct 8, 2025
9659d11
fix feature issues
MitchTurner Oct 8, 2025
edecb7e
Fix more tests, appease clippy-sama, remove warnings
MitchTurner Oct 8, 2025
5bd649c
Fix import
MitchTurner Oct 8, 2025
e2c18c3
Fix bug in test helper, remove commented code
MitchTurner Oct 8, 2025
909ec75
Merge branch 'chore/integrate-block-aggregator' into chore/store-prot…
MitchTurner Oct 13, 2025
dc1f5bb
Improve documentation for buffer size
MitchTurner Oct 17, 2025
bb8e877
Rename script tx to be more verbose
MitchTurner Oct 18, 2025
36451c4
Add todo and issue for missing types
MitchTurner Oct 20, 2025
4be7ffd
Merge branch 'chore/integrate-block-aggregator' into chore/store-prot…
MitchTurner Oct 21, 2025
aa476c1
Merge branch 'chore/integrate-block-aggregator' into chore/store-prot…
MitchTurner Oct 21, 2025
1ca5346
Fix broken imports
MitchTurner Oct 21, 2025
14af75d
Merge branch 'chore/integrate-block-aggregator' into chore/store-prot…
MitchTurner Oct 21, 2025
03788f6
Fix integ tests
MitchTurner Oct 21, 2025
c9a4cd6
Merge branch 'chore/integrate-block-aggregator' into chore/store-prot…
MitchTurner Oct 21, 2025
c0a6540
Add better proto conversion coverage (#3116)
MitchTurner Nov 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changes/fixed/3112.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use Protobuf types in serialization rather than opaque bytes
5 changes: 4 additions & 1 deletion crates/services/block_aggregator_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ rust-version = { workspace = true }
description = "Block Aggregator API Service for Fuel Core"
build = "build.rs"

[features]
fault-proving = ["fuel-core-types/fault-proving"]

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
Expand All @@ -22,7 +25,7 @@ futures = { workspace = true }
log = "0.4.27"
num_enum = { workspace = true }
postcard = { workspace = true }
prost = { workspace = true }
prost = { workspace = true, features = ["derive"] }
rand = { workspace = true }
serde = { workspace = true, features = ["derive"] }
strum = { workspace = true }
Expand Down
5 changes: 4 additions & 1 deletion crates/services/block_aggregator_api/build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_prost_build::compile_protos("proto/api.proto")?;
tonic_prost_build::configure()
.type_attribute(".", "#[derive(serde::Serialize,serde::Deserialize)]")
.type_attribute(".", "#[allow(clippy::large_enum_variant)]")
.compile_protos(&["proto/api.proto"], &["proto/"])?;
Ok(())
}
Loading
Loading