Skip to content

Commit

Permalink
[License] Change Aptos to Aptos Foundation.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLind authored and davidiw committed Feb 15, 2023
1 parent 80f302d commit 5af6024
Show file tree
Hide file tree
Showing 1,690 changed files with 1,693 additions and 1,693 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Copyright © Aptos Labs
Copyright © Aptos Foundation
Parts of the project are originally copyright © Meta Platforms, Inc.
SPDX-License-Identifier: Apache-2.0
2 changes: 1 addition & 1 deletion api/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) Aptos
# Copyright © Aptos Foundation
# SPDX-License-Identifier: Apache-2.0

test: clean lint-v0 lint-v1 test-code-gen-v0 test-code-gen-v1 test-api-spec-v0 test-api-spec-v1 clean
Expand Down
2 changes: 1 addition & 1 deletion api/openapi-spec-generator/src/fake_context.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use aptos_api::context::Context;
Expand Down
2 changes: 1 addition & 1 deletion api/openapi-spec-generator/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

mod fake_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/accept_type.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use aptos_api_types::mime_types::BCS;
Expand Down
2 changes: 1 addition & 1 deletion api/src/accounts.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/src/basic.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/src/bcs_payload.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

//! This module defines a Poem payload type for BCS. JSON is already natively
Expand Down
2 changes: 1 addition & 1 deletion api/src/blocks.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/src/check_size.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use hyper::Method;
Expand Down
2 changes: 1 addition & 1 deletion api/src/context.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/src/error_converter.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use aptos_api_types::{mime_types::JSON, AptosError, AptosErrorCode};
Expand Down
2 changes: 1 addition & 1 deletion api/src/events.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/src/failpoint.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

#![allow(unused_imports)]
Expand Down
2 changes: 1 addition & 1 deletion api/src/index.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use poem_openapi::Tags;
Expand Down
2 changes: 1 addition & 1 deletion api/src/log.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::metrics::{HISTOGRAM, RESPONSE_STATUS};
Expand Down
2 changes: 1 addition & 1 deletion api/src/metrics.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use aptos_metrics_core::{register_histogram_vec, HistogramVec};
Expand Down
2 changes: 1 addition & 1 deletion api/src/page.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::response::BadRequestError;
Expand Down
2 changes: 1 addition & 1 deletion api/src/response.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

//! The Aptos API response / error handling philosophy.
Expand Down
2 changes: 1 addition & 1 deletion api/src/runtime.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/src/set_failpoints.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::context::Context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/state.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/accounts_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/blocks_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/converter_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/events_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/index_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/invalid_post_request_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

mod accounts_test;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/resource_groups.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/state_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/string_resource_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/transaction_vector_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

/***************************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/transactions_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
2 changes: 1 addition & 1 deletion api/src/tests/view_function.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::new_test_context;
Expand Down
4 changes: 2 additions & 2 deletions api/src/transactions.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/src/view_function.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/test-context/src/golden_output.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use goldenfile::Mint;
Expand Down
2 changes: 1 addition & 1 deletion api/test-context/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

mod golden_output;
Expand Down
2 changes: 1 addition & 1 deletion api/test-context/src/test_context.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use super::{golden_output::GoldenOutputs, pretty};
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/account.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{HexEncodedBytes, U64};
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/address.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use aptos_types::account_address::AccountAddress;
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/block.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{HashValue, Transaction, TransactionOnChainData, U64};
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/bytecode.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/convert.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/derives.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

//! This file is where we apply a number of traits that allow us to use these
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use aptos_types::vm_status::StatusCode;
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/hash.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use serde::{de::Error as _, Deserialize, Deserializer, Serialize, Serializer};
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/headers.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

/// Chain ID of the current chain
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/index.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{LedgerInfo, U64};
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/ledger_info.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::U64;
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

mod account;
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/mime_types.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

/// MIME type to submit BCS transactions
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/move_types.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{Address, Bytecode, IdentifierWrapper, VerifyInput, VerifyInputWithRecursion};
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/table.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{HexEncodedBytes, MoveType, VerifyInput, VerifyInputWithRecursion};
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/transaction.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/view.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::{EntryFunctionId, MoveType};
Expand Down
2 changes: 1 addition & 1 deletion api/types/src/wrappers.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

//! The purpose of this file is to define wrappers that we can use in the
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/aptos-aggregator/src/aggregator_extension.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::delta_change_set::{addition, deserialize, subtraction};
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/aptos-aggregator/src/delta_change_set.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

//! Parallel data aggregation uses a `Delta` op. Every delta is is a state key
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/aptos-aggregator/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

pub mod aggregator_extension;
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/aptos-aggregator/src/module.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use aptos_types::account_config::CORE_CODE_ADDRESS;
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/aptos-aggregator/src/transaction.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use crate::delta_change_set::{deserialize, DeltaChangeSet};
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/aptos-debugger/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use anyhow::{format_err, Result};
Expand Down
2 changes: 1 addition & 1 deletion aptos-move/aptos-debugger/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Aptos
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use anyhow::Result;
Expand Down
Loading

0 comments on commit 5af6024

Please sign in to comment.