Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions bolt-cli/src/commands/operators/eigenlayer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ impl EigenLayerSubcommand {
let signature = Bytes::from(signer.sign_hash_sync(&signature_digest)?.as_bytes());
let signature = SignatureWithSaltAndExpiry { signature, expiry, salt };

// Sanitize extra data removing quotes and trimming whitespace
let extra_data = extra_data.trim_matches('"').trim_start().trim_end().to_string();

// TODO(nico): consolidate holesky & mainnet smart contracts
if chain == Chain::Mainnet {
let el_middleware =
Expand Down
3 changes: 3 additions & 0 deletions bolt-cli/src/commands/operators/symbiotic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ impl SymbioticSubcommand {
);
}

// Sanitize extra data removing quotes and trimming whitespace
let extra_data = extra_data.trim_matches('"').trim_start().trim_end().to_string();

if chain == Chain::Mainnet {
let middleware = BoltSymbioticMiddlewareMainnet::new(
deployments.bolt.symbiotic_middleware,
Expand Down