From 75ade309c02d0c5dd4b63ba363712d0800cac5a7 Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Mon, 13 Nov 2023 17:11:32 +0100 Subject: [PATCH] fix: add missing license headers --- common/src/indexer_service/http/config.rs | 3 +++ common/src/indexer_service/http/indexer_service.rs | 3 +++ common/src/indexer_service/http/metrics.rs | 3 +++ common/src/indexer_service/http/mod.rs | 3 +++ common/src/indexer_service/http/request_handler.rs | 3 +++ common/src/indexer_service/http/scalar_receipt_header.rs | 3 +++ common/src/indexer_service/mod.rs | 3 +++ service/build.rs | 3 +++ 8 files changed, 24 insertions(+) diff --git a/common/src/indexer_service/http/config.rs b/common/src/indexer_service/http/config.rs index 33d4e50e8..89d0530a8 100644 --- a/common/src/indexer_service/http/config.rs +++ b/common/src/indexer_service/http/config.rs @@ -1,3 +1,6 @@ +// Copyright 2023-, GraphOps and Semiotic Labs. +// SPDX-License-Identifier: Apache-2.0 + use std::net::SocketAddr; use alloy_primitives::Address; diff --git a/common/src/indexer_service/http/indexer_service.rs b/common/src/indexer_service/http/indexer_service.rs index 1b2e5316c..c095725d9 100644 --- a/common/src/indexer_service/http/indexer_service.rs +++ b/common/src/indexer_service/http/indexer_service.rs @@ -1,3 +1,6 @@ +// Copyright 2023-, GraphOps and Semiotic Labs. +// SPDX-License-Identifier: Apache-2.0 + use std::{ collections::HashMap, fmt::Debug, net::SocketAddr, path::PathBuf, sync::Arc, time::Duration, }; diff --git a/common/src/indexer_service/http/metrics.rs b/common/src/indexer_service/http/metrics.rs index 6fe2057cd..c5533a82e 100644 --- a/common/src/indexer_service/http/metrics.rs +++ b/common/src/indexer_service/http/metrics.rs @@ -1,3 +1,6 @@ +// Copyright 2023-, GraphOps and Semiotic Labs. +// SPDX-License-Identifier: Apache-2.0 + use prometheus::{register_int_counter_vec, IntCounterVec}; pub struct IndexerServiceMetrics { diff --git a/common/src/indexer_service/http/mod.rs b/common/src/indexer_service/http/mod.rs index 6e7916ef8..c200c10fa 100644 --- a/common/src/indexer_service/http/mod.rs +++ b/common/src/indexer_service/http/mod.rs @@ -1,3 +1,6 @@ +// Copyright 2023-, GraphOps and Semiotic Labs. +// SPDX-License-Identifier: Apache-2.0 + mod config; mod indexer_service; mod metrics; diff --git a/common/src/indexer_service/http/request_handler.rs b/common/src/indexer_service/http/request_handler.rs index b6e1e4cec..7e54c2ba4 100644 --- a/common/src/indexer_service/http/request_handler.rs +++ b/common/src/indexer_service/http/request_handler.rs @@ -1,3 +1,6 @@ +// Copyright 2023-, GraphOps and Semiotic Labs. +// SPDX-License-Identifier: Apache-2.0 + use std::sync::Arc; use axum::{ diff --git a/common/src/indexer_service/http/scalar_receipt_header.rs b/common/src/indexer_service/http/scalar_receipt_header.rs index c8398eef0..e8372d61f 100644 --- a/common/src/indexer_service/http/scalar_receipt_header.rs +++ b/common/src/indexer_service/http/scalar_receipt_header.rs @@ -1,3 +1,6 @@ +// Copyright 2023-, GraphOps and Semiotic Labs. +// SPDX-License-Identifier: Apache-2.0 + use std::ops::Deref; use headers::{Header, HeaderName, HeaderValue}; diff --git a/common/src/indexer_service/mod.rs b/common/src/indexer_service/mod.rs index 3883215fc..a47a5388b 100644 --- a/common/src/indexer_service/mod.rs +++ b/common/src/indexer_service/mod.rs @@ -1 +1,4 @@ +// Copyright 2023-, GraphOps and Semiotic Labs. +// SPDX-License-Identifier: Apache-2.0 + pub mod http; diff --git a/service/build.rs b/service/build.rs index 0b2af0d09..4334201cd 100644 --- a/service/build.rs +++ b/service/build.rs @@ -1,3 +1,6 @@ +// Copyright 2023-, GraphOps and Semiotic Labs. +// SPDX-License-Identifier: Apache-2.0 + use build_info_build::DependencyDepth; fn main() {