Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 1a8f15c

Browse files
committed
fix: sanitize extra-data
1 parent e3a5c32 commit 1a8f15c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

bolt-cli/src/commands/operators/eigenlayer.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ impl EigenLayerSubcommand {
145145
let signature = Bytes::from(signer.sign_hash_sync(&signature_digest)?.as_bytes());
146146
let signature = SignatureWithSaltAndExpiry { signature, expiry, salt };
147147

148+
// Sanitize extra data removing quotes
149+
let extra_data = extra_data.trim_matches('"').to_string();
150+
148151
// TODO(nico): consolidate holesky & mainnet smart contracts
149152
if chain == Chain::Mainnet {
150153
let el_middleware =

bolt-cli/src/commands/operators/symbiotic.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ impl SymbioticSubcommand {
6969
);
7070
}
7171

72+
// Sanitize extra data removing quotes
73+
let extra_data = extra_data.trim_matches('"').to_string();
74+
7275
if chain == Chain::Mainnet {
7376
let middleware = BoltSymbioticMiddlewareMainnet::new(
7477
deployments.bolt.symbiotic_middleware,

0 commit comments

Comments
 (0)