Skip to content
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
2 changes: 1 addition & 1 deletion block/internal/submitting/da_submitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func (s *DASubmitter) SubmitHeaders(ctx context.Context, cache cache.Manager, si
return submitToDA(s, ctx, headers,
func(header *types.SignedHeader) ([]byte, error) {
// A. Marshal the inner SignedHeader content to bytes (canonical representation for signing)
// This effectively signs "Fields 1-3" of the intended DAHeaderEnvelope.
// This effectively signs "Fields 1-3" of the intended DAHeaderEnvelope.
contentBytes, err := header.MarshalBinary()
if err != nil {
return nil, fmt.Errorf("failed to marshal signed header for envelope signing: %w", err)
Expand Down
8 changes: 4 additions & 4 deletions client/crates/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
//! .connect_timeout(Duration::from_secs(10))
//! .build()
//! .await?;
//!
//!
//! Ok(())
//! }
//! ```
Expand All @@ -60,17 +60,17 @@
//! .tls() // Enable TLS with default configuration
//! .build()
//! .await?;
//!
//!
//! // Or with custom TLS configuration
//! let tls_config = ClientTlsConfig::new()
//! .domain_name("secure-node.ev.xyz");
//!
//!
//! let client = Client::builder()
//! .endpoint("https://secure-node.ev.xyz")
//! .tls_config(tls_config)
//! .build()
//! .await?;
//!
//!
//! Ok(())
//! }
//! ```
Expand Down
Loading