From b1601d23fb157fee4c4932cd093d3809be8094a4 Mon Sep 17 00:00:00 2001 From: Josh Lind Date: Thu, 17 Mar 2022 16:15:18 -0400 Subject: [PATCH] [Replace] Replaces "The Diem Core Contributors" with "Aptos" globally. Closes: #231 --- .github/actions/land-blocking/find-lbt-images.sh | 2 +- api/Makefile | 2 +- api/doc/openapi.yaml | 2 +- api/src/accounts.rs | 2 +- api/src/context.rs | 2 +- api/src/events.rs | 2 +- api/src/failpoint.rs | 2 +- api/src/health_check.rs | 2 +- api/src/index.rs | 2 +- api/src/lib.rs | 2 +- api/src/log.rs | 2 +- api/src/metrics.rs | 2 +- api/src/page.rs | 2 +- api/src/param.rs | 2 +- api/src/runtime.rs | 2 +- api/src/tests/accounts_test.rs | 2 +- api/src/tests/events_test.rs | 2 +- api/src/tests/index_test.rs | 2 +- api/src/tests/invalid_post_request_test.rs | 2 +- api/src/tests/mod.rs | 2 +- api/src/tests/string_resource_test.rs | 2 +- api/src/tests/test_context.rs | 2 +- api/src/tests/transactions_test.rs | 2 +- api/src/transactions.rs | 2 +- api/src/version.rs | 2 +- api/types/src/account.rs | 2 +- api/types/src/address.rs | 2 +- api/types/src/bytecode.rs | 2 +- api/types/src/convert.rs | 2 +- api/types/src/error.rs | 2 +- api/types/src/event_key.rs | 2 +- api/types/src/hash.rs | 2 +- api/types/src/ledger_info.rs | 2 +- api/types/src/lib.rs | 2 +- api/types/src/mime_types.rs | 2 +- api/types/src/move_types.rs | 2 +- api/types/src/response.rs | 2 +- api/types/src/transaction.rs | 2 +- aptos-move/aptos-keygen/src/lib.rs | 2 +- aptos-move/aptos-keygen/src/main.rs | 2 +- aptos-move/aptos-resource-viewer/src/lib.rs | 2 +- .../benches/transaction_benches.rs | 2 +- aptos-move/aptos-transaction-benchmarks/src/lib.rs | 2 +- aptos-move/aptos-transaction-benchmarks/src/measurement.rs | 2 +- aptos-move/aptos-transaction-benchmarks/src/transactions.rs | 2 +- .../aptos-transactional-test-harness/src/diem_test_harness.rs | 2 +- aptos-move/aptos-transactional-test-harness/src/lib.rs | 2 +- aptos-move/aptos-transactional-test-harness/tests/tests.rs | 2 +- aptos-move/aptos-validator-interface/src/lib.rs | 2 +- aptos-move/aptos-validator-interface/src/storage_interface.rs | 2 +- aptos-move/aptos-vm/src/access_path_cache.rs | 2 +- aptos-move/aptos-vm/src/adapter_common.rs | 2 +- aptos-move/aptos-vm/src/aptos_vm.rs | 2 +- aptos-move/aptos-vm/src/aptos_vm_impl.rs | 2 +- aptos-move/aptos-vm/src/counters.rs | 2 +- aptos-move/aptos-vm/src/data_cache.rs | 2 +- aptos-move/aptos-vm/src/errors.rs | 2 +- aptos-move/aptos-vm/src/foreign_contracts.rs | 2 +- aptos-move/aptos-vm/src/lib.rs | 2 +- aptos-move/aptos-vm/src/logging.rs | 2 +- aptos-move/aptos-vm/src/natives.rs | 2 +- aptos-move/aptos-vm/src/parallel_executor/mod.rs | 2 +- .../aptos-vm/src/parallel_executor/read_write_set_analyzer.rs | 2 +- aptos-move/aptos-vm/src/parallel_executor/storage_wrapper.rs | 2 +- aptos-move/aptos-vm/src/parallel_executor/vm_wrapper.rs | 2 +- aptos-move/aptos-vm/src/read_write_set_analysis.rs | 2 +- aptos-move/aptos-vm/src/script_to_script_function.rs | 2 +- aptos-move/aptos-vm/src/system_module_names.rs | 2 +- aptos-move/aptos-vm/src/transaction_metadata.rs | 2 +- aptos-move/aptos-vm/src/unit_tests/mod.rs | 2 +- .../src/unit_tests/script_to_script_function_tests.rs | 2 +- aptos-move/df-cli/src/lib.rs | 2 +- aptos-move/df-cli/src/main.rs | 2 +- aptos-move/df-cli/tests/cli_testsuite.rs | 2 +- aptos-move/e2e-tests-replay/src/lib.rs | 2 +- aptos-move/e2e-tests-replay/src/main.rs | 2 +- aptos-move/e2e-tests/src/account.rs | 2 +- aptos-move/e2e-tests/src/account_universe.rs | 2 +- aptos-move/e2e-tests/src/account_universe/bad_transaction.rs | 2 +- aptos-move/e2e-tests/src/account_universe/create_account.rs | 2 +- aptos-move/e2e-tests/src/account_universe/peer_to_peer.rs | 2 +- aptos-move/e2e-tests/src/account_universe/rotate_key.rs | 2 +- aptos-move/e2e-tests/src/account_universe/universe.rs | 2 +- aptos-move/e2e-tests/src/common_transactions.rs | 2 +- aptos-move/e2e-tests/src/compile.rs | 2 +- aptos-move/e2e-tests/src/currencies.rs | 2 +- aptos-move/e2e-tests/src/data_store.rs | 2 +- .../e2e-tests/src/execution_strategies/basic_strategy.rs | 2 +- .../e2e-tests/src/execution_strategies/guided_strategy.rs | 2 +- aptos-move/e2e-tests/src/execution_strategies/mod.rs | 2 +- .../e2e-tests/src/execution_strategies/multi_strategy.rs | 2 +- .../e2e-tests/src/execution_strategies/random_strategy.rs | 2 +- aptos-move/e2e-tests/src/execution_strategies/types.rs | 2 +- aptos-move/e2e-tests/src/executor.rs | 2 +- aptos-move/e2e-tests/src/gas_costs.rs | 2 +- aptos-move/e2e-tests/src/golden_outputs.rs | 2 +- aptos-move/e2e-tests/src/lib.rs | 2 +- aptos-move/e2e-tests/src/on_chain_configs.rs | 2 +- aptos-move/e2e-tests/src/proptest_types.rs | 2 +- aptos-move/e2e-tests/src/utils.rs | 2 +- aptos-move/e2e-tests/src/versioning.rs | 2 +- aptos-move/e2e-testsuite/src/lib.rs | 2 +- aptos-move/e2e-testsuite/src/tests/account_limits.rs | 2 +- .../src/tests/account_universe/bad_transaction.rs | 2 +- .../src/tests/account_universe/create_account.rs | 2 +- aptos-move/e2e-testsuite/src/tests/account_universe/mod.rs | 2 +- .../e2e-testsuite/src/tests/account_universe/peer_to_peer.rs | 2 +- .../e2e-testsuite/src/tests/account_universe/rotate_key.rs | 2 +- aptos-move/e2e-testsuite/src/tests/admin_script.rs | 2 +- aptos-move/e2e-testsuite/src/tests/create_account.rs | 2 +- aptos-move/e2e-testsuite/src/tests/crsn.rs | 2 +- aptos-move/e2e-testsuite/src/tests/data_store.rs | 2 +- aptos-move/e2e-testsuite/src/tests/emergency_admin_script.rs | 2 +- aptos-move/e2e-testsuite/src/tests/execution_strategies.rs | 2 +- aptos-move/e2e-testsuite/src/tests/experimental.rs | 2 +- .../e2e-testsuite/src/tests/failed_transaction_tests.rs | 2 +- aptos-move/e2e-testsuite/src/tests/genesis.rs | 2 +- aptos-move/e2e-testsuite/src/tests/genesis_initializations.rs | 2 +- aptos-move/e2e-testsuite/src/tests/mint.rs | 2 +- aptos-move/e2e-testsuite/src/tests/mod.rs | 2 +- aptos-move/e2e-testsuite/src/tests/module_publishing.rs | 2 +- aptos-move/e2e-testsuite/src/tests/multi_agent.rs | 2 +- aptos-move/e2e-testsuite/src/tests/on_chain_configs.rs | 2 +- aptos-move/e2e-testsuite/src/tests/parallel_execution.rs | 2 +- aptos-move/e2e-testsuite/src/tests/peer_to_peer.rs | 2 +- aptos-move/e2e-testsuite/src/tests/rotate_key.rs | 2 +- aptos-move/e2e-testsuite/src/tests/scripts.rs | 2 +- aptos-move/e2e-testsuite/src/tests/transaction_builder.rs | 2 +- aptos-move/e2e-testsuite/src/tests/transaction_fees.rs | 2 +- aptos-move/e2e-testsuite/src/tests/transaction_fuzzer.rs | 2 +- .../e2e-testsuite/src/tests/validator_set_management.rs | 2 +- aptos-move/e2e-testsuite/src/tests/vasps.rs | 2 +- aptos-move/e2e-testsuite/src/tests/verify_txn.rs | 2 +- aptos-move/e2e-testsuite/src/tests/write_set.rs | 2 +- aptos-move/e2e-testsuite/src/tests/writeset_builder.rs | 2 +- .../releases/artifacts/current/transaction_script_builder.rs | 2 +- aptos-move/framework/DPN/releases/src/legacy/mod.rs | 2 +- .../framework/DPN/releases/src/legacy/transaction_scripts.rs | 2 +- aptos-move/framework/DPN/releases/src/lib.rs | 2 +- aptos-move/framework/DPN/releases/src/tests.rs | 2 +- .../releases/artifacts/current/transaction_script_builder.rs | 2 +- aptos-move/framework/aptos-framework/releases/src/lib.rs | 2 +- .../releases/artifacts/current/transaction_script_builder.rs | 2 +- .../releases/artifacts/current/transaction_script_builder.rs | 2 +- aptos-move/framework/experimental/releases/src/lib.rs | 2 +- aptos-move/framework/releases/src/lib.rs | 2 +- aptos-move/framework/src/lib.rs | 2 +- aptos-move/framework/src/main.rs | 2 +- aptos-move/framework/src/natives/account.rs | 2 +- aptos-move/framework/src/natives/mod.rs | 2 +- aptos-move/framework/src/natives/signature.rs | 2 +- aptos-move/framework/src/release.rs | 4 ++-- aptos-move/framework/tests/aptos_transactional_tests.rs | 2 +- aptos-move/framework/tests/dpn_transactional_tests.rs | 2 +- aptos-move/framework/tests/generated_files.rs | 2 +- aptos-move/framework/tests/move_unit_test.rs | 2 +- aptos-move/framework/tests/move_verification_test.rs | 2 +- aptos-move/genesis-viewer/src/main.rs | 2 +- aptos-move/move-examples/src/main.rs | 2 +- aptos-move/move-examples/tests/move_unit_tests.rs | 2 +- aptos-move/mvhashmap/src/lib.rs | 2 +- aptos-move/mvhashmap/src/unit_tests/mod.rs | 2 +- aptos-move/mvhashmap/src/unit_tests/proptest_types.rs | 2 +- aptos-move/parallel-executor/benches/scheduler_benches.rs | 2 +- aptos-move/parallel-executor/src/errors.rs | 2 +- aptos-move/parallel-executor/src/executor.rs | 2 +- aptos-move/parallel-executor/src/lib.rs | 2 +- aptos-move/parallel-executor/src/outcome_array.rs | 2 +- aptos-move/parallel-executor/src/proptest_types/bencher.rs | 2 +- aptos-move/parallel-executor/src/proptest_types/mod.rs | 2 +- aptos-move/parallel-executor/src/proptest_types/tests.rs | 2 +- aptos-move/parallel-executor/src/proptest_types/types.rs | 2 +- aptos-move/parallel-executor/src/scheduler.rs | 2 +- aptos-move/parallel-executor/src/task.rs | 2 +- aptos-move/parallel-executor/src/txn_last_input_output.rs | 2 +- aptos-move/parallel-executor/src/unit_tests/mod.rs | 2 +- .../examples/cpp/stdlib_demo.cpp | 2 +- .../examples/csharp/custom_aptos_code/AccountAddress.cs | 2 +- .../examples/golang/stdlib_demo.go | 2 +- .../examples/java/StdlibDemo.java | 2 +- .../examples/java/custom_aptos_code/AccountAddress.java | 2 +- .../examples/python3/custom_aptos_code/AccountAddress.py | 2 +- .../examples/python3/stdlib_demo.py | 2 +- .../examples/rust/script_fun_demo.rs | 2 +- .../examples/rust/tx_script_demo.rs | 2 +- .../transaction-builder-generator/examples/typescript/mod.ts | 2 +- aptos-move/transaction-builder-generator/src/common.rs | 2 +- aptos-move/transaction-builder-generator/src/cpp.rs | 2 +- aptos-move/transaction-builder-generator/src/csharp.rs | 2 +- aptos-move/transaction-builder-generator/src/generate.rs | 2 +- aptos-move/transaction-builder-generator/src/golang.rs | 2 +- aptos-move/transaction-builder-generator/src/java.rs | 2 +- aptos-move/transaction-builder-generator/src/lib.rs | 2 +- aptos-move/transaction-builder-generator/src/python3.rs | 2 +- aptos-move/transaction-builder-generator/src/rust.rs | 4 ++-- aptos-move/transaction-builder-generator/src/swift.rs | 2 +- aptos-move/transaction-builder-generator/src/typescript.rs | 2 +- aptos-move/transaction-builder-generator/tests/cli.rs | 2 +- aptos-move/transaction-builder-generator/tests/generation.rs | 2 +- aptos-move/transaction-replay/src/lib.rs | 2 +- aptos-move/transaction-replay/src/main.rs | 2 +- .../transaction-replay/src/unit_tests/bisection_tests.rs | 2 +- aptos-move/transaction-replay/src/unit_tests/mod.rs | 2 +- aptos-move/vm-genesis/src/genesis_context.rs | 2 +- aptos-move/vm-genesis/src/lib.rs | 2 +- .../src/admin_script_builder.rs | 2 +- aptos-move/writeset-transaction-generator/src/lib.rs | 2 +- .../writeset-transaction-generator/src/writeset_builder.rs | 2 +- aptos-node/src/lib.rs | 2 +- aptos-node/src/main.rs | 2 +- config/generate-key/src/lib.rs | 2 +- config/generate-key/src/main.rs | 2 +- config/global-constants/src/lib.rs | 2 +- config/management/genesis/src/builder.rs | 2 +- config/management/genesis/src/command.rs | 2 +- config/management/genesis/src/config_builder.rs | 2 +- config/management/genesis/src/fullnode_builder.rs | 2 +- config/management/genesis/src/genesis.rs | 2 +- config/management/genesis/src/key.rs | 2 +- config/management/genesis/src/layout.rs | 2 +- config/management/genesis/src/lib.rs | 2 +- config/management/genesis/src/main.rs | 2 +- config/management/genesis/src/move_modules.rs | 2 +- config/management/genesis/src/storage_helper.rs | 2 +- config/management/genesis/src/validator_builder.rs | 2 +- config/management/genesis/src/validator_config.rs | 2 +- config/management/genesis/src/validator_operator.rs | 2 +- config/management/genesis/src/verify.rs | 2 +- config/management/genesis/src/waypoint.rs | 2 +- config/management/operational/src/account_resource.rs | 2 +- config/management/operational/src/auto_validate.rs | 2 +- config/management/operational/src/command.rs | 2 +- config/management/operational/src/governance.rs | 2 +- config/management/operational/src/keys.rs | 2 +- config/management/operational/src/lib.rs | 2 +- config/management/operational/src/main.rs | 2 +- config/management/operational/src/network_checker.rs | 2 +- config/management/operational/src/owner.rs | 2 +- config/management/operational/src/print.rs | 2 +- config/management/operational/src/rest_client.rs | 2 +- config/management/operational/src/test_helper.rs | 2 +- config/management/operational/src/validate_transaction.rs | 2 +- config/management/operational/src/validator_config.rs | 2 +- config/management/operational/src/validator_set.rs | 2 +- config/management/operational/src/validator_state.rs | 2 +- config/management/src/config.rs | 2 +- config/management/src/error.rs | 2 +- config/management/src/lib.rs | 2 +- config/management/src/secure_backend.rs | 2 +- config/management/src/storage.rs | 2 +- config/management/src/transaction.rs | 2 +- config/management/src/validator_config.rs | 2 +- config/management/src/waypoint.rs | 2 +- config/seed-peer-generator/src/lib.rs | 2 +- config/seed-peer-generator/src/main.rs | 2 +- config/seed-peer-generator/src/utils.rs | 2 +- config/src/config/api_config.rs | 2 +- config/src/config/consensus_config.rs | 2 +- config/src/config/debug_interface_config.rs | 2 +- config/src/config/error.rs | 2 +- config/src/config/execution_config.rs | 2 +- config/src/config/json_rpc_config.rs | 2 +- config/src/config/key_manager_config.rs | 2 +- config/src/config/logger_config.rs | 2 +- config/src/config/mempool_config.rs | 2 +- config/src/config/mod.rs | 2 +- config/src/config/network_config.rs | 2 +- config/src/config/safety_rules_config.rs | 2 +- config/src/config/secure_backend_config.rs | 2 +- config/src/config/state_sync_config.rs | 2 +- config/src/config/storage_config.rs | 2 +- config/src/config/test_config.rs | 2 +- config/src/generator.rs | 2 +- config/src/keys.rs | 2 +- config/src/lib.rs | 2 +- config/src/network_id.rs | 2 +- config/src/utils.rs | 2 +- consensus/consensus-types/src/block.rs | 2 +- consensus/consensus-types/src/block_data.rs | 2 +- consensus/consensus-types/src/block_retrieval.rs | 2 +- consensus/consensus-types/src/block_test.rs | 2 +- consensus/consensus-types/src/block_test_utils.rs | 2 +- consensus/consensus-types/src/common.rs | 2 +- consensus/consensus-types/src/epoch_retrieval.rs | 2 +- consensus/consensus-types/src/executed_block.rs | 2 +- consensus/consensus-types/src/experimental/commit_decision.rs | 2 +- consensus/consensus-types/src/experimental/commit_vote.rs | 2 +- consensus/consensus-types/src/experimental/mod.rs | 2 +- consensus/consensus-types/src/lib.rs | 2 +- consensus/consensus-types/src/proposal_msg.rs | 2 +- consensus/consensus-types/src/quorum_cert.rs | 2 +- consensus/consensus-types/src/safety_data.rs | 2 +- consensus/consensus-types/src/sync_info.rs | 2 +- consensus/consensus-types/src/timeout.rs | 2 +- consensus/consensus-types/src/timeout_2chain.rs | 2 +- consensus/consensus-types/src/timeout_certificate.rs | 2 +- consensus/consensus-types/src/vote.rs | 2 +- consensus/consensus-types/src/vote_data.rs | 2 +- consensus/consensus-types/src/vote_msg.rs | 2 +- consensus/consensus-types/src/vote_proposal.rs | 2 +- consensus/safety-rules/benches/safety_rules.rs | 2 +- consensus/safety-rules/src/configurable_validator_signer.rs | 2 +- consensus/safety-rules/src/consensus_state.rs | 2 +- consensus/safety-rules/src/counters.rs | 2 +- consensus/safety-rules/src/error.rs | 2 +- consensus/safety-rules/src/fuzzing_utils.rs | 2 +- consensus/safety-rules/src/lib.rs | 2 +- consensus/safety-rules/src/local_client.rs | 2 +- consensus/safety-rules/src/logging.rs | 2 +- consensus/safety-rules/src/main.rs | 2 +- consensus/safety-rules/src/persistent_safety_storage.rs | 2 +- consensus/safety-rules/src/process.rs | 2 +- consensus/safety-rules/src/remote_service.rs | 2 +- consensus/safety-rules/src/safety_rules.rs | 2 +- consensus/safety-rules/src/safety_rules_2chain.rs | 2 +- consensus/safety-rules/src/safety_rules_manager.rs | 2 +- consensus/safety-rules/src/serializer.rs | 2 +- consensus/safety-rules/src/t_safety_rules.rs | 2 +- consensus/safety-rules/src/test_utils.rs | 2 +- consensus/safety-rules/src/tests/local.rs | 2 +- consensus/safety-rules/src/tests/mod.rs | 2 +- consensus/safety-rules/src/tests/networking.rs | 2 +- consensus/safety-rules/src/tests/safety_rules.rs | 2 +- consensus/safety-rules/src/tests/serializer.rs | 2 +- consensus/safety-rules/src/tests/suite.rs | 2 +- consensus/safety-rules/src/tests/thread.rs | 2 +- consensus/safety-rules/src/tests/vault.rs | 2 +- consensus/safety-rules/src/thread.rs | 2 +- consensus/safety-rules/tests/binary.rs | 2 +- consensus/src/block_storage/block_store.rs | 2 +- .../src/block_storage/block_store_and_lec_recovery_test.rs | 2 +- consensus/src/block_storage/block_store_test.rs | 2 +- consensus/src/block_storage/block_tree.rs | 2 +- consensus/src/block_storage/mod.rs | 2 +- consensus/src/block_storage/sync_manager.rs | 2 +- consensus/src/block_storage/tracing.rs | 2 +- consensus/src/consensus_provider.rs | 2 +- consensus/src/consensusdb/consensusdb_test.rs | 2 +- consensus/src/consensusdb/mod.rs | 2 +- consensus/src/consensusdb/schema/block/mod.rs | 2 +- consensus/src/consensusdb/schema/block/test.rs | 2 +- consensus/src/consensusdb/schema/mod.rs | 2 +- consensus/src/consensusdb/schema/quorum_certificate/mod.rs | 2 +- consensus/src/consensusdb/schema/quorum_certificate/test.rs | 2 +- consensus/src/consensusdb/schema/single_entry/mod.rs | 2 +- consensus/src/consensusdb/schema/single_entry/test.rs | 2 +- consensus/src/counters.rs | 2 +- consensus/src/epoch_manager.rs | 2 +- consensus/src/error.rs | 2 +- consensus/src/experimental/buffer.rs | 2 +- consensus/src/experimental/buffer_item.rs | 2 +- consensus/src/experimental/buffer_manager.rs | 2 +- consensus/src/experimental/decoupled_execution_utils.rs | 2 +- consensus/src/experimental/errors.rs | 2 +- consensus/src/experimental/execution_phase.rs | 2 +- consensus/src/experimental/hashable.rs | 2 +- consensus/src/experimental/linkedlist.rs | 2 +- consensus/src/experimental/mod.rs | 2 +- consensus/src/experimental/ordering_state_computer.rs | 2 +- consensus/src/experimental/persisting_phase.rs | 2 +- consensus/src/experimental/pipeline_phase.rs | 2 +- consensus/src/experimental/signing_phase.rs | 2 +- consensus/src/experimental/tests/buffer_manager_tests.rs | 2 +- consensus/src/experimental/tests/execution_phase_tests.rs | 2 +- consensus/src/experimental/tests/integration_tests.rs | 2 +- consensus/src/experimental/tests/mod.rs | 2 +- .../src/experimental/tests/ordering_state_computer_tests.rs | 2 +- consensus/src/experimental/tests/phase_tester.rs | 2 +- consensus/src/experimental/tests/signing_phase_tests.rs | 2 +- consensus/src/experimental/tests/test_utils.rs | 2 +- consensus/src/lib.rs | 2 +- consensus/src/liveness/leader_reputation.rs | 2 +- consensus/src/liveness/leader_reputation_test.rs | 2 +- consensus/src/liveness/mod.rs | 2 +- consensus/src/liveness/proposal_generator.rs | 2 +- consensus/src/liveness/proposal_generator_test.rs | 2 +- consensus/src/liveness/proposer_election.rs | 2 +- consensus/src/liveness/rotating_proposer_election.rs | 2 +- consensus/src/liveness/rotating_proposer_test.rs | 2 +- consensus/src/liveness/round_proposer_election.rs | 2 +- consensus/src/liveness/round_proposer_test.rs | 2 +- consensus/src/liveness/round_state.rs | 2 +- consensus/src/liveness/round_state_test.rs | 2 +- consensus/src/logging.rs | 2 +- consensus/src/metrics_safety_rules.rs | 2 +- consensus/src/network.rs | 2 +- consensus/src/network_interface.rs | 2 +- consensus/src/network_tests.rs | 2 +- consensus/src/pending_votes.rs | 2 +- consensus/src/persistent_liveness_storage.rs | 2 +- consensus/src/round_manager.rs | 2 +- consensus/src/round_manager_fuzzing.rs | 2 +- consensus/src/round_manager_test.rs | 2 +- consensus/src/state_computer.rs | 2 +- consensus/src/state_replication.rs | 2 +- consensus/src/test_utils/mock_state_computer.rs | 2 +- consensus/src/test_utils/mock_storage.rs | 2 +- consensus/src/test_utils/mock_txn_manager.rs | 2 +- consensus/src/test_utils/mod.rs | 2 +- consensus/src/twins/basic_twins_test.rs | 2 +- consensus/src/twins/mod.rs | 2 +- consensus/src/twins/twins_node.rs | 2 +- consensus/src/txn_manager.rs | 2 +- consensus/src/util/mock_time_service.rs | 2 +- consensus/src/util/mod.rs | 2 +- consensus/src/util/time_service.rs | 2 +- crates/aptos-bitvec/src/lib.rs | 2 +- crates/aptos-crypto-derive/src/hasher.rs | 2 +- crates/aptos-crypto-derive/src/lib.rs | 2 +- crates/aptos-crypto-derive/src/unions.rs | 2 +- crates/aptos-crypto/benches/ed25519.rs | 2 +- crates/aptos-crypto/benches/noise.rs | 2 +- crates/aptos-crypto/src/compat.rs | 2 +- crates/aptos-crypto/src/ed25519.rs | 2 +- crates/aptos-crypto/src/error.rs | 2 +- crates/aptos-crypto/src/hash.rs | 2 +- crates/aptos-crypto/src/hkdf.rs | 2 +- crates/aptos-crypto/src/lib.rs | 2 +- crates/aptos-crypto/src/multi_ed25519.rs | 2 +- crates/aptos-crypto/src/noise.rs | 2 +- crates/aptos-crypto/src/tags.rs | 2 +- crates/aptos-crypto/src/test_utils.rs | 2 +- crates/aptos-crypto/src/traits.rs | 2 +- crates/aptos-crypto/src/unit_tests/bcs_test.rs | 2 +- crates/aptos-crypto/src/unit_tests/compat_test.rs | 2 +- crates/aptos-crypto/src/unit_tests/compilation/cross_test.rs | 2 +- .../src/unit_tests/compilation/cross_test_trait_obj.rs | 2 +- .../src/unit_tests/compilation/cross_test_trait_obj_pub.rs | 2 +- .../src/unit_tests/compilation/cross_test_trait_obj_sig.rs | 2 +- crates/aptos-crypto/src/unit_tests/compilation/small_kdf.rs | 2 +- crates/aptos-crypto/src/unit_tests/cross_test.rs | 2 +- crates/aptos-crypto/src/unit_tests/cryptohasher.rs | 2 +- crates/aptos-crypto/src/unit_tests/ed25519_test.rs | 2 +- crates/aptos-crypto/src/unit_tests/hash_test.rs | 2 +- crates/aptos-crypto/src/unit_tests/hkdf_test.rs | 2 +- crates/aptos-crypto/src/unit_tests/mod.rs | 2 +- crates/aptos-crypto/src/unit_tests/multi_ed25519_test.rs | 2 +- crates/aptos-crypto/src/unit_tests/noise_test.rs | 2 +- crates/aptos-crypto/src/validatable.rs | 2 +- crates/aptos-crypto/src/x25519.rs | 2 +- crates/aptos-faucet/src/lib.rs | 2 +- crates/aptos-faucet/src/main.rs | 4 ++-- crates/aptos-faucet/src/mint.rs | 2 +- crates/aptos-id-generator/src/lib.rs | 2 +- crates/aptos-infallible/src/lib.rs | 2 +- crates/aptos-infallible/src/math.rs | 2 +- crates/aptos-infallible/src/mutex.rs | 2 +- crates/aptos-infallible/src/nonzero.rs | 2 +- crates/aptos-infallible/src/rwlock.rs | 2 +- crates/aptos-infallible/src/time.rs | 2 +- crates/aptos-log-derive/src/lib.rs | 2 +- crates/aptos-logger/src/aptos_logger.rs | 2 +- crates/aptos-logger/src/counters.rs | 2 +- crates/aptos-logger/src/event.rs | 2 +- crates/aptos-logger/src/filter.rs | 2 +- crates/aptos-logger/src/kv.rs | 2 +- crates/aptos-logger/src/lib.rs | 2 +- crates/aptos-logger/src/logger.rs | 2 +- crates/aptos-logger/src/macros.rs | 2 +- crates/aptos-logger/src/metadata.rs | 2 +- crates/aptos-logger/src/sample.rs | 2 +- crates/aptos-logger/src/security.rs | 2 +- crates/aptos-logger/src/struct_log.rs | 2 +- crates/aptos-logger/src/tracing_adapter.rs | 2 +- crates/aptos-logger/tests/derive.rs | 2 +- crates/aptos-logger/tests/logger.rs | 2 +- crates/aptos-logger/tests/logger_custom_format.rs | 2 +- crates/aptos-logger/tests/remote.rs | 2 +- crates/aptos-logger/tests/tracing_translation_tests.rs | 2 +- crates/aptos-metrics-core/src/lib.rs | 2 +- crates/aptos-metrics/build.rs | 2 +- crates/aptos-metrics/src/json_encoder.rs | 2 +- crates/aptos-metrics/src/json_metrics.rs | 2 +- crates/aptos-metrics/src/lib.rs | 2 +- crates/aptos-metrics/src/metric_server.rs | 2 +- crates/aptos-metrics/src/op_counters.rs | 2 +- crates/aptos-metrics/src/public_metrics.rs | 2 +- crates/aptos-metrics/src/unit_tests/lib_test.rs | 2 +- crates/aptos-metrics/src/unit_tests/mod.rs | 2 +- crates/aptos-proptest-helpers/src/growing_subset.rs | 2 +- crates/aptos-proptest-helpers/src/lib.rs | 2 +- crates/aptos-proptest-helpers/src/repeat_vec.rs | 2 +- crates/aptos-proptest-helpers/src/unit_tests.rs | 2 +- .../src/unit_tests/growing_subset_tests.rs | 2 +- .../aptos-proptest-helpers/src/unit_tests/pick_idx_tests.rs | 2 +- .../aptos-proptest-helpers/src/unit_tests/repeat_vec_tests.rs | 2 +- crates/aptos-proptest-helpers/src/value_generator.rs | 2 +- crates/aptos-rate-limiter/src/async_lib.rs | 2 +- crates/aptos-rate-limiter/src/lib.rs | 2 +- crates/aptos-rate-limiter/src/main.rs | 2 +- crates/aptos-rate-limiter/src/rate_limit.rs | 2 +- crates/aptos-rest-client/src/dpn.rs | 2 +- crates/aptos-rest-client/src/error.rs | 2 +- crates/aptos-rest-client/src/faucet.rs | 2 +- crates/aptos-rest-client/src/lib.rs | 2 +- crates/aptos-rest-client/src/response.rs | 2 +- crates/aptos-rest-client/src/state.rs | 2 +- crates/aptos-rest-client/src/types.rs | 2 +- crates/aptos-retrier/src/lib.rs | 2 +- crates/aptos-temppath/src/lib.rs | 2 +- crates/aptos-time-service/src/interval.rs | 2 +- crates/aptos-time-service/src/lib.rs | 2 +- crates/aptos-time-service/src/mock.rs | 2 +- crates/aptos-time-service/src/real.rs | 2 +- crates/aptos-time-service/src/timeout.rs | 2 +- crates/aptos-workspace-hack/build.rs | 2 +- crates/aptos-workspace-hack/src/lib.rs | 2 +- crates/bounded-executor/src/lib.rs | 2 +- crates/channel/src/aptos_channel.rs | 2 +- crates/channel/src/aptos_channel_test.rs | 2 +- crates/channel/src/lib.rs | 2 +- crates/channel/src/message_queues.rs | 2 +- crates/channel/src/message_queues_test.rs | 2 +- crates/channel/src/test.rs | 2 +- crates/channel/tests/many-keys-stress-test.rs | 2 +- crates/crash-handler/src/lib.rs | 2 +- crates/debug-interface/src/lib.rs | 2 +- crates/debug-interface/src/node_debug_service.rs | 2 +- crates/fallible/src/copy_from_slice.rs | 2 +- crates/fallible/src/lib.rs | 2 +- crates/num-variants/src/lib.rs | 2 +- crates/num-variants/tests/basic.rs | 2 +- crates/proxy/src/lib.rs | 2 +- crates/short-hex-str/src/lib.rs | 2 +- crates/transaction-emitter/src/atomic_histogram.rs | 2 +- crates/transaction-emitter/src/cluster.rs | 2 +- crates/transaction-emitter/src/instance.rs | 2 +- crates/transaction-emitter/src/lib.rs | 2 +- crates/transaction-emitter/src/main.rs | 2 +- .../static/examples/python/first_transaction.py | 2 +- .../static/examples/python/hello_blockchain.py | 2 +- .../static/examples/rust/first_transaction/src/lib.rs | 2 +- .../static/examples/rust/first_transaction/src/main.rs | 2 +- .../static/examples/rust/hello_blockchain/src/lib.rs | 2 +- .../static/examples/rust/hello_blockchain/src/main.rs | 2 +- devtools/x-core/src/core_config.rs | 2 +- devtools/x-core/src/errors.rs | 2 +- devtools/x-core/src/git.rs | 2 +- devtools/x-core/src/graph.rs | 2 +- devtools/x-core/src/lib.rs | 2 +- devtools/x-core/src/workspace_subset.rs | 2 +- devtools/x-lint/src/content.rs | 2 +- devtools/x-lint/src/file_path.rs | 2 +- devtools/x-lint/src/lib.rs | 2 +- devtools/x-lint/src/package.rs | 2 +- devtools/x-lint/src/project.rs | 2 +- devtools/x-lint/src/runner.rs | 2 +- devtools/x/src/bench.rs | 2 +- devtools/x/src/build.rs | 2 +- devtools/x/src/cargo.rs | 2 +- devtools/x/src/cargo/build_args.rs | 2 +- devtools/x/src/cargo/selected_package.rs | 2 +- devtools/x/src/changed_since.rs | 2 +- devtools/x/src/check.rs | 2 +- devtools/x/src/clippy.rs | 2 +- devtools/x/src/config.rs | 2 +- devtools/x/src/context.rs | 2 +- devtools/x/src/diff_summary.rs | 2 +- devtools/x/src/fix.rs | 2 +- devtools/x/src/fmt.rs | 2 +- devtools/x/src/generate_summaries.rs | 2 +- devtools/x/src/generate_workspace_hack.rs | 2 +- devtools/x/src/installer.rs | 2 +- devtools/x/src/lint/allowed_paths.rs | 2 +- devtools/x/src/lint/determinator.rs | 2 +- devtools/x/src/lint/guppy.rs | 2 +- devtools/x/src/lint/license.rs | 4 ++-- devtools/x/src/lint/mod.rs | 2 +- devtools/x/src/lint/toml.rs | 2 +- devtools/x/src/lint/whitespace.rs | 2 +- devtools/x/src/lint/workspace_classify.rs | 2 +- devtools/x/src/lint/workspace_hack.rs | 2 +- devtools/x/src/main.rs | 2 +- devtools/x/src/nextest.rs | 2 +- devtools/x/src/playground.rs | 2 +- devtools/x/src/test.rs | 2 +- devtools/x/src/tools.rs | 2 +- devtools/x/src/utils.rs | 2 +- docker/aptos-build.sh | 2 +- docker/build-aws.sh | 2 +- docker/build-common.sh | 2 +- docker/build-push-local.sh | 2 +- docker/build_push.sh | 2 +- docker/compose/test_docker_compose.sh | 2 +- docker/docker_republish.sh | 2 +- docker/faucet/build.sh | 2 +- docker/forge/build.sh | 2 +- docker/init/build.sh | 2 +- docker/install-tools.sh | 2 +- docker/safety-rules/build.sh | 2 +- docker/tag-and-push.sh | 2 +- docker/tools/build.sh | 2 +- docker/validator/build.sh | 2 +- docker/vault/run.sh | 2 +- documentation/specifications/README.md | 4 ++-- execution/db-bootstrapper/src/bin/db-bootstrapper.rs | 2 +- execution/execution-correctness/src/execution_correctness.rs | 2 +- .../src/execution_correctness_manager.rs | 2 +- execution/execution-correctness/src/lib.rs | 2 +- execution/execution-correctness/src/local.rs | 2 +- execution/execution-correctness/src/main.rs | 2 +- execution/execution-correctness/src/process.rs | 2 +- execution/execution-correctness/src/remote_service.rs | 2 +- execution/execution-correctness/src/serializer.rs | 2 +- execution/execution-correctness/src/tests/local.rs | 2 +- execution/execution-correctness/src/tests/mod.rs | 2 +- execution/execution-correctness/src/tests/serializer.rs | 2 +- execution/execution-correctness/src/tests/suite.rs | 2 +- execution/execution-correctness/src/tests/thread.rs | 2 +- execution/execution-correctness/src/thread.rs | 2 +- execution/execution-correctness/tests/binary.rs | 2 +- execution/executor-benchmark/benches/executor_benchmark.rs | 2 +- execution/executor-benchmark/src/db_generator.rs | 2 +- execution/executor-benchmark/src/lib.rs | 2 +- execution/executor-benchmark/src/main.rs | 2 +- execution/executor-benchmark/src/transaction_committer.rs | 2 +- execution/executor-benchmark/src/transaction_executor.rs | 2 +- execution/executor-benchmark/src/transaction_generator.rs | 2 +- execution/executor-test-helpers/src/integration_test_impl.rs | 2 +- execution/executor-test-helpers/src/lib.rs | 2 +- execution/executor-types/src/error.rs | 2 +- execution/executor-types/src/executed_chunk.rs | 2 +- execution/executor-types/src/lib.rs | 2 +- execution/executor/src/block_executor.rs | 2 +- execution/executor/src/chunk_executor.rs | 2 +- execution/executor/src/components/apply_chunk_output.rs | 2 +- execution/executor/src/components/block_tree/mod.rs | 2 +- execution/executor/src/components/block_tree/test.rs | 2 +- execution/executor/src/components/chunk_commit_queue.rs | 2 +- execution/executor/src/components/chunk_output.rs | 2 +- execution/executor/src/components/mod.rs | 2 +- execution/executor/src/db_bootstrapper.rs | 2 +- execution/executor/src/fuzzing.rs | 2 +- execution/executor/src/lib.rs | 2 +- execution/executor/src/logging.rs | 2 +- execution/executor/src/metrics.rs | 2 +- execution/executor/src/mock_vm/mock_vm_test.rs | 2 +- execution/executor/src/mock_vm/mod.rs | 2 +- execution/executor/src/tests/chunk_executor_tests.rs | 2 +- execution/executor/src/tests/mod.rs | 2 +- execution/executor/tests/db_bootstrapper_test.rs | 2 +- execution/executor/tests/storage_integration_test.rs | 2 +- mempool/src/core_mempool/index.rs | 2 +- mempool/src/core_mempool/mempool.rs | 2 +- mempool/src/core_mempool/mod.rs | 2 +- mempool/src/core_mempool/transaction.rs | 2 +- mempool/src/core_mempool/transaction_store.rs | 2 +- mempool/src/core_mempool/ttl_cache.rs | 2 +- mempool/src/counters.rs | 2 +- mempool/src/lib.rs | 2 +- mempool/src/logging.rs | 2 +- mempool/src/shared_mempool/coordinator.rs | 2 +- mempool/src/shared_mempool/mod.rs | 2 +- mempool/src/shared_mempool/network.rs | 2 +- mempool/src/shared_mempool/runtime.rs | 2 +- mempool/src/shared_mempool/tasks.rs | 2 +- mempool/src/shared_mempool/types.rs | 2 +- mempool/src/tests/common.rs | 2 +- mempool/src/tests/core_mempool_test.rs | 2 +- mempool/src/tests/fuzzing.rs | 2 +- mempool/src/tests/integration_tests.rs | 2 +- mempool/src/tests/mocks.rs | 2 +- mempool/src/tests/mod.rs | 2 +- mempool/src/tests/multi_node_test.rs | 2 +- mempool/src/tests/node.rs | 2 +- mempool/src/tests/shared_mempool_test.rs | 2 +- mempool/src/tests/test_framework.rs | 2 +- network/builder/src/builder.rs | 2 +- network/builder/src/dummy.rs | 2 +- network/builder/src/lib.rs | 2 +- network/builder/src/test.rs | 2 +- network/discovery/src/counters.rs | 2 +- network/discovery/src/file.rs | 2 +- network/discovery/src/lib.rs | 2 +- network/discovery/src/validator_set.rs | 2 +- network/memsocket/src/lib.rs | 2 +- network/memsocket/tests/memory_listener.rs | 2 +- network/memsocket/tests/memory_socket.rs | 2 +- network/netcore/src/framing.rs | 2 +- network/netcore/src/lib.rs | 2 +- network/netcore/src/transport/and_then.rs | 2 +- network/netcore/src/transport/boxed.rs | 2 +- network/netcore/src/transport/memory.rs | 2 +- network/netcore/src/transport/mod.rs | 2 +- network/netcore/src/transport/proxy_protocol.rs | 2 +- network/netcore/src/transport/tcp.rs | 2 +- network/src/application/interface.rs | 2 +- network/src/application/mod.rs | 2 +- network/src/application/storage.rs | 2 +- network/src/application/tests.rs | 2 +- network/src/application/types.rs | 2 +- network/src/connectivity_manager/builder.rs | 2 +- network/src/connectivity_manager/mod.rs | 2 +- network/src/connectivity_manager/test.rs | 2 +- network/src/constants.rs | 2 +- network/src/counters.rs | 2 +- network/src/error.rs | 2 +- network/src/fuzzing.rs | 2 +- network/src/lib.rs | 2 +- network/src/logging.rs | 2 +- network/src/noise/error.rs | 2 +- network/src/noise/fuzzing.rs | 2 +- network/src/noise/handshake.rs | 2 +- network/src/noise/mod.rs | 2 +- network/src/noise/stream.rs | 2 +- network/src/peer/fuzzing.rs | 2 +- network/src/peer/mod.rs | 2 +- network/src/peer/test.rs | 2 +- network/src/peer_manager/builder.rs | 2 +- network/src/peer_manager/conn_notifs_channel.rs | 2 +- network/src/peer_manager/error.rs | 2 +- network/src/peer_manager/mod.rs | 2 +- network/src/peer_manager/senders.rs | 2 +- network/src/peer_manager/tests.rs | 2 +- network/src/peer_manager/transport.rs | 2 +- network/src/peer_manager/types.rs | 2 +- network/src/protocols/direct_send/mod.rs | 2 +- network/src/protocols/health_checker/builder.rs | 2 +- network/src/protocols/health_checker/interface.rs | 2 +- network/src/protocols/health_checker/mod.rs | 2 +- network/src/protocols/health_checker/test.rs | 2 +- network/src/protocols/identity.rs | 2 +- network/src/protocols/mod.rs | 2 +- network/src/protocols/network/mod.rs | 2 +- network/src/protocols/rpc/error.rs | 2 +- network/src/protocols/rpc/mod.rs | 2 +- network/src/protocols/wire/handshake.rs | 2 +- network/src/protocols/wire/handshake/v1/mod.rs | 2 +- network/src/protocols/wire/handshake/v1/test.rs | 2 +- network/src/protocols/wire/messaging.rs | 2 +- network/src/protocols/wire/messaging/v1/mod.rs | 2 +- network/src/protocols/wire/messaging/v1/test.rs | 2 +- network/src/protocols/wire/mod.rs | 2 +- network/src/testutils/builder.rs | 2 +- network/src/testutils/fake_socket.rs | 2 +- network/src/testutils/mod.rs | 2 +- network/src/testutils/test_framework.rs | 2 +- network/src/testutils/test_node.rs | 2 +- network/src/transport/mod.rs | 2 +- network/src/transport/test.rs | 2 +- scripts/cargo_check_dependencies.sh | 2 +- scripts/cargo_update_outdated.sh | 2 +- scripts/changed-files.sh | 2 +- scripts/cli/start_cli_testnet.sh | 2 +- scripts/dev_setup.sh | 2 +- scripts/dockerhub_prune.sh | 2 +- scripts/fgi/kube.py | 2 +- scripts/fgi/run | 2 +- scripts/git-checks.sh | 2 +- scripts/run_quarantined.sh | 2 +- scripts/weekly-dep-report.sh | 2 +- sdk/src/lib.rs | 2 +- sdk/src/transaction_builder.rs | 2 +- sdk/src/types.rs | 2 +- sdk/transaction-builder/src/error_explain.rs | 2 +- sdk/transaction-builder/src/lib.rs | 2 +- secure/net/src/lib.rs | 2 +- secure/push-metrics/src/lib.rs | 2 +- secure/storage/github/src/lib.rs | 2 +- secure/storage/src/crypto_kv_storage.rs | 2 +- secure/storage/src/crypto_storage.rs | 2 +- secure/storage/src/error.rs | 2 +- secure/storage/src/github.rs | 2 +- secure/storage/src/in_memory.rs | 2 +- secure/storage/src/kv_storage.rs | 2 +- secure/storage/src/lib.rs | 2 +- secure/storage/src/namespaced.rs | 2 +- secure/storage/src/on_disk.rs | 2 +- secure/storage/src/policy.rs | 2 +- secure/storage/src/storage.rs | 2 +- secure/storage/src/tests/github.rs | 2 +- secure/storage/src/tests/in_memory.rs | 2 +- secure/storage/src/tests/mod.rs | 2 +- secure/storage/src/tests/on_disk.rs | 2 +- secure/storage/src/tests/suite.rs | 2 +- secure/storage/src/tests/vault.rs | 2 +- secure/storage/src/vault.rs | 2 +- secure/storage/vault/src/dev.rs | 2 +- secure/storage/vault/src/fuzzing.rs | 2 +- secure/storage/vault/src/lib.rs | 2 +- state-sync/aptos-data-client/src/aptosnet/logging.rs | 2 +- state-sync/aptos-data-client/src/aptosnet/metrics.rs | 2 +- state-sync/aptos-data-client/src/aptosnet/mod.rs | 2 +- state-sync/aptos-data-client/src/aptosnet/state.rs | 2 +- state-sync/aptos-data-client/src/aptosnet/tests.rs | 2 +- state-sync/aptos-data-client/src/lib.rs | 2 +- state-sync/inter-component/consensus-notifications/src/lib.rs | 2 +- state-sync/inter-component/event-notifications/src/lib.rs | 2 +- state-sync/inter-component/event-notifications/src/tests.rs | 2 +- state-sync/inter-component/mempool-notifications/src/lib.rs | 2 +- state-sync/state-sync-v1/src/bootstrapper.rs | 2 +- state-sync/state-sync-v1/src/chunk_request.rs | 2 +- state-sync/state-sync-v1/src/chunk_response.rs | 2 +- state-sync/state-sync-v1/src/client.rs | 2 +- state-sync/state-sync-v1/src/coordinator.rs | 2 +- state-sync/state-sync-v1/src/counters.rs | 2 +- state-sync/state-sync-v1/src/error.rs | 2 +- state-sync/state-sync-v1/src/executor_proxy.rs | 2 +- state-sync/state-sync-v1/src/fuzzing.rs | 2 +- state-sync/state-sync-v1/src/lib.rs | 2 +- state-sync/state-sync-v1/src/logging.rs | 2 +- state-sync/state-sync-v1/src/network.rs | 2 +- state-sync/state-sync-v1/src/request_manager.rs | 2 +- state-sync/state-sync-v1/src/shared_components.rs | 2 +- state-sync/state-sync-v1/tests/integration_tests.rs | 2 +- state-sync/state-sync-v1/tests/test_harness.rs | 2 +- .../data-streaming-service/src/data_notification.rs | 2 +- .../state-sync-v2/data-streaming-service/src/data_stream.rs | 2 +- state-sync/state-sync-v2/data-streaming-service/src/error.rs | 2 +- state-sync/state-sync-v2/data-streaming-service/src/lib.rs | 2 +- .../state-sync-v2/data-streaming-service/src/logging.rs | 2 +- .../state-sync-v2/data-streaming-service/src/metrics.rs | 2 +- .../state-sync-v2/data-streaming-service/src/stream_engine.rs | 2 +- .../data-streaming-service/src/streaming_client.rs | 2 +- .../data-streaming-service/src/streaming_service.rs | 2 +- .../data-streaming-service/src/tests/data_stream.rs | 2 +- .../state-sync-v2/data-streaming-service/src/tests/mod.rs | 2 +- .../data-streaming-service/src/tests/stream_engine.rs | 2 +- .../data-streaming-service/src/tests/streaming_client.rs | 2 +- .../data-streaming-service/src/tests/streaming_service.rs | 2 +- .../state-sync-v2/data-streaming-service/src/tests/utils.rs | 2 +- .../state-sync-v2/state-sync-driver/src/bootstrapper.rs | 2 +- .../state-sync-v2/state-sync-driver/src/continuous_syncer.rs | 2 +- state-sync/state-sync-v2/state-sync-driver/src/driver.rs | 2 +- .../state-sync-v2/state-sync-driver/src/driver_client.rs | 2 +- .../state-sync-v2/state-sync-driver/src/driver_factory.rs | 2 +- state-sync/state-sync-v2/state-sync-driver/src/error.rs | 2 +- state-sync/state-sync-v2/state-sync-driver/src/lib.rs | 2 +- .../state-sync-driver/src/notification_handlers.rs | 2 +- .../state-sync-driver/src/storage_synchronizer.rs | 2 +- .../state-sync-v2/state-sync-driver/src/tests/driver.rs | 2 +- state-sync/state-sync-v2/state-sync-driver/src/tests/mod.rs | 2 +- state-sync/state-sync-v2/state-sync-driver/src/tests/utils.rs | 2 +- state-sync/state-sync-v2/state-sync-driver/src/utils.rs | 2 +- state-sync/state-sync-v2/state-sync-multiplexer/src/lib.rs | 2 +- state-sync/storage-service/client/src/lib.rs | 2 +- state-sync/storage-service/server/src/lib.rs | 2 +- state-sync/storage-service/server/src/logging.rs | 2 +- state-sync/storage-service/server/src/metrics.rs | 2 +- state-sync/storage-service/server/src/network.rs | 2 +- state-sync/storage-service/server/src/tests.rs | 2 +- state-sync/storage-service/types/src/lib.rs | 2 +- storage/accumulator/src/lib.rs | 2 +- storage/accumulator/src/test_helpers.rs | 2 +- storage/accumulator/src/tests/mod.rs | 2 +- storage/accumulator/src/tests/proof_test.rs | 2 +- storage/accumulator/src/tests/write_test.rs | 2 +- storage/aptosdb/src/aptosdb_test.rs | 2 +- storage/aptosdb/src/aptossum/mod.rs | 2 +- storage/aptosdb/src/backup/backup_handler.rs | 2 +- storage/aptosdb/src/backup/mod.rs | 2 +- storage/aptosdb/src/backup/restore_handler.rs | 2 +- storage/aptosdb/src/backup/test.rs | 2 +- storage/aptosdb/src/change_set.rs | 2 +- storage/aptosdb/src/errors.rs | 2 +- storage/aptosdb/src/event_store/mod.rs | 2 +- storage/aptosdb/src/event_store/test.rs | 2 +- storage/aptosdb/src/ledger_counters/mod.rs | 2 +- storage/aptosdb/src/ledger_counters/test.rs | 2 +- storage/aptosdb/src/ledger_store/ledger_info_test.rs | 2 +- storage/aptosdb/src/ledger_store/mod.rs | 2 +- storage/aptosdb/src/ledger_store/transaction_info_test.rs | 2 +- storage/aptosdb/src/lib.rs | 2 +- storage/aptosdb/src/metrics.rs | 2 +- storage/aptosdb/src/pruner/db_pruner.rs | 2 +- storage/aptosdb/src/pruner/mod.rs | 2 +- storage/aptosdb/src/pruner/state_store/mod.rs | 2 +- storage/aptosdb/src/pruner/state_store/test.rs | 2 +- storage/aptosdb/src/pruner/transaction_store/mod.rs | 2 +- storage/aptosdb/src/pruner/transaction_store/test.rs | 2 +- storage/aptosdb/src/pruner/worker.rs | 2 +- storage/aptosdb/src/schema/epoch_by_version/mod.rs | 2 +- storage/aptosdb/src/schema/epoch_by_version/test.rs | 2 +- storage/aptosdb/src/schema/event/mod.rs | 2 +- storage/aptosdb/src/schema/event/test.rs | 2 +- storage/aptosdb/src/schema/event_accumulator/mod.rs | 2 +- storage/aptosdb/src/schema/event_accumulator/test.rs | 2 +- storage/aptosdb/src/schema/event_by_key/mod.rs | 2 +- storage/aptosdb/src/schema/event_by_key/test.rs | 2 +- storage/aptosdb/src/schema/event_by_version/mod.rs | 2 +- storage/aptosdb/src/schema/event_by_version/test.rs | 2 +- storage/aptosdb/src/schema/jellyfish_merkle_node/mod.rs | 2 +- storage/aptosdb/src/schema/jellyfish_merkle_node/test.rs | 2 +- storage/aptosdb/src/schema/ledger_counters/mod.rs | 2 +- storage/aptosdb/src/schema/ledger_counters/test.rs | 2 +- storage/aptosdb/src/schema/ledger_info/mod.rs | 2 +- storage/aptosdb/src/schema/ledger_info/test.rs | 2 +- storage/aptosdb/src/schema/mod.rs | 2 +- storage/aptosdb/src/schema/stale_node_index/mod.rs | 2 +- storage/aptosdb/src/schema/stale_node_index/test.rs | 2 +- storage/aptosdb/src/schema/transaction/mod.rs | 2 +- storage/aptosdb/src/schema/transaction/test.rs | 2 +- storage/aptosdb/src/schema/transaction_accumulator/mod.rs | 2 +- storage/aptosdb/src/schema/transaction_accumulator/test.rs | 2 +- storage/aptosdb/src/schema/transaction_by_account/mod.rs | 2 +- storage/aptosdb/src/schema/transaction_by_account/test.rs | 2 +- storage/aptosdb/src/schema/transaction_by_hash/mod.rs | 2 +- storage/aptosdb/src/schema/transaction_by_hash/test.rs | 2 +- storage/aptosdb/src/schema/transaction_info/mod.rs | 2 +- storage/aptosdb/src/schema/transaction_info/test.rs | 2 +- storage/aptosdb/src/schema/write_set/mod.rs | 2 +- storage/aptosdb/src/schema/write_set/test.rs | 2 +- storage/aptosdb/src/state_store/mod.rs | 2 +- storage/aptosdb/src/state_store/state_store_test.rs | 2 +- storage/aptosdb/src/system_store/mod.rs | 2 +- storage/aptosdb/src/system_store/test.rs | 2 +- storage/aptosdb/src/test_helper.rs | 2 +- storage/aptosdb/src/transaction_store/mod.rs | 2 +- storage/aptosdb/src/transaction_store/test.rs | 2 +- storage/aptossum/src/main.rs | 2 +- .../backup/backup-cli/src/backup_types/epoch_ending/backup.rs | 2 +- .../backup-cli/src/backup_types/epoch_ending/manifest.rs | 2 +- .../backup/backup-cli/src/backup_types/epoch_ending/mod.rs | 2 +- .../backup-cli/src/backup_types/epoch_ending/restore.rs | 2 +- .../backup/backup-cli/src/backup_types/epoch_ending/tests.rs | 2 +- storage/backup/backup-cli/src/backup_types/mod.rs | 2 +- .../backup-cli/src/backup_types/state_snapshot/backup.rs | 2 +- .../backup-cli/src/backup_types/state_snapshot/manifest.rs | 2 +- .../backup/backup-cli/src/backup_types/state_snapshot/mod.rs | 2 +- .../backup-cli/src/backup_types/state_snapshot/restore.rs | 2 +- .../backup-cli/src/backup_types/state_snapshot/tests.rs | 2 +- storage/backup/backup-cli/src/backup_types/tests.rs | 2 +- .../backup/backup-cli/src/backup_types/transaction/backup.rs | 2 +- .../backup-cli/src/backup_types/transaction/manifest.rs | 2 +- storage/backup/backup-cli/src/backup_types/transaction/mod.rs | 2 +- .../backup/backup-cli/src/backup_types/transaction/restore.rs | 2 +- .../backup/backup-cli/src/backup_types/transaction/tests.rs | 2 +- storage/backup/backup-cli/src/bin/db-backup-verify.rs | 2 +- storage/backup/backup-cli/src/bin/db-backup.rs | 2 +- storage/backup/backup-cli/src/bin/db-restore.rs | 2 +- storage/backup/backup-cli/src/bin/replay-verify.rs | 2 +- storage/backup/backup-cli/src/coordinators/backup.rs | 2 +- storage/backup/backup-cli/src/coordinators/mod.rs | 2 +- storage/backup/backup-cli/src/coordinators/replay_verify.rs | 2 +- storage/backup/backup-cli/src/coordinators/restore.rs | 2 +- storage/backup/backup-cli/src/coordinators/verify.rs | 2 +- storage/backup/backup-cli/src/lib.rs | 2 +- storage/backup/backup-cli/src/metadata/cache.rs | 2 +- storage/backup/backup-cli/src/metadata/mod.rs | 2 +- storage/backup/backup-cli/src/metadata/view.rs | 2 +- storage/backup/backup-cli/src/metrics/backup.rs | 2 +- storage/backup/backup-cli/src/metrics/metadata.rs | 2 +- storage/backup/backup-cli/src/metrics/mod.rs | 2 +- storage/backup/backup-cli/src/metrics/restore.rs | 2 +- storage/backup/backup-cli/src/metrics/verify.rs | 2 +- .../backup/backup-cli/src/storage/command_adapter/command.rs | 2 +- .../backup/backup-cli/src/storage/command_adapter/config.rs | 2 +- storage/backup/backup-cli/src/storage/command_adapter/mod.rs | 2 +- .../backup/backup-cli/src/storage/command_adapter/tests.rs | 2 +- storage/backup/backup-cli/src/storage/local_fs/mod.rs | 2 +- storage/backup/backup-cli/src/storage/local_fs/tests.rs | 2 +- storage/backup/backup-cli/src/storage/mod.rs | 2 +- storage/backup/backup-cli/src/storage/test_util.rs | 2 +- storage/backup/backup-cli/src/storage/tests.rs | 2 +- storage/backup/backup-cli/src/utils/backup_service_client.rs | 2 +- storage/backup/backup-cli/src/utils/error_notes.rs | 2 +- storage/backup/backup-cli/src/utils/mod.rs | 2 +- storage/backup/backup-cli/src/utils/read_record_bytes.rs | 2 +- storage/backup/backup-cli/src/utils/storage_ext.rs | 2 +- storage/backup/backup-cli/src/utils/stream/buffered_x.rs | 2 +- .../backup/backup-cli/src/utils/stream/futures_ordered_x.rs | 2 +- .../backup/backup-cli/src/utils/stream/futures_unordered_x.rs | 2 +- storage/backup/backup-cli/src/utils/stream/mod.rs | 2 +- storage/backup/backup-cli/src/utils/stream/try_buffered_x.rs | 2 +- storage/backup/backup-cli/src/utils/test_utils.rs | 2 +- storage/backup/backup-service/src/handlers/mod.rs | 2 +- storage/backup/backup-service/src/handlers/utils.rs | 2 +- storage/backup/backup-service/src/lib.rs | 2 +- storage/inspector/src/main.rs | 2 +- storage/jellyfish-merkle/src/iterator/iterator_test.rs | 2 +- storage/jellyfish-merkle/src/iterator/mod.rs | 2 +- storage/jellyfish-merkle/src/jellyfish_merkle_test.rs | 2 +- storage/jellyfish-merkle/src/lib.rs | 2 +- storage/jellyfish-merkle/src/metrics.rs | 2 +- storage/jellyfish-merkle/src/mock_tree_store.rs | 2 +- storage/jellyfish-merkle/src/node_type/mod.rs | 2 +- storage/jellyfish-merkle/src/node_type/node_type_test.rs | 2 +- storage/jellyfish-merkle/src/restore/mod.rs | 2 +- storage/jellyfish-merkle/src/restore/restore_test.rs | 2 +- storage/jellyfish-merkle/src/test_helper.rs | 2 +- storage/jellyfish-merkle/src/tree_cache/mod.rs | 2 +- storage/jellyfish-merkle/src/tree_cache/tree_cache_test.rs | 2 +- storage/schemadb/src/lib.rs | 2 +- storage/schemadb/src/metrics.rs | 2 +- storage/schemadb/src/schema.rs | 2 +- storage/schemadb/tests/db.rs | 2 +- storage/schemadb/tests/iterator.rs | 2 +- storage/scratchpad/benches/sparse_merkle.rs | 2 +- storage/scratchpad/src/lib.rs | 2 +- storage/scratchpad/src/sparse_merkle/batches_update.rs | 2 +- storage/scratchpad/src/sparse_merkle/metrics.rs | 2 +- storage/scratchpad/src/sparse_merkle/mod.rs | 2 +- storage/scratchpad/src/sparse_merkle/node.rs | 2 +- storage/scratchpad/src/sparse_merkle/sparse_merkle_test.rs | 2 +- storage/scratchpad/src/sparse_merkle/test_utils/mod.rs | 2 +- storage/scratchpad/src/sparse_merkle/test_utils/naive_smt.rs | 2 +- .../scratchpad/src/sparse_merkle/test_utils/proof_reader.rs | 2 +- .../src/sparse_merkle/test_utils/proptest_helpers.rs | 2 +- storage/scratchpad/src/sparse_merkle/updater.rs | 2 +- storage/scratchpad/src/sparse_merkle/utils.rs | 2 +- storage/state-view/src/lib.rs | 2 +- storage/storage-client/src/lib.rs | 2 +- storage/storage-interface/src/lib.rs | 2 +- storage/storage-interface/src/mock.rs | 2 +- storage/storage-interface/src/state_view.rs | 2 +- storage/storage-service/src/lib.rs | 2 +- storage/storage-service/src/storage_service_test.rs | 2 +- testsuite/aptos-fuzzer/fuzz/build.rs | 2 +- testsuite/aptos-fuzzer/fuzz/fuzz_targets/fuzz_runner.rs | 2 +- testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build.sh | 2 +- testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_corpus.sh | 2 +- testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_fuzzer.sh | 2 +- testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/fuzzer_builder.rs | 2 +- testsuite/aptos-fuzzer/src/bin/flamegraph.rs | 2 +- testsuite/aptos-fuzzer/src/bin/investigate.rs | 4 ++-- testsuite/aptos-fuzzer/src/commands.rs | 2 +- testsuite/aptos-fuzzer/src/coverage.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/consensus.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/executor.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/mempool.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/move_vm.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/network.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/proof.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/safety_rules.rs | 2 +- .../aptos-fuzzer/src/fuzz_targets/secure_storage_vault.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/state_sync.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/storage.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/transaction.rs | 2 +- testsuite/aptos-fuzzer/src/fuzz_targets/vm.rs | 2 +- testsuite/aptos-fuzzer/src/lib.rs | 2 +- testsuite/aptos-fuzzer/src/main.rs | 2 +- testsuite/aptos-fuzzer/tests/artifacts.rs | 2 +- testsuite/forge-cli/src/lib.rs | 2 +- testsuite/forge-cli/src/main.rs | 2 +- testsuite/forge/src/backend/k8s/cluster_helper.rs | 2 +- testsuite/forge/src/backend/k8s/mod.rs | 2 +- testsuite/forge/src/backend/k8s/node.rs | 2 +- testsuite/forge/src/backend/k8s/swarm.rs | 2 +- testsuite/forge/src/backend/local/cargo.rs | 2 +- testsuite/forge/src/backend/local/mod.rs | 2 +- testsuite/forge/src/backend/local/node.rs | 2 +- testsuite/forge/src/backend/local/swarm.rs | 2 +- testsuite/forge/src/backend/mod.rs | 2 +- testsuite/forge/src/github.rs | 2 +- testsuite/forge/src/interface/admin.rs | 2 +- testsuite/forge/src/interface/aptos.rs | 2 +- testsuite/forge/src/interface/chain_info.rs | 2 +- testsuite/forge/src/interface/factory.rs | 2 +- testsuite/forge/src/interface/mod.rs | 2 +- testsuite/forge/src/interface/network.rs | 2 +- testsuite/forge/src/interface/nft.rs | 2 +- testsuite/forge/src/interface/node.rs | 2 +- testsuite/forge/src/interface/public.rs | 2 +- testsuite/forge/src/interface/swarm.rs | 2 +- testsuite/forge/src/interface/test.rs | 2 +- testsuite/forge/src/lib.rs | 2 +- testsuite/forge/src/report.rs | 2 +- testsuite/forge/src/runner.rs | 2 +- testsuite/forge/src/slack.rs | 2 +- testsuite/generate-format/src/aptos.rs | 2 +- testsuite/generate-format/src/compute.rs | 2 +- testsuite/generate-format/src/consensus.rs | 2 +- testsuite/generate-format/src/language_storage.rs | 2 +- testsuite/generate-format/src/lib.rs | 2 +- testsuite/generate-format/src/linter.rs | 2 +- testsuite/generate-format/src/move_abi.rs | 2 +- testsuite/generate-format/src/network.rs | 2 +- testsuite/generate-format/tests/detect_format_change.rs | 2 +- testsuite/generate-format/tests/linter.rs | 2 +- testsuite/smoke-test/src/aptos/account_creation.rs | 2 +- testsuite/smoke-test/src/aptos/error_report.rs | 2 +- testsuite/smoke-test/src/aptos/gas_check.rs | 2 +- testsuite/smoke-test/src/aptos/mint_transfer.rs | 2 +- testsuite/smoke-test/src/aptos/mod.rs | 2 +- testsuite/smoke-test/src/aptos/module_publish.rs | 2 +- testsuite/smoke-test/src/client.rs | 2 +- testsuite/smoke-test/src/consensus.rs | 2 +- testsuite/smoke-test/src/dev_modules/module.move | 2 +- testsuite/smoke-test/src/dev_modules/script.move | 2 +- testsuite/smoke-test/src/full_nodes.rs | 2 +- testsuite/smoke-test/src/fullnode.rs | 2 +- testsuite/smoke-test/src/genesis.rs | 2 +- testsuite/smoke-test/src/lib.rs | 2 +- testsuite/smoke-test/src/network.rs | 2 +- testsuite/smoke-test/src/nft_transaction.rs | 2 +- testsuite/smoke-test/src/operational_tooling.rs | 2 +- testsuite/smoke-test/src/rest_api.rs | 2 +- testsuite/smoke-test/src/scripts_and_modules.rs | 2 +- testsuite/smoke-test/src/smoke_test_environment.rs | 2 +- testsuite/smoke-test/src/state_sync.rs | 2 +- testsuite/smoke-test/src/state_sync_v2.rs | 2 +- testsuite/smoke-test/src/storage.rs | 2 +- testsuite/smoke-test/src/test_utils.rs | 2 +- testsuite/smoke-test/src/transaction.rs | 2 +- testsuite/smoke-test/src/workspace_builder.rs | 2 +- testsuite/smoke-test/tests/forge-aptos.rs | 2 +- testsuite/smoke-test/tests/forge-nft.rs | 2 +- testsuite/smoke-test/tests/forge.rs | 2 +- testsuite/testcases/src/compatibility_test.rs | 2 +- testsuite/testcases/src/fixed_tps_test.rs | 2 +- testsuite/testcases/src/gas_price_test.rs | 2 +- testsuite/testcases/src/lib.rs | 2 +- testsuite/testcases/src/partial_nodes_down_test.rs | 2 +- testsuite/testcases/src/performance_test.rs | 2 +- testsuite/testcases/src/reconfiguration_test.rs | 2 +- testsuite/testcases/src/state_sync_performance.rs | 2 +- testsuite/testcases/tests/forge-local-compatibility.rs | 2 +- testsuite/testcases/tests/forge-local-performance.rs | 2 +- types/src/access_path.rs | 2 +- types/src/account_address.rs | 2 +- types/src/account_config/constants/account.rs | 2 +- types/src/account_config/constants/addresses.rs | 2 +- types/src/account_config/constants/coins.rs | 2 +- types/src/account_config/constants/designated_dealer.rs | 2 +- types/src/account_config/constants/diem.rs | 2 +- types/src/account_config/constants/event.rs | 2 +- types/src/account_config/constants/mod.rs | 2 +- types/src/account_config/events/admin_transaction.rs | 2 +- types/src/account_config/events/base_url_rotation.rs | 2 +- types/src/account_config/events/burn.rs | 2 +- types/src/account_config/events/cancel_burn.rs | 2 +- types/src/account_config/events/compliance_key_rotation.rs | 2 +- types/src/account_config/events/create_account.rs | 2 +- types/src/account_config/events/exchange_rate_update.rs | 2 +- types/src/account_config/events/force_shift.rs | 2 +- types/src/account_config/events/mint.rs | 2 +- types/src/account_config/events/mod.rs | 2 +- types/src/account_config/events/new_block.rs | 2 +- types/src/account_config/events/new_epoch.rs | 2 +- types/src/account_config/events/preburn.rs | 2 +- types/src/account_config/events/received_mint.rs | 2 +- types/src/account_config/events/received_payment.rs | 2 +- types/src/account_config/events/sent_payment.rs | 2 +- types/src/account_config/mod.rs | 2 +- types/src/account_config/resources/account.rs | 2 +- types/src/account_config/resources/balance.rs | 2 +- types/src/account_config/resources/chain_account_info.rs | 2 +- types/src/account_config/resources/chain_id.rs | 2 +- types/src/account_config/resources/core_account.rs | 2 +- types/src/account_config/resources/crsn.rs | 2 +- types/src/account_config/resources/currency_info.rs | 2 +- types/src/account_config/resources/designated_dealer.rs | 2 +- types/src/account_config/resources/dual_attestation.rs | 2 +- types/src/account_config/resources/freezing_bit.rs | 2 +- types/src/account_config/resources/key_rotation_capability.rs | 2 +- types/src/account_config/resources/mod.rs | 2 +- types/src/account_config/resources/preburn_balance.rs | 2 +- types/src/account_config/resources/preburn_queue.rs | 2 +- types/src/account_config/resources/preburn_with_metadata.rs | 2 +- types/src/account_config/resources/role.rs | 2 +- types/src/account_config/resources/vasp.rs | 2 +- types/src/account_config/resources/withdraw_capability.rs | 2 +- types/src/account_state.rs | 2 +- types/src/account_state_blob.rs | 2 +- types/src/block_info.rs | 2 +- types/src/block_metadata.rs | 2 +- types/src/chain_id.rs | 2 +- types/src/contract_event.rs | 2 +- types/src/epoch_change.rs | 2 +- types/src/epoch_state.rs | 2 +- types/src/event.rs | 2 +- types/src/ledger_info.rs | 2 +- types/src/lib.rs | 2 +- types/src/mempool_status.rs | 2 +- types/src/move_resource.rs | 2 +- types/src/network_address/mod.rs | 2 +- types/src/nft/mod.rs | 2 +- types/src/nft/tokens.rs | 2 +- types/src/nibble/mod.rs | 2 +- types/src/nibble/nibble_path/mod.rs | 2 +- types/src/nibble/nibble_path/nibble_path_test.rs | 2 +- types/src/on_chain_config/consensus_config.rs | 2 +- types/src/on_chain_config/diem_version.rs | 2 +- types/src/on_chain_config/mod.rs | 2 +- types/src/on_chain_config/parallel_execution_config.rs | 2 +- types/src/on_chain_config/registered_currencies.rs | 2 +- types/src/on_chain_config/validator_set.rs | 2 +- types/src/on_chain_config/vm_config.rs | 2 +- types/src/on_chain_config/vm_publishing_option.rs | 2 +- types/src/proof/accumulator/accumulator_test.rs | 2 +- types/src/proof/accumulator/mock.rs | 2 +- types/src/proof/accumulator/mod.rs | 2 +- types/src/proof/definition.rs | 2 +- types/src/proof/mod.rs | 2 +- types/src/proof/position/mod.rs | 2 +- types/src/proof/position/position_test.rs | 2 +- types/src/proof/proptest_proof.rs | 2 +- types/src/proof/unit_tests/mod.rs | 2 +- types/src/proof/unit_tests/proof_conversion_test.rs | 2 +- types/src/proof/unit_tests/proof_test.rs | 2 +- types/src/proptest_types.rs | 2 +- types/src/serde_helper/mod.rs | 2 +- types/src/serde_helper/vec_bytes.rs | 2 +- types/src/state_proof.rs | 2 +- types/src/test_helpers/mod.rs | 2 +- types/src/test_helpers/transaction_test_helpers.rs | 2 +- types/src/timestamp.rs | 2 +- types/src/transaction/authenticator.rs | 2 +- types/src/transaction/change_set.rs | 2 +- types/src/transaction/helpers.rs | 2 +- types/src/transaction/mod.rs | 2 +- types/src/transaction/module.rs | 2 +- types/src/transaction/script.rs | 2 +- types/src/transaction/transaction_argument.rs | 2 +- types/src/trusted_state.rs | 2 +- types/src/unit_tests/access_path_test.rs | 2 +- types/src/unit_tests/block_metadata_test.rs | 2 +- types/src/unit_tests/canonical_serialization_examples.rs | 2 +- types/src/unit_tests/code_debug_fmt_test.rs | 2 +- types/src/unit_tests/contract_event_test.rs | 2 +- types/src/unit_tests/currency_code_test.rs | 2 +- types/src/unit_tests/mod.rs | 2 +- types/src/unit_tests/transaction_test.rs | 2 +- types/src/unit_tests/trusted_state_test.rs | 2 +- types/src/unit_tests/validator_set_test.rs | 2 +- types/src/unit_tests/write_set_test.rs | 2 +- types/src/validator_config.rs | 2 +- types/src/validator_info.rs | 2 +- types/src/validator_signer.rs | 2 +- types/src/validator_verifier.rs | 2 +- types/src/vm_status.rs | 2 +- types/src/waypoint.rs | 2 +- types/src/write_set.rs | 2 +- vm-validator/src/lib.rs | 2 +- vm-validator/src/mocks/mock_vm_validator.rs | 2 +- vm-validator/src/mocks/mod.rs | 2 +- vm-validator/src/unit_tests/vm_validator_test.rs | 2 +- vm-validator/src/vm_validator.rs | 2 +- 1229 files changed, 1235 insertions(+), 1235 deletions(-) diff --git a/.github/actions/land-blocking/find-lbt-images.sh b/.github/actions/land-blocking/find-lbt-images.sh index 1a988e244fac7..62ac9bfca55f7 100755 --- a/.github/actions/land-blocking/find-lbt-images.sh +++ b/.github/actions/land-blocking/find-lbt-images.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 REPOS=(diem/validator diem/init diem/validator_tcb) diff --git a/api/Makefile b/api/Makefile index d87e0db9ec2c1..8a9f3df3e9e53 100644 --- a/api/Makefile +++ b/api/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 test: clean lint test-code-gen test-api-spec clean diff --git a/api/doc/openapi.yaml b/api/doc/openapi.yaml index 8baf7df0c8425..140c3f02e13ba 100644 --- a/api/doc/openapi.yaml +++ b/api/doc/openapi.yaml @@ -8,7 +8,7 @@ info: url: http://www.apache.org/licenses/LICENSE-2.0.html version: 0.1.0 contact: - name: The Diem Core Contributors + name: Aptos url: https://github.com/aptos-labs/aptos-core tags: - name: general diff --git a/api/src/accounts.rs b/api/src/accounts.rs index 774dfe1587848..a85e10f4ca08f 100644 --- a/api/src/accounts.rs +++ b/api/src/accounts.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/api/src/context.rs b/api/src/context.rs index 65e04f6d4e915..79a406e1774d6 100644 --- a/api/src/context.rs +++ b/api/src/context.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_api_types::{Error, LedgerInfo, MoveConverter, TransactionOnChainData}; diff --git a/api/src/events.rs b/api/src/events.rs index 00d2981b4917a..a1207b9b89dd7 100644 --- a/api/src/events.rs +++ b/api/src/events.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/api/src/failpoint.rs b/api/src/failpoint.rs index 4995037d901f3..0208827a53754 100644 --- a/api/src/failpoint.rs +++ b/api/src/failpoint.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[allow(unused_imports)] diff --git a/api/src/health_check.rs b/api/src/health_check.rs index 32e24a6142ada..6fb79da6851e9 100644 --- a/api/src/health_check.rs +++ b/api/src/health_check.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{ensure, Result}; diff --git a/api/src/index.rs b/api/src/index.rs index a746677508ef5..646eb12c18278 100644 --- a/api/src/index.rs +++ b/api/src/index.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/api/src/lib.rs b/api/src/lib.rs index 78f205eac9077..b0d2c40387338 100644 --- a/api/src/lib.rs +++ b/api/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod accounts; diff --git a/api/src/log.rs b/api/src/log.rs index c847441740f4a..76e47ef3fb404 100644 --- a/api/src/log.rs +++ b/api/src/log.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::time::Duration; diff --git a/api/src/metrics.rs b/api/src/metrics.rs index 5a6d10b70a750..19a2b8267b791 100644 --- a/api/src/metrics.rs +++ b/api/src/metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{register_histogram_vec, HistogramVec}; diff --git a/api/src/page.rs b/api/src/page.rs index 3bc812ce988e5..d74df462195dd 100644 --- a/api/src/page.rs +++ b/api/src/page.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::param::{Param, TransactionVersionParam}; diff --git a/api/src/param.rs b/api/src/param.rs index 8620bc7c67162..b9b222c978c81 100644 --- a/api/src/param.rs +++ b/api/src/param.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_api_types::{Address, Error, EventKey, MoveStructTag, TransactionId}; diff --git a/api/src/runtime.rs b/api/src/runtime.rs index 8b73a21811e45..1788b221bef76 100644 --- a/api/src/runtime.rs +++ b/api/src/runtime.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{context::Context, index}; diff --git a/api/src/tests/accounts_test.rs b/api/src/tests/accounts_test.rs index 16f3a3de6ffa5..59d2694271ba4 100644 --- a/api/src/tests/accounts_test.rs +++ b/api/src/tests/accounts_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::tests::{assert_json, find_value, new_test_context}; diff --git a/api/src/tests/events_test.rs b/api/src/tests/events_test.rs index dc4fee40d86fa..61858d9ac179b 100644 --- a/api/src/tests/events_test.rs +++ b/api/src/tests/events_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::tests::{assert_json, new_test_context}; diff --git a/api/src/tests/index_test.rs b/api/src/tests/index_test.rs index 18fb0eede7de1..94083755269b7 100644 --- a/api/src/tests/index_test.rs +++ b/api/src/tests/index_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::tests::{assert_json, new_test_context}; diff --git a/api/src/tests/invalid_post_request_test.rs b/api/src/tests/invalid_post_request_test.rs index 34898acce36b8..9490b8da110be 100644 --- a/api/src/tests/invalid_post_request_test.rs +++ b/api/src/tests/invalid_post_request_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::tests::new_test_context; diff --git a/api/src/tests/mod.rs b/api/src/tests/mod.rs index 1d57cf2c08db1..63410571c6326 100644 --- a/api/src/tests/mod.rs +++ b/api/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod accounts_test; diff --git a/api/src/tests/string_resource_test.rs b/api/src/tests/string_resource_test.rs index 5526f9b94a933..0c2e74163b363 100644 --- a/api/src/tests/string_resource_test.rs +++ b/api/src/tests/string_resource_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::tests::new_test_context; diff --git a/api/src/tests/test_context.rs b/api/src/tests/test_context.rs index 9a7955acc1b49..1d236bbc139b8 100644 --- a/api/src/tests/test_context.rs +++ b/api/src/tests/test_context.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{context::Context, index, tests::pretty}; diff --git a/api/src/tests/transactions_test.rs b/api/src/tests/transactions_test.rs index e8e5213eba2de..3189ae5952c51 100644 --- a/api/src/tests/transactions_test.rs +++ b/api/src/tests/transactions_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::tests::{assert_json, find_value, new_test_context, pretty, TestContext}; diff --git a/api/src/transactions.rs b/api/src/transactions.rs index eeb8febb8a47d..d53f8aaec9684 100644 --- a/api/src/transactions.rs +++ b/api/src/transactions.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/api/src/version.rs b/api/src/version.rs index 5bd3a041e7433..e0aede95033a5 100644 --- a/api/src/version.rs +++ b/api/src/version.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::param::LedgerVersionParam; diff --git a/api/types/src/account.rs b/api/types/src/account.rs index a92acdd86f220..244ab13248aa5 100644 --- a/api/types/src/account.rs +++ b/api/types/src/account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{HexEncodedBytes, U64}; diff --git a/api/types/src/address.rs b/api/types/src/address.rs index 296abea2716e2..a01811c048195 100644 --- a/api/types/src/address.rs +++ b/api/types/src/address.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::account_address::AccountAddress; diff --git a/api/types/src/bytecode.rs b/api/types/src/bytecode.rs index 63dd88e1599a5..7e03a8891843f 100644 --- a/api/types/src/bytecode.rs +++ b/api/types/src/bytecode.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::borrow::Borrow; diff --git a/api/types/src/convert.rs b/api/types/src/convert.rs index 71d96c825cbdd..8d556c72ef0e2 100644 --- a/api/types/src/convert.rs +++ b/api/types/src/convert.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/api/types/src/error.rs b/api/types/src/error.rs index a688f460e8119..1b511fdde0b05 100644 --- a/api/types/src/error.rs +++ b/api/types/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/api/types/src/event_key.rs b/api/types/src/event_key.rs index 80b168f1f462e..a7e8f02f430fc 100644 --- a/api/types/src/event_key.rs +++ b/api/types/src/event_key.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{de::Error as _, Deserialize, Deserializer, Serialize, Serializer}; diff --git a/api/types/src/hash.rs b/api/types/src/hash.rs index 52a632d80c6f3..187c7be0e05a2 100644 --- a/api/types/src/hash.rs +++ b/api/types/src/hash.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{de::Error as _, Deserialize, Deserializer, Serialize, Serializer}; diff --git a/api/types/src/ledger_info.rs b/api/types/src/ledger_info.rs index c80a31f07c41c..f48e55d70193d 100644 --- a/api/types/src/ledger_info.rs +++ b/api/types/src/ledger_info.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::U64; diff --git a/api/types/src/lib.rs b/api/types/src/lib.rs index 89207a0fcd0ff..958de427cc43e 100644 --- a/api/types/src/lib.rs +++ b/api/types/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod account; diff --git a/api/types/src/mime_types.rs b/api/types/src/mime_types.rs index 25906b4f38298..86009ad670ab5 100644 --- a/api/types/src/mime_types.rs +++ b/api/types/src/mime_types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub const BCS_SIGNED_TRANSACTION: &str = "application/x.diem.signed_transaction+bcs"; diff --git a/api/types/src/move_types.rs b/api/types/src/move_types.rs index 629789b1820e9..6ece9e7c0f9ac 100644 --- a/api/types/src/move_types.rs +++ b/api/types/src/move_types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Address, Bytecode}; diff --git a/api/types/src/response.rs b/api/types/src/response.rs index e021e34675be8..d701ea7ca7e40 100644 --- a/api/types/src/response.rs +++ b/api/types/src/response.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Error, LedgerInfo}; diff --git a/api/types/src/transaction.rs b/api/types/src/transaction.rs index c6e700b89ee9d..18c61cb80288c 100755 --- a/api/types/src/transaction.rs +++ b/api/types/src/transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/aptos-keygen/src/lib.rs b/aptos-move/aptos-keygen/src/lib.rs index efc6548a03ee3..29ec53d27af56 100644 --- a/aptos-move/aptos-keygen/src/lib.rs +++ b/aptos-move/aptos-keygen/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ diff --git a/aptos-move/aptos-keygen/src/main.rs b/aptos-move/aptos-keygen/src/main.rs index 16ab438d26fc5..ae77b02c7cdca 100644 --- a/aptos-move/aptos-keygen/src/main.rs +++ b/aptos-move/aptos-keygen/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::ValidCryptoMaterialStringExt; diff --git a/aptos-move/aptos-resource-viewer/src/lib.rs b/aptos-move/aptos-resource-viewer/src/lib.rs index 99bad3ba21de1..665b5ffe89b5f 100644 --- a/aptos-move/aptos-resource-viewer/src/lib.rs +++ b/aptos-move/aptos-resource-viewer/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{bail, Result}; diff --git a/aptos-move/aptos-transaction-benchmarks/benches/transaction_benches.rs b/aptos-move/aptos-transaction-benchmarks/benches/transaction_benches.rs index 643636a2664ae..a836e33475c53 100644 --- a/aptos-move/aptos-transaction-benchmarks/benches/transaction_benches.rs +++ b/aptos-move/aptos-transaction-benchmarks/benches/transaction_benches.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_benchmarks::{ diff --git a/aptos-move/aptos-transaction-benchmarks/src/lib.rs b/aptos-move/aptos-transaction-benchmarks/src/lib.rs index e3f799028cb9e..f04b485c89a1d 100644 --- a/aptos-move/aptos-transaction-benchmarks/src/lib.rs +++ b/aptos-move/aptos-transaction-benchmarks/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/aptos-transaction-benchmarks/src/measurement.rs b/aptos-move/aptos-transaction-benchmarks/src/measurement.rs index 71622e39d58eb..9cd034af3a534 100644 --- a/aptos-move/aptos-transaction-benchmarks/src/measurement.rs +++ b/aptos-move/aptos-transaction-benchmarks/src/measurement.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use criterion::Criterion; diff --git a/aptos-move/aptos-transaction-benchmarks/src/transactions.rs b/aptos-move/aptos-transaction-benchmarks/src/transactions.rs index 289f6df86598a..b427800a5c38d 100644 --- a/aptos-move/aptos-transaction-benchmarks/src/transactions.rs +++ b/aptos-move/aptos-transaction-benchmarks/src/transactions.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::HashValue; diff --git a/aptos-move/aptos-transactional-test-harness/src/diem_test_harness.rs b/aptos-move/aptos-transactional-test-harness/src/diem_test_harness.rs index a94317373b19d..30efd8601991f 100644 --- a/aptos-move/aptos-transactional-test-harness/src/diem_test_harness.rs +++ b/aptos-move/aptos-transactional-test-harness/src/diem_test_harness.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{bail, format_err, Result}; diff --git a/aptos-move/aptos-transactional-test-harness/src/lib.rs b/aptos-move/aptos-transactional-test-harness/src/lib.rs index ca2df0dcd9f88..7040fe1446602 100644 --- a/aptos-move/aptos-transactional-test-harness/src/lib.rs +++ b/aptos-move/aptos-transactional-test-harness/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod diem_test_harness; diff --git a/aptos-move/aptos-transactional-test-harness/tests/tests.rs b/aptos-move/aptos-transactional-test-harness/tests/tests.rs index 5177732ee3b81..ef78b2bd144fb 100644 --- a/aptos-move/aptos-transactional-test-harness/tests/tests.rs +++ b/aptos-move/aptos-transactional-test-harness/tests/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transactional_test_harness::run_dpn_test; diff --git a/aptos-move/aptos-validator-interface/src/lib.rs b/aptos-move/aptos-validator-interface/src/lib.rs index 7cf0a224fba8c..91805f700bbb5 100644 --- a/aptos-move/aptos-validator-interface/src/lib.rs +++ b/aptos-move/aptos-validator-interface/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod storage_interface; diff --git a/aptos-move/aptos-validator-interface/src/storage_interface.rs b/aptos-move/aptos-validator-interface/src/storage_interface.rs index 25e92f7e43600..d95bed30b029a 100644 --- a/aptos-move/aptos-validator-interface/src/storage_interface.rs +++ b/aptos-move/aptos-validator-interface/src/storage_interface.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::AptosValidatorInterface; diff --git a/aptos-move/aptos-vm/src/access_path_cache.rs b/aptos-move/aptos-vm/src/access_path_cache.rs index be8e2387e0baf..c46b8a5a1e273 100644 --- a/aptos-move/aptos-vm/src/access_path_cache.rs +++ b/aptos-move/aptos-vm/src/access_path_cache.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::access_path::AccessPath; diff --git a/aptos-move/aptos-vm/src/adapter_common.rs b/aptos-move/aptos-vm/src/adapter_common.rs index 680eacdd75f31..a979d57c2c53d 100644 --- a/aptos-move/aptos-vm/src/adapter_common.rs +++ b/aptos-move/aptos-vm/src/adapter_common.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{counters::*, data_cache::StateViewCache}; diff --git a/aptos-move/aptos-vm/src/aptos_vm.rs b/aptos-move/aptos-vm/src/aptos_vm.rs index 3392a1a2dab6a..d26bdc181dc7f 100644 --- a/aptos-move/aptos-vm/src/aptos_vm.rs +++ b/aptos-move/aptos-vm/src/aptos_vm.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/aptos-vm/src/aptos_vm_impl.rs b/aptos-move/aptos-vm/src/aptos_vm_impl.rs index f587976392136..0d91cdff3620d 100644 --- a/aptos-move/aptos-vm/src/aptos_vm_impl.rs +++ b/aptos-move/aptos-vm/src/aptos_vm_impl.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/aptos-vm/src/counters.rs b/aptos-move/aptos-vm/src/counters.rs index 0838947d8ad3b..d49cad5f86042 100644 --- a/aptos-move/aptos-vm/src/counters.rs +++ b/aptos-move/aptos-vm/src/counters.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{ diff --git a/aptos-move/aptos-vm/src/data_cache.rs b/aptos-move/aptos-vm/src/data_cache.rs index 140cd73541b66..be439505227c5 100644 --- a/aptos-move/aptos-vm/src/data_cache.rs +++ b/aptos-move/aptos-vm/src/data_cache.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Scratchpad for on chain values during the execution. diff --git a/aptos-move/aptos-vm/src/errors.rs b/aptos-move/aptos-vm/src/errors.rs index 56280fba0d37d..67a72d6e0bb48 100644 --- a/aptos-move/aptos-vm/src/errors.rs +++ b/aptos-move/aptos-vm/src/errors.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::logging::AdapterLogSchema; diff --git a/aptos-move/aptos-vm/src/foreign_contracts.rs b/aptos-move/aptos-vm/src/foreign_contracts.rs index 73cb5c862accc..8f7ce39cc5e51 100644 --- a/aptos-move/aptos-vm/src/foreign_contracts.rs +++ b/aptos-move/aptos-vm/src/foreign_contracts.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This file contains models of the vm crate's dependencies for use with MIRAI. diff --git a/aptos-move/aptos-vm/src/lib.rs b/aptos-move/aptos-vm/src/lib.rs index 2e11af84abdfa..49e9bef55cd69 100644 --- a/aptos-move/aptos-vm/src/lib.rs +++ b/aptos-move/aptos-vm/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/aptos-vm/src/logging.rs b/aptos-move/aptos-vm/src/logging.rs index 76066b68e7e5b..588b3ce1f3e02 100644 --- a/aptos-move/aptos-vm/src/logging.rs +++ b/aptos-move/aptos-vm/src/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::counters::CRITICAL_ERRORS; diff --git a/aptos-move/aptos-vm/src/natives.rs b/aptos-move/aptos-vm/src/natives.rs index 67c4d4c4f3228..0d6340f27783f 100644 --- a/aptos-move/aptos-vm/src/natives.rs +++ b/aptos-move/aptos-vm/src/natives.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::account_config::CORE_CODE_ADDRESS; diff --git a/aptos-move/aptos-vm/src/parallel_executor/mod.rs b/aptos-move/aptos-vm/src/parallel_executor/mod.rs index cc8ab49b86c28..51dfd8e29cacd 100644 --- a/aptos-move/aptos-vm/src/parallel_executor/mod.rs +++ b/aptos-move/aptos-vm/src/parallel_executor/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod read_write_set_analyzer; diff --git a/aptos-move/aptos-vm/src/parallel_executor/read_write_set_analyzer.rs b/aptos-move/aptos-vm/src/parallel_executor/read_write_set_analyzer.rs index fc509929d222a..718a26972f41d 100644 --- a/aptos-move/aptos-vm/src/parallel_executor/read_write_set_analyzer.rs +++ b/aptos-move/aptos-vm/src/parallel_executor/read_write_set_analyzer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/aptos-vm/src/parallel_executor/storage_wrapper.rs b/aptos-move/aptos-vm/src/parallel_executor/storage_wrapper.rs index 71f6a95642575..41c47fcbacf58 100644 --- a/aptos-move/aptos-vm/src/parallel_executor/storage_wrapper.rs +++ b/aptos-move/aptos-vm/src/parallel_executor/storage_wrapper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::data_cache::RemoteStorage; diff --git a/aptos-move/aptos-vm/src/parallel_executor/vm_wrapper.rs b/aptos-move/aptos-vm/src/parallel_executor/vm_wrapper.rs index fda6f42115638..61d01897d7773 100644 --- a/aptos-move/aptos-vm/src/parallel_executor/vm_wrapper.rs +++ b/aptos-move/aptos-vm/src/parallel_executor/vm_wrapper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/aptos-vm/src/read_write_set_analysis.rs b/aptos-move/aptos-vm/src/read_write_set_analysis.rs index 6e920feb7ec9a..2ce820448ae41 100644 --- a/aptos-move/aptos-vm/src/read_write_set_analysis.rs +++ b/aptos-move/aptos-vm/src/read_write_set_analysis.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/aptos-vm/src/script_to_script_function.rs b/aptos-move/aptos-vm/src/script_to_script_function.rs index 98f30d3de3ae4..facdec5945392 100644 --- a/aptos-move/aptos-vm/src/script_to_script_function.rs +++ b/aptos-move/aptos-vm/src/script_to_script_function.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Module containing remapping information between script hashes and their remapped script diff --git a/aptos-move/aptos-vm/src/system_module_names.rs b/aptos-move/aptos-vm/src/system_module_names.rs index 11cc3636641c2..76dcc8cc67736 100644 --- a/aptos-move/aptos-vm/src/system_module_names.rs +++ b/aptos-move/aptos-vm/src/system_module_names.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Names of modules, functions, and types used by Diem System. diff --git a/aptos-move/aptos-vm/src/transaction_metadata.rs b/aptos-move/aptos-vm/src/transaction_metadata.rs index b9359947467bd..98c42570a613d 100644 --- a/aptos-move/aptos-vm/src/transaction_metadata.rs +++ b/aptos-move/aptos-vm/src/transaction_metadata.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ed25519::Ed25519PrivateKey, HashValue, PrivateKey}; diff --git a/aptos-move/aptos-vm/src/unit_tests/mod.rs b/aptos-move/aptos-vm/src/unit_tests/mod.rs index 0c23bf4a34f47..63dab1ecddf10 100644 --- a/aptos-move/aptos-vm/src/unit_tests/mod.rs +++ b/aptos-move/aptos-vm/src/unit_tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod script_to_script_function_tests; diff --git a/aptos-move/aptos-vm/src/unit_tests/script_to_script_function_tests.rs b/aptos-move/aptos-vm/src/unit_tests/script_to_script_function_tests.rs index 5ac0e868f4d20..8245042fdb2e0 100644 --- a/aptos-move/aptos-vm/src/unit_tests/script_to_script_function_tests.rs +++ b/aptos-move/aptos-vm/src/unit_tests/script_to_script_function_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/df-cli/src/lib.rs b/aptos-move/df-cli/src/lib.rs index 1cc54db1297c4..b1001f74551c4 100644 --- a/aptos-move/df-cli/src/lib.rs +++ b/aptos-move/df-cli/src/lib.rs @@ -1,2 +1,2 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 diff --git a/aptos-move/df-cli/src/main.rs b/aptos-move/df-cli/src/main.rs index 289d12d807e86..f158778b4c3ae 100644 --- a/aptos-move/df-cli/src/main.rs +++ b/aptos-move/df-cli/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/aptos-move/df-cli/tests/cli_testsuite.rs b/aptos-move/df-cli/tests/cli_testsuite.rs index 7759ac9437ef6..1968042897f16 100644 --- a/aptos-move/df-cli/tests/cli_testsuite.rs +++ b/aptos-move/df-cli/tests/cli_testsuite.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use move_cli::sandbox::commands::test; diff --git a/aptos-move/e2e-tests-replay/src/lib.rs b/aptos-move/e2e-tests-replay/src/lib.rs index 1224b2c7c902f..3ef7e8ac2d898 100644 --- a/aptos-move/e2e-tests-replay/src/lib.rs +++ b/aptos-move/e2e-tests-replay/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{anyhow, bail, Result}; diff --git a/aptos-move/e2e-tests-replay/src/main.rs b/aptos-move/e2e-tests-replay/src/main.rs index 7ffa899422e32..b00f244be6cd1 100644 --- a/aptos-move/e2e-tests-replay/src/main.rs +++ b/aptos-move/e2e-tests-replay/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{bail, Result}; diff --git a/aptos-move/e2e-tests/src/account.rs b/aptos-move/e2e-tests/src/account.rs index 08dc133de9564..2b350ff3749c8 100644 --- a/aptos-move/e2e-tests/src/account.rs +++ b/aptos-move/e2e-tests/src/account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Test infrastructure for modeling Diem accounts. diff --git a/aptos-move/e2e-tests/src/account_universe.rs b/aptos-move/e2e-tests/src/account_universe.rs index e7d2c4343467a..bca6cf6b4aaf0 100644 --- a/aptos-move/e2e-tests/src/account_universe.rs +++ b/aptos-move/e2e-tests/src/account_universe.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! A model to test properties of common Diem transactions. diff --git a/aptos-move/e2e-tests/src/account_universe/bad_transaction.rs b/aptos-move/e2e-tests/src/account_universe/bad_transaction.rs index 01b6d1248dfc7..443f536fcfec5 100644 --- a/aptos-move/e2e-tests/src/account_universe/bad_transaction.rs +++ b/aptos-move/e2e-tests/src/account_universe/bad_transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/e2e-tests/src/account_universe/create_account.rs b/aptos-move/e2e-tests/src/account_universe/create_account.rs index 62eece246a8c6..9826206b6caa5 100644 --- a/aptos-move/e2e-tests/src/account_universe/create_account.rs +++ b/aptos-move/e2e-tests/src/account_universe/create_account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/e2e-tests/src/account_universe/peer_to_peer.rs b/aptos-move/e2e-tests/src/account_universe/peer_to_peer.rs index 6127ed9f80594..b66c9039e59eb 100644 --- a/aptos-move/e2e-tests/src/account_universe/peer_to_peer.rs +++ b/aptos-move/e2e-tests/src/account_universe/peer_to_peer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/e2e-tests/src/account_universe/rotate_key.rs b/aptos-move/e2e-tests/src/account_universe/rotate_key.rs index 949d79da3a8dc..11f97dd43f07e 100644 --- a/aptos-move/e2e-tests/src/account_universe/rotate_key.rs +++ b/aptos-move/e2e-tests/src/account_universe/rotate_key.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/e2e-tests/src/account_universe/universe.rs b/aptos-move/e2e-tests/src/account_universe/universe.rs index a318d2938da07..42fbe2149d3df 100644 --- a/aptos-move/e2e-tests/src/account_universe/universe.rs +++ b/aptos-move/e2e-tests/src/account_universe/universe.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Logic for account universes. This is not in the parent module to enforce privacy. diff --git a/aptos-move/e2e-tests/src/common_transactions.rs b/aptos-move/e2e-tests/src/common_transactions.rs index adb8795ab0842..e0d1065de3fcf 100644 --- a/aptos-move/e2e-tests/src/common_transactions.rs +++ b/aptos-move/e2e-tests/src/common_transactions.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Support for encoding transactions for common situations. diff --git a/aptos-move/e2e-tests/src/compile.rs b/aptos-move/e2e-tests/src/compile.rs index 2c089e98958f1..23eae44b18a45 100644 --- a/aptos-move/e2e-tests/src/compile.rs +++ b/aptos-move/e2e-tests/src/compile.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Support for compiling scripts and modules in tests. diff --git a/aptos-move/e2e-tests/src/currencies.rs b/aptos-move/e2e-tests/src/currencies.rs index 3f884f5eedc29..cd72576cc2096 100644 --- a/aptos-move/e2e-tests/src/currencies.rs +++ b/aptos-move/e2e-tests/src/currencies.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{account::Account, compile, executor::FakeExecutor}; diff --git a/aptos-move/e2e-tests/src/data_store.rs b/aptos-move/e2e-tests/src/data_store.rs index 0db1749468fa1..19f8c6a865c1c 100644 --- a/aptos-move/e2e-tests/src/data_store.rs +++ b/aptos-move/e2e-tests/src/data_store.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Support for mocking the Diem data store. diff --git a/aptos-move/e2e-tests/src/execution_strategies/basic_strategy.rs b/aptos-move/e2e-tests/src/execution_strategies/basic_strategy.rs index fdf5fcf1ae2a0..1e833324f0467 100644 --- a/aptos-move/e2e-tests/src/execution_strategies/basic_strategy.rs +++ b/aptos-move/e2e-tests/src/execution_strategies/basic_strategy.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-tests/src/execution_strategies/guided_strategy.rs b/aptos-move/e2e-tests/src/execution_strategies/guided_strategy.rs index 654e0e90bf31c..40e2b5a382850 100644 --- a/aptos-move/e2e-tests/src/execution_strategies/guided_strategy.rs +++ b/aptos-move/e2e-tests/src/execution_strategies/guided_strategy.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-tests/src/execution_strategies/mod.rs b/aptos-move/e2e-tests/src/execution_strategies/mod.rs index f36b2da0e2803..61408119009d0 100644 --- a/aptos-move/e2e-tests/src/execution_strategies/mod.rs +++ b/aptos-move/e2e-tests/src/execution_strategies/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-tests/src/execution_strategies/multi_strategy.rs b/aptos-move/e2e-tests/src/execution_strategies/multi_strategy.rs index ac33e0b8c9c12..466a1460001a1 100644 --- a/aptos-move/e2e-tests/src/execution_strategies/multi_strategy.rs +++ b/aptos-move/e2e-tests/src/execution_strategies/multi_strategy.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-tests/src/execution_strategies/random_strategy.rs b/aptos-move/e2e-tests/src/execution_strategies/random_strategy.rs index 8b9b14ff679b8..94848617ba421 100644 --- a/aptos-move/e2e-tests/src/execution_strategies/random_strategy.rs +++ b/aptos-move/e2e-tests/src/execution_strategies/random_strategy.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-tests/src/execution_strategies/types.rs b/aptos-move/e2e-tests/src/execution_strategies/types.rs index 709ae8e41e88a..452bc0b076827 100644 --- a/aptos-move/e2e-tests/src/execution_strategies/types.rs +++ b/aptos-move/e2e-tests/src/execution_strategies/types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-tests/src/executor.rs b/aptos-move/e2e-tests/src/executor.rs index 0602756631459..f5397a91641e0 100644 --- a/aptos-move/e2e-tests/src/executor.rs +++ b/aptos-move/e2e-tests/src/executor.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Support for running the VM to execute and verify transactions. diff --git a/aptos-move/e2e-tests/src/gas_costs.rs b/aptos-move/e2e-tests/src/gas_costs.rs index bedd0971df597..d6cb01bea04a0 100644 --- a/aptos-move/e2e-tests/src/gas_costs.rs +++ b/aptos-move/e2e-tests/src/gas_costs.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Gas costs for common transactions. diff --git a/aptos-move/e2e-tests/src/golden_outputs.rs b/aptos-move/e2e-tests/src/golden_outputs.rs index 4238ea46b6e7b..f14e32a4fd6e9 100644 --- a/aptos-move/e2e-tests/src/golden_outputs.rs +++ b/aptos-move/e2e-tests/src/golden_outputs.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use goldenfile::Mint; diff --git a/aptos-move/e2e-tests/src/lib.rs b/aptos-move/e2e-tests/src/lib.rs index 247eac9437f99..b2158804b3c9a 100644 --- a/aptos-move/e2e-tests/src/lib.rs +++ b/aptos-move/e2e-tests/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-tests/src/on_chain_configs.rs b/aptos-move/e2e-tests/src/on_chain_configs.rs index b2c9e6e250587..6977ee5a27b32 100644 --- a/aptos-move/e2e-tests/src/on_chain_configs.rs +++ b/aptos-move/e2e-tests/src/on_chain_configs.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{account::Account, executor::FakeExecutor}; diff --git a/aptos-move/e2e-tests/src/proptest_types.rs b/aptos-move/e2e-tests/src/proptest_types.rs index 869176e0dc4d4..d4a652109c31a 100644 --- a/aptos-move/e2e-tests/src/proptest_types.rs +++ b/aptos-move/e2e-tests/src/proptest_types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account::{xus_currency_code, Account, AccountData, AccountRoleSpecifier}; diff --git a/aptos-move/e2e-tests/src/utils.rs b/aptos-move/e2e-tests/src/utils.rs index 4bf1715bdfc3b..ae6e068f55650 100644 --- a/aptos-move/e2e-tests/src/utils.rs +++ b/aptos-move/e2e-tests/src/utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-tests/src/versioning.rs b/aptos-move/e2e-tests/src/versioning.rs index 543bf6ff8f443..7adaa29d18573 100644 --- a/aptos-move/e2e-tests/src/versioning.rs +++ b/aptos-move/e2e-tests/src/versioning.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-testsuite/src/lib.rs b/aptos-move/e2e-testsuite/src/lib.rs index 463fcc9a14ee4..9fe380fb3df87 100644 --- a/aptos-move/e2e-testsuite/src/lib.rs +++ b/aptos-move/e2e-testsuite/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[cfg(test)] diff --git a/aptos-move/e2e-testsuite/src/tests/account_limits.rs b/aptos-move/e2e-testsuite/src/tests/account_limits.rs index 8417368462e6d..d3bc645fcabd4 100644 --- a/aptos-move/e2e-testsuite/src/tests/account_limits.rs +++ b/aptos-move/e2e-testsuite/src/tests/account_limits.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-testsuite/src/tests/account_universe/bad_transaction.rs b/aptos-move/e2e-testsuite/src/tests/account_universe/bad_transaction.rs index af9b131720260..dd6f115a0e506 100644 --- a/aptos-move/e2e-testsuite/src/tests/account_universe/bad_transaction.rs +++ b/aptos-move/e2e-testsuite/src/tests/account_universe/bad_transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use language_e2e_tests::account_universe::{ diff --git a/aptos-move/e2e-testsuite/src/tests/account_universe/create_account.rs b/aptos-move/e2e-testsuite/src/tests/account_universe/create_account.rs index fb7c691f4ad4a..38e62d8f15b34 100644 --- a/aptos-move/e2e-testsuite/src/tests/account_universe/create_account.rs +++ b/aptos-move/e2e-testsuite/src/tests/account_universe/create_account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // TODO: all of these tests rely on a symmetric account creation mechanism; that is, an account of diff --git a/aptos-move/e2e-testsuite/src/tests/account_universe/mod.rs b/aptos-move/e2e-testsuite/src/tests/account_universe/mod.rs index 8eaa44950c63c..de4ee39a579c9 100644 --- a/aptos-move/e2e-testsuite/src/tests/account_universe/mod.rs +++ b/aptos-move/e2e-testsuite/src/tests/account_universe/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod bad_transaction; diff --git a/aptos-move/e2e-testsuite/src/tests/account_universe/peer_to_peer.rs b/aptos-move/e2e-testsuite/src/tests/account_universe/peer_to_peer.rs index 81463a244fbde..8d247057e294e 100644 --- a/aptos-move/e2e-testsuite/src/tests/account_universe/peer_to_peer.rs +++ b/aptos-move/e2e-testsuite/src/tests/account_universe/peer_to_peer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use language_e2e_tests::account_universe::{ diff --git a/aptos-move/e2e-testsuite/src/tests/account_universe/rotate_key.rs b/aptos-move/e2e-testsuite/src/tests/account_universe/rotate_key.rs index 9c5261580d755..b845d63931723 100644 --- a/aptos-move/e2e-testsuite/src/tests/account_universe/rotate_key.rs +++ b/aptos-move/e2e-testsuite/src/tests/account_universe/rotate_key.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use language_e2e_tests::account_universe::{ diff --git a/aptos-move/e2e-testsuite/src/tests/admin_script.rs b/aptos-move/e2e-testsuite/src/tests/admin_script.rs index a217ad7c55d9a..bc1f51f9c071c 100644 --- a/aptos-move/e2e-testsuite/src/tests/admin_script.rs +++ b/aptos-move/e2e-testsuite/src/tests/admin_script.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use language_e2e_tests::{account::Account, current_function_name, executor::FakeExecutor}; diff --git a/aptos-move/e2e-testsuite/src/tests/create_account.rs b/aptos-move/e2e-testsuite/src/tests/create_account.rs index 2d644526625a4..e766c5e5b65d4 100644 --- a/aptos-move/e2e-testsuite/src/tests/create_account.rs +++ b/aptos-move/e2e-testsuite/src/tests/create_account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{account_config, transaction::TransactionStatus, vm_status::KeptVMStatus}; diff --git a/aptos-move/e2e-testsuite/src/tests/crsn.rs b/aptos-move/e2e-testsuite/src/tests/crsn.rs index 944ca75a0142d..61315191af232 100644 --- a/aptos-move/e2e-testsuite/src/tests/crsn.rs +++ b/aptos-move/e2e-testsuite/src/tests/crsn.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_builder::stdlib; use aptos_types::{account_config, vm_status::StatusCode}; diff --git a/aptos-move/e2e-testsuite/src/tests/data_store.rs b/aptos-move/e2e-testsuite/src/tests/data_store.rs index 480f923c76a00..e92be754f65ff 100644 --- a/aptos-move/e2e-testsuite/src/tests/data_store.rs +++ b/aptos-move/e2e-testsuite/src/tests/data_store.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{ diff --git a/aptos-move/e2e-testsuite/src/tests/emergency_admin_script.rs b/aptos-move/e2e-testsuite/src/tests/emergency_admin_script.rs index cf6559320ef77..53093955ef6cc 100644 --- a/aptos-move/e2e-testsuite/src/tests/emergency_admin_script.rs +++ b/aptos-move/e2e-testsuite/src/tests/emergency_admin_script.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_builder::stdlib::*; diff --git a/aptos-move/e2e-testsuite/src/tests/execution_strategies.rs b/aptos-move/e2e-testsuite/src/tests/execution_strategies.rs index 226241c2d17b1..5d506b1c331bb 100644 --- a/aptos-move/e2e-testsuite/src/tests/execution_strategies.rs +++ b/aptos-move/e2e-testsuite/src/tests/execution_strategies.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{account_config, transaction::SignedTransaction, vm_status::VMStatus}; diff --git a/aptos-move/e2e-testsuite/src/tests/experimental.rs b/aptos-move/e2e-testsuite/src/tests/experimental.rs index 8a71bdfc83589..a6977f3cce6e5 100644 --- a/aptos-move/e2e-testsuite/src/tests/experimental.rs +++ b/aptos-move/e2e-testsuite/src/tests/experimental.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_builder::experimental_stdlib::encode_create_account_script_function; diff --git a/aptos-move/e2e-testsuite/src/tests/failed_transaction_tests.rs b/aptos-move/e2e-testsuite/src/tests/failed_transaction_tests.rs index 58afecfe53b2e..19cfbaf91a2bb 100644 --- a/aptos-move/e2e-testsuite/src/tests/failed_transaction_tests.rs +++ b/aptos-move/e2e-testsuite/src/tests/failed_transaction_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_state_view::StateView; diff --git a/aptos-move/e2e-testsuite/src/tests/genesis.rs b/aptos-move/e2e-testsuite/src/tests/genesis.rs index 0a8fa734e28a5..2ad76a535d93a 100644 --- a/aptos-move/e2e-testsuite/src/tests/genesis.rs +++ b/aptos-move/e2e-testsuite/src/tests/genesis.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::transaction::{Transaction, TransactionStatus, WriteSetPayload}; diff --git a/aptos-move/e2e-testsuite/src/tests/genesis_initializations.rs b/aptos-move/e2e-testsuite/src/tests/genesis_initializations.rs index 9cbfb94509526..a392635ace32c 100644 --- a/aptos-move/e2e-testsuite/src/tests/genesis_initializations.rs +++ b/aptos-move/e2e-testsuite/src/tests/genesis_initializations.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::account_config; diff --git a/aptos-move/e2e-testsuite/src/tests/mint.rs b/aptos-move/e2e-testsuite/src/tests/mint.rs index f9674399b7d80..272c40b5127ae 100644 --- a/aptos-move/e2e-testsuite/src/tests/mint.rs +++ b/aptos-move/e2e-testsuite/src/tests/mint.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_builder::stdlib::*; diff --git a/aptos-move/e2e-testsuite/src/tests/mod.rs b/aptos-move/e2e-testsuite/src/tests/mod.rs index 693a7a90d6c94..de7608f229493 100644 --- a/aptos-move/e2e-testsuite/src/tests/mod.rs +++ b/aptos-move/e2e-testsuite/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Test module. diff --git a/aptos-move/e2e-testsuite/src/tests/module_publishing.rs b/aptos-move/e2e-testsuite/src/tests/module_publishing.rs index 3cda42985ba42..9a788a9441208 100644 --- a/aptos-move/e2e-testsuite/src/tests/module_publishing.rs +++ b/aptos-move/e2e-testsuite/src/tests/module_publishing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{ diff --git a/aptos-move/e2e-testsuite/src/tests/multi_agent.rs b/aptos-move/e2e-testsuite/src/tests/multi_agent.rs index 0fb870316d641..87a5221a32177 100644 --- a/aptos-move/e2e-testsuite/src/tests/multi_agent.rs +++ b/aptos-move/e2e-testsuite/src/tests/multi_agent.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Tests for multi-agent transactions. diff --git a/aptos-move/e2e-testsuite/src/tests/on_chain_configs.rs b/aptos-move/e2e-testsuite/src/tests/on_chain_configs.rs index bacc3725aabff..7d53adca0ee18 100644 --- a/aptos-move/e2e-testsuite/src/tests/on_chain_configs.rs +++ b/aptos-move/e2e-testsuite/src/tests/on_chain_configs.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_builder::stdlib::encode_update_dual_attestation_limit_script; diff --git a/aptos-move/e2e-testsuite/src/tests/parallel_execution.rs b/aptos-move/e2e-testsuite/src/tests/parallel_execution.rs index c672bc4403ff7..ac0d487d3c104 100644 --- a/aptos-move/e2e-testsuite/src/tests/parallel_execution.rs +++ b/aptos-move/e2e-testsuite/src/tests/parallel_execution.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::tests::peer_to_peer::{check_and_apply_transfer_output, create_cyclic_transfers}; diff --git a/aptos-move/e2e-testsuite/src/tests/peer_to_peer.rs b/aptos-move/e2e-testsuite/src/tests/peer_to_peer.rs index 0c6ab202b1952..049182a25d94c 100644 --- a/aptos-move/e2e-testsuite/src/tests/peer_to_peer.rs +++ b/aptos-move/e2e-testsuite/src/tests/peer_to_peer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{ diff --git a/aptos-move/e2e-testsuite/src/tests/rotate_key.rs b/aptos-move/e2e-testsuite/src/tests/rotate_key.rs index eef52a4f2ab5f..ad09875460f64 100644 --- a/aptos-move/e2e-testsuite/src/tests/rotate_key.rs +++ b/aptos-move/e2e-testsuite/src/tests/rotate_key.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ diff --git a/aptos-move/e2e-testsuite/src/tests/scripts.rs b/aptos-move/e2e-testsuite/src/tests/scripts.rs index 893ea71a333aa..616451af88f18 100644 --- a/aptos-move/e2e-testsuite/src/tests/scripts.rs +++ b/aptos-move/e2e-testsuite/src/tests/scripts.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{ diff --git a/aptos-move/e2e-testsuite/src/tests/transaction_builder.rs b/aptos-move/e2e-testsuite/src/tests/transaction_builder.rs index b9514dcd7127c..cb21432bd2838 100644 --- a/aptos-move/e2e-testsuite/src/tests/transaction_builder.rs +++ b/aptos-move/e2e-testsuite/src/tests/transaction_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Tests for all of the script encoding functions in language/transaction_builder/lib.rs. diff --git a/aptos-move/e2e-testsuite/src/tests/transaction_fees.rs b/aptos-move/e2e-testsuite/src/tests/transaction_fees.rs index 0ff4280ba7a9c..59779f16731b8 100644 --- a/aptos-move/e2e-testsuite/src/tests/transaction_fees.rs +++ b/aptos-move/e2e-testsuite/src/tests/transaction_fees.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ed25519::Ed25519PrivateKey, PrivateKey, Uniform}; diff --git a/aptos-move/e2e-testsuite/src/tests/transaction_fuzzer.rs b/aptos-move/e2e-testsuite/src/tests/transaction_fuzzer.rs index 878abc17ddb6b..947e7efa79e59 100644 --- a/aptos-move/e2e-testsuite/src/tests/transaction_fuzzer.rs +++ b/aptos-move/e2e-testsuite/src/tests/transaction_fuzzer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_builder::stdlib::{encode_create_parent_vasp_account_script, ScriptCall}; diff --git a/aptos-move/e2e-testsuite/src/tests/validator_set_management.rs b/aptos-move/e2e-testsuite/src/tests/validator_set_management.rs index c4a588b89b1c2..0705532c6e98c 100644 --- a/aptos-move/e2e-testsuite/src/tests/validator_set_management.rs +++ b/aptos-move/e2e-testsuite/src/tests/validator_set_management.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_builder::stdlib::*; diff --git a/aptos-move/e2e-testsuite/src/tests/vasps.rs b/aptos-move/e2e-testsuite/src/tests/vasps.rs index 41dd00e7753ef..d07e34d813d7e 100644 --- a/aptos-move/e2e-testsuite/src/tests/vasps.rs +++ b/aptos-move/e2e-testsuite/src/tests/vasps.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/e2e-testsuite/src/tests/verify_txn.rs b/aptos-move/e2e-testsuite/src/tests/verify_txn.rs index e195c406f62e3..27be3f3129a13 100644 --- a/aptos-move/e2e-testsuite/src/tests/verify_txn.rs +++ b/aptos-move/e2e-testsuite/src/tests/verify_txn.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ diff --git a/aptos-move/e2e-testsuite/src/tests/write_set.rs b/aptos-move/e2e-testsuite/src/tests/write_set.rs index 126c9184f1324..4451412459891 100644 --- a/aptos-move/e2e-testsuite/src/tests/write_set.rs +++ b/aptos-move/e2e-testsuite/src/tests/write_set.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ed25519::Ed25519PrivateKey, PrivateKey, Uniform}; diff --git a/aptos-move/e2e-testsuite/src/tests/writeset_builder.rs b/aptos-move/e2e-testsuite/src/tests/writeset_builder.rs index 8225bfc29cdbe..87dea30e596fd 100644 --- a/aptos-move/e2e-testsuite/src/tests/writeset_builder.rs +++ b/aptos-move/e2e-testsuite/src/tests/writeset_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{ access_path::AccessPath, diff --git a/aptos-move/framework/DPN/releases/artifacts/current/transaction_script_builder.rs b/aptos-move/framework/DPN/releases/artifacts/current/transaction_script_builder.rs index 1436a7f1cd5f7..80158a4553da8 100644 --- a/aptos-move/framework/DPN/releases/artifacts/current/transaction_script_builder.rs +++ b/aptos-move/framework/DPN/releases/artifacts/current/transaction_script_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // This file was generated. Do not modify! diff --git a/aptos-move/framework/DPN/releases/src/legacy/mod.rs b/aptos-move/framework/DPN/releases/src/legacy/mod.rs index 5e3d8ba8e841b..b874f0aea79a5 100644 --- a/aptos-move/framework/DPN/releases/src/legacy/mod.rs +++ b/aptos-move/framework/DPN/releases/src/legacy/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod transaction_scripts; diff --git a/aptos-move/framework/DPN/releases/src/legacy/transaction_scripts.rs b/aptos-move/framework/DPN/releases/src/legacy/transaction_scripts.rs index 41139e8ff7ab1..6a31992172461 100644 --- a/aptos-move/framework/DPN/releases/src/legacy/transaction_scripts.rs +++ b/aptos-move/framework/DPN/releases/src/legacy/transaction_scripts.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Rust representation of a Move transaction script that can be executed on the Diem blockchain. diff --git a/aptos-move/framework/DPN/releases/src/lib.rs b/aptos-move/framework/DPN/releases/src/lib.rs index ae9ff88cdb474..1f96ae58ef9f7 100644 --- a/aptos-move/framework/DPN/releases/src/lib.rs +++ b/aptos-move/framework/DPN/releases/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/aptos-move/framework/DPN/releases/src/tests.rs b/aptos-move/framework/DPN/releases/src/tests.rs index 0debdefce3f07..0d83741a89251 100644 --- a/aptos-move/framework/DPN/releases/src/tests.rs +++ b/aptos-move/framework/DPN/releases/src/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use move_binary_format::CompiledModule; diff --git a/aptos-move/framework/aptos-framework/releases/artifacts/current/transaction_script_builder.rs b/aptos-move/framework/aptos-framework/releases/artifacts/current/transaction_script_builder.rs index 45639b49cb65a..5fd11fd9b614a 100644 --- a/aptos-move/framework/aptos-framework/releases/artifacts/current/transaction_script_builder.rs +++ b/aptos-move/framework/aptos-framework/releases/artifacts/current/transaction_script_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // This file was generated. Do not modify! diff --git a/aptos-move/framework/aptos-framework/releases/src/lib.rs b/aptos-move/framework/aptos-framework/releases/src/lib.rs index 0d1c24f7588a4..e0e5b8c0eb9a1 100644 --- a/aptos-move/framework/aptos-framework/releases/src/lib.rs +++ b/aptos-move/framework/aptos-framework/releases/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/aptos-move/framework/experimental/DPN/releases/artifacts/current/transaction_script_builder.rs b/aptos-move/framework/experimental/DPN/releases/artifacts/current/transaction_script_builder.rs index d5427dcb6ca15..f7a2d00d1bab4 100644 --- a/aptos-move/framework/experimental/DPN/releases/artifacts/current/transaction_script_builder.rs +++ b/aptos-move/framework/experimental/DPN/releases/artifacts/current/transaction_script_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // This file was generated. Do not modify! diff --git a/aptos-move/framework/experimental/releases/artifacts/current/transaction_script_builder.rs b/aptos-move/framework/experimental/releases/artifacts/current/transaction_script_builder.rs index 3896ddbb196a4..9aa7cbf7ca80f 100644 --- a/aptos-move/framework/experimental/releases/artifacts/current/transaction_script_builder.rs +++ b/aptos-move/framework/experimental/releases/artifacts/current/transaction_script_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // This file was generated. Do not modify! diff --git a/aptos-move/framework/experimental/releases/src/lib.rs b/aptos-move/framework/experimental/releases/src/lib.rs index d16676d5b27d5..e09ffd23433b0 100644 --- a/aptos-move/framework/experimental/releases/src/lib.rs +++ b/aptos-move/framework/experimental/releases/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/aptos-move/framework/releases/src/lib.rs b/aptos-move/framework/releases/src/lib.rs index 17968fa41933e..c3a5fbe84038f 100644 --- a/aptos-move/framework/releases/src/lib.rs +++ b/aptos-move/framework/releases/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/aptos-move/framework/src/lib.rs b/aptos-move/framework/src/lib.rs index 2ec88f2923c04..5013ffd0f091d 100644 --- a/aptos-move/framework/src/lib.rs +++ b/aptos-move/framework/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/framework/src/main.rs b/aptos-move/framework/src/main.rs index e43b7ab0baefb..32f6751fd90ba 100644 --- a/aptos-move/framework/src/main.rs +++ b/aptos-move/framework/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/framework/src/natives/account.rs b/aptos-move/framework/src/natives/account.rs index fdea3c2449c7e..00aa51f63e085 100644 --- a/aptos-move/framework/src/natives/account.rs +++ b/aptos-move/framework/src/natives/account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use move_binary_format::errors::PartialVMResult; diff --git a/aptos-move/framework/src/natives/mod.rs b/aptos-move/framework/src/natives/mod.rs index 34a431c8502a0..8cd250dcc64a4 100644 --- a/aptos-move/framework/src/natives/mod.rs +++ b/aptos-move/framework/src/natives/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod account; diff --git a/aptos-move/framework/src/natives/signature.rs b/aptos-move/framework/src/natives/signature.rs index 7a85ac5b91963..b7007ffb9f791 100644 --- a/aptos-move/framework/src/natives/signature.rs +++ b/aptos-move/framework/src/natives/signature.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ed25519, traits::*}; diff --git a/aptos-move/framework/src/release.rs b/aptos-move/framework/src/release.rs index 9acb7cf3a1045..e2a7408172c94 100644 --- a/aptos-move/framework/src/release.rs +++ b/aptos-move/framework/src/release.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use move_binary_format::{compatibility::Compatibility, normalized::Module, CompiledModule}; @@ -21,7 +21,7 @@ use structopt::*; #[structopt( name = "Diem Frameworks", about = "Release CLI for Diem frameworks", - author = "The Diem Core Contributors", + author = "Aptos", rename_all = "kebab-case" )] pub struct ReleaseOptions { diff --git a/aptos-move/framework/tests/aptos_transactional_tests.rs b/aptos-move/framework/tests/aptos_transactional_tests.rs index a6cd6c432b6ed..389df3b4521f3 100644 --- a/aptos-move/framework/tests/aptos_transactional_tests.rs +++ b/aptos-move/framework/tests/aptos_transactional_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 fn main() {} diff --git a/aptos-move/framework/tests/dpn_transactional_tests.rs b/aptos-move/framework/tests/dpn_transactional_tests.rs index cad17905490fb..b163f01233b29 100644 --- a/aptos-move/framework/tests/dpn_transactional_tests.rs +++ b/aptos-move/framework/tests/dpn_transactional_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transactional_test_harness::run_dpn_test; diff --git a/aptos-move/framework/tests/generated_files.rs b/aptos-move/framework/tests/generated_files.rs index dc081f3757a48..eee1ffcc8fcc1 100644 --- a/aptos-move/framework/tests/generated_files.rs +++ b/aptos-move/framework/tests/generated_files.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{anyhow, Result}; diff --git a/aptos-move/framework/tests/move_unit_test.rs b/aptos-move/framework/tests/move_unit_test.rs index 13e16dbc4b525..692d2c0d5ffa1 100644 --- a/aptos-move/framework/tests/move_unit_test.rs +++ b/aptos-move/framework/tests/move_unit_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_vm::natives::aptos_natives; diff --git a/aptos-move/framework/tests/move_verification_test.rs b/aptos-move/framework/tests/move_verification_test.rs index e87654136f144..c094bd4c1b2f7 100644 --- a/aptos-move/framework/tests/move_verification_test.rs +++ b/aptos-move/framework/tests/move_verification_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // use move_cli::package::prover::ProverTest; diff --git a/aptos-move/genesis-viewer/src/main.rs b/aptos-move/genesis-viewer/src/main.rs index 9f4f8f64da924..0974f24d35ef3 100644 --- a/aptos-move/genesis-viewer/src/main.rs +++ b/aptos-move/genesis-viewer/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_resource_viewer::DiemValueAnnotator; diff --git a/aptos-move/move-examples/src/main.rs b/aptos-move/move-examples/src/main.rs index dfb60438aad48..f7a73cce092ab 100644 --- a/aptos-move/move-examples/src/main.rs +++ b/aptos-move/move-examples/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use structopt::StructOpt; diff --git a/aptos-move/move-examples/tests/move_unit_tests.rs b/aptos-move/move-examples/tests/move_unit_tests.rs index 9d2fa9df80f68..ac21069d72387 100644 --- a/aptos-move/move-examples/tests/move_unit_tests.rs +++ b/aptos-move/move-examples/tests/move_unit_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_vm::natives::aptos_natives; diff --git a/aptos-move/mvhashmap/src/lib.rs b/aptos-move/mvhashmap/src/lib.rs index 31f23f28b8ee5..62339f1fe44f4 100644 --- a/aptos-move/mvhashmap/src/lib.rs +++ b/aptos-move/mvhashmap/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crossbeam::utils::CachePadded; diff --git a/aptos-move/mvhashmap/src/unit_tests/mod.rs b/aptos-move/mvhashmap/src/unit_tests/mod.rs index 40c3ff2acdb25..5b6bc2b9178c7 100644 --- a/aptos-move/mvhashmap/src/unit_tests/mod.rs +++ b/aptos-move/mvhashmap/src/unit_tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/aptos-move/mvhashmap/src/unit_tests/proptest_types.rs b/aptos-move/mvhashmap/src/unit_tests/proptest_types.rs index 0bebee67fa13d..8de62d05ac6bc 100644 --- a/aptos-move/mvhashmap/src/unit_tests/proptest_types.rs +++ b/aptos-move/mvhashmap/src/unit_tests/proptest_types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::MVHashMap; diff --git a/aptos-move/parallel-executor/benches/scheduler_benches.rs b/aptos-move/parallel-executor/benches/scheduler_benches.rs index fa56a3d3cf737..fc6212f027d75 100644 --- a/aptos-move/parallel-executor/benches/scheduler_benches.rs +++ b/aptos-move/parallel-executor/benches/scheduler_benches.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use criterion::{criterion_group, criterion_main, Criterion}; diff --git a/aptos-move/parallel-executor/src/errors.rs b/aptos-move/parallel-executor/src/errors.rs index 6126d2505022f..336c121cdfbd8 100644 --- a/aptos-move/parallel-executor/src/errors.rs +++ b/aptos-move/parallel-executor/src/errors.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[derive(Debug)] diff --git a/aptos-move/parallel-executor/src/executor.rs b/aptos-move/parallel-executor/src/executor.rs index 0f117bc1cbf5c..6ae245ff770ac 100644 --- a/aptos-move/parallel-executor/src/executor.rs +++ b/aptos-move/parallel-executor/src/executor.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/parallel-executor/src/lib.rs b/aptos-move/parallel-executor/src/lib.rs index adc72db1bcd7b..ff2e7f3baa6b1 100644 --- a/aptos-move/parallel-executor/src/lib.rs +++ b/aptos-move/parallel-executor/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod errors; diff --git a/aptos-move/parallel-executor/src/outcome_array.rs b/aptos-move/parallel-executor/src/outcome_array.rs index 25a484cd31302..16d6a00d3c687 100644 --- a/aptos-move/parallel-executor/src/outcome_array.rs +++ b/aptos-move/parallel-executor/src/outcome_array.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/parallel-executor/src/proptest_types/bencher.rs b/aptos-move/parallel-executor/src/proptest_types/bencher.rs index b2b3e6e6e077a..1ff3b0999969d 100644 --- a/aptos-move/parallel-executor/src/proptest_types/bencher.rs +++ b/aptos-move/parallel-executor/src/proptest_types/bencher.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/parallel-executor/src/proptest_types/mod.rs b/aptos-move/parallel-executor/src/proptest_types/mod.rs index fbd037b31b663..a273722e0da6a 100644 --- a/aptos-move/parallel-executor/src/proptest_types/mod.rs +++ b/aptos-move/parallel-executor/src/proptest_types/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod bencher; diff --git a/aptos-move/parallel-executor/src/proptest_types/tests.rs b/aptos-move/parallel-executor/src/proptest_types/tests.rs index b537fae308dad..7bf35d073d85f 100644 --- a/aptos-move/parallel-executor/src/proptest_types/tests.rs +++ b/aptos-move/parallel-executor/src/proptest_types/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/parallel-executor/src/proptest_types/types.rs b/aptos-move/parallel-executor/src/proptest_types/types.rs index 04b9222b4d3d7..9259aa2069fe9 100644 --- a/aptos-move/parallel-executor/src/proptest_types/types.rs +++ b/aptos-move/parallel-executor/src/proptest_types/types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/parallel-executor/src/scheduler.rs b/aptos-move/parallel-executor/src/scheduler.rs index ac58511490f2f..3147c4ea35cf7 100644 --- a/aptos-move/parallel-executor/src/scheduler.rs +++ b/aptos-move/parallel-executor/src/scheduler.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_infallible::Mutex; diff --git a/aptos-move/parallel-executor/src/task.rs b/aptos-move/parallel-executor/src/task.rs index e2af1c569fdca..5e7ee5c99d994 100644 --- a/aptos-move/parallel-executor/src/task.rs +++ b/aptos-move/parallel-executor/src/task.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::executor::MVHashMapView; diff --git a/aptos-move/parallel-executor/src/txn_last_input_output.rs b/aptos-move/parallel-executor/src/txn_last_input_output.rs index ba0e1045a57cd..5b2e31eb4e3a4 100644 --- a/aptos-move/parallel-executor/src/txn_last_input_output.rs +++ b/aptos-move/parallel-executor/src/txn_last_input_output.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/parallel-executor/src/unit_tests/mod.rs b/aptos-move/parallel-executor/src/unit_tests/mod.rs index c641bc9322adc..7aaa3dd8c048a 100644 --- a/aptos-move/parallel-executor/src/unit_tests/mod.rs +++ b/aptos-move/parallel-executor/src/unit_tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/aptos-move/transaction-builder-generator/examples/cpp/stdlib_demo.cpp b/aptos-move/transaction-builder-generator/examples/cpp/stdlib_demo.cpp index 2d1c7086752cc..aa6b0d3364564 100644 --- a/aptos-move/transaction-builder-generator/examples/cpp/stdlib_demo.cpp +++ b/aptos-move/transaction-builder-generator/examples/cpp/stdlib_demo.cpp @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #include "aptos_framework.hpp" diff --git a/aptos-move/transaction-builder-generator/examples/csharp/custom_aptos_code/AccountAddress.cs b/aptos-move/transaction-builder-generator/examples/csharp/custom_aptos_code/AccountAddress.cs index 20ed69f4d7e56..9846bd2107d7a 100644 --- a/aptos-move/transaction-builder-generator/examples/csharp/custom_aptos_code/AccountAddress.cs +++ b/aptos-move/transaction-builder-generator/examples/csharp/custom_aptos_code/AccountAddress.cs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 const int LENGTH = 16; diff --git a/aptos-move/transaction-builder-generator/examples/golang/stdlib_demo.go b/aptos-move/transaction-builder-generator/examples/golang/stdlib_demo.go index 72f94d0e435a4..4595ad4fc00c2 100644 --- a/aptos-move/transaction-builder-generator/examples/golang/stdlib_demo.go +++ b/aptos-move/transaction-builder-generator/examples/golang/stdlib_demo.go @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 package main diff --git a/aptos-move/transaction-builder-generator/examples/java/StdlibDemo.java b/aptos-move/transaction-builder-generator/examples/java/StdlibDemo.java index fcc437049dc27..da088a4bc8bf0 100644 --- a/aptos-move/transaction-builder-generator/examples/java/StdlibDemo.java +++ b/aptos-move/transaction-builder-generator/examples/java/StdlibDemo.java @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 import java.util.Arrays; diff --git a/aptos-move/transaction-builder-generator/examples/java/custom_aptos_code/AccountAddress.java b/aptos-move/transaction-builder-generator/examples/java/custom_aptos_code/AccountAddress.java index a8f0a35fb9c5f..c46d0989c36f8 100644 --- a/aptos-move/transaction-builder-generator/examples/java/custom_aptos_code/AccountAddress.java +++ b/aptos-move/transaction-builder-generator/examples/java/custom_aptos_code/AccountAddress.java @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 static final int LENGTH = 16; diff --git a/aptos-move/transaction-builder-generator/examples/python3/custom_aptos_code/AccountAddress.py b/aptos-move/transaction-builder-generator/examples/python3/custom_aptos_code/AccountAddress.py index 1943ecb7e54a9..8a0e4f03ead20 100644 --- a/aptos-move/transaction-builder-generator/examples/python3/custom_aptos_code/AccountAddress.py +++ b/aptos-move/transaction-builder-generator/examples/python3/custom_aptos_code/AccountAddress.py @@ -1,4 +1,4 @@ -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 LENGTH = 16 # type: int diff --git a/aptos-move/transaction-builder-generator/examples/python3/stdlib_demo.py b/aptos-move/transaction-builder-generator/examples/python3/stdlib_demo.py index 0bdb0553f6828..f351b6891c7d4 100644 --- a/aptos-move/transaction-builder-generator/examples/python3/stdlib_demo.py +++ b/aptos-move/transaction-builder-generator/examples/python3/stdlib_demo.py @@ -1,4 +1,4 @@ -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # pyre-strict diff --git a/aptos-move/transaction-builder-generator/examples/rust/script_fun_demo.rs b/aptos-move/transaction-builder-generator/examples/rust/script_fun_demo.rs index 8f616a537ed21..5c34edb85c672 100644 --- a/aptos-move/transaction-builder-generator/examples/rust/script_fun_demo.rs +++ b/aptos-move/transaction-builder-generator/examples/rust/script_fun_demo.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{AccountAddress, Identifier, StructTag, TypeTag}; diff --git a/aptos-move/transaction-builder-generator/examples/rust/tx_script_demo.rs b/aptos-move/transaction-builder-generator/examples/rust/tx_script_demo.rs index e2ace84166f45..1b11fdb7ce09b 100644 --- a/aptos-move/transaction-builder-generator/examples/rust/tx_script_demo.rs +++ b/aptos-move/transaction-builder-generator/examples/rust/tx_script_demo.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{AccountAddress, Identifier, StructTag, TypeTag}; diff --git a/aptos-move/transaction-builder-generator/examples/typescript/mod.ts b/aptos-move/transaction-builder-generator/examples/typescript/mod.ts index 1c17faa10013d..256986e19463e 100644 --- a/aptos-move/transaction-builder-generator/examples/typescript/mod.ts +++ b/aptos-move/transaction-builder-generator/examples/typescript/mod.ts @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 import * as AptosStdlib from "./aptosStdlib/mod.ts"; diff --git a/aptos-move/transaction-builder-generator/src/common.rs b/aptos-move/transaction-builder-generator/src/common.rs index dfccc922b1d9b..9df7e1929ca51 100644 --- a/aptos-move/transaction-builder-generator/src/common.rs +++ b/aptos-move/transaction-builder-generator/src/common.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::transaction::{ diff --git a/aptos-move/transaction-builder-generator/src/cpp.rs b/aptos-move/transaction-builder-generator/src/cpp.rs index 1c46f23e33aee..3db7bfcf95fd7 100644 --- a/aptos-move/transaction-builder-generator/src/cpp.rs +++ b/aptos-move/transaction-builder-generator/src/cpp.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common; diff --git a/aptos-move/transaction-builder-generator/src/csharp.rs b/aptos-move/transaction-builder-generator/src/csharp.rs index 5aea29d47b1f2..3a02c0a1d3a75 100644 --- a/aptos-move/transaction-builder-generator/src/csharp.rs +++ b/aptos-move/transaction-builder-generator/src/csharp.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common; diff --git a/aptos-move/transaction-builder-generator/src/generate.rs b/aptos-move/transaction-builder-generator/src/generate.rs index 0319c3dde2204..c96b8edda2501 100644 --- a/aptos-move/transaction-builder-generator/src/generate.rs +++ b/aptos-move/transaction-builder-generator/src/generate.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! # Code generator for Move script builders diff --git a/aptos-move/transaction-builder-generator/src/golang.rs b/aptos-move/transaction-builder-generator/src/golang.rs index 41db9c32c5e6c..720de86e46905 100644 --- a/aptos-move/transaction-builder-generator/src/golang.rs +++ b/aptos-move/transaction-builder-generator/src/golang.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common; diff --git a/aptos-move/transaction-builder-generator/src/java.rs b/aptos-move/transaction-builder-generator/src/java.rs index abcbf468db5d2..e6956764c9b6e 100644 --- a/aptos-move/transaction-builder-generator/src/java.rs +++ b/aptos-move/transaction-builder-generator/src/java.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common; diff --git a/aptos-move/transaction-builder-generator/src/lib.rs b/aptos-move/transaction-builder-generator/src/lib.rs index 6b3fcb162a225..bbc74e2e9aee3 100644 --- a/aptos-move/transaction-builder-generator/src/lib.rs +++ b/aptos-move/transaction-builder-generator/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::transaction::ScriptABI; diff --git a/aptos-move/transaction-builder-generator/src/python3.rs b/aptos-move/transaction-builder-generator/src/python3.rs index f10a6e202666d..110f14fc40ca9 100644 --- a/aptos-move/transaction-builder-generator/src/python3.rs +++ b/aptos-move/transaction-builder-generator/src/python3.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common; diff --git a/aptos-move/transaction-builder-generator/src/rust.rs b/aptos-move/transaction-builder-generator/src/rust.rs index 5af5665f8368b..03258b965fe01 100644 --- a/aptos-move/transaction-builder-generator/src/rust.rs +++ b/aptos-move/transaction-builder-generator/src/rust.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common; @@ -110,7 +110,7 @@ where writeln!( self.out, r#" -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // This file was generated. Do not modify! diff --git a/aptos-move/transaction-builder-generator/src/swift.rs b/aptos-move/transaction-builder-generator/src/swift.rs index e64bd83ae7d33..b56f088be839e 100644 --- a/aptos-move/transaction-builder-generator/src/swift.rs +++ b/aptos-move/transaction-builder-generator/src/swift.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common; diff --git a/aptos-move/transaction-builder-generator/src/typescript.rs b/aptos-move/transaction-builder-generator/src/typescript.rs index 7153e4735c81d..55818559c6a6b 100644 --- a/aptos-move/transaction-builder-generator/src/typescript.rs +++ b/aptos-move/transaction-builder-generator/src/typescript.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common; diff --git a/aptos-move/transaction-builder-generator/tests/cli.rs b/aptos-move/transaction-builder-generator/tests/cli.rs index f9b6ff00930bd..b526e247c2cff 100644 --- a/aptos-move/transaction-builder-generator/tests/cli.rs +++ b/aptos-move/transaction-builder-generator/tests/cli.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::{io::Write, process::Command}; diff --git a/aptos-move/transaction-builder-generator/tests/generation.rs b/aptos-move/transaction-builder-generator/tests/generation.rs index 7071904f5536b..109bad98678c4 100644 --- a/aptos-move/transaction-builder-generator/tests/generation.rs +++ b/aptos-move/transaction-builder-generator/tests/generation.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::transaction::ScriptABI; diff --git a/aptos-move/transaction-replay/src/lib.rs b/aptos-move/transaction-replay/src/lib.rs index b160ebf3e4193..abee3dcff6c8d 100644 --- a/aptos-move/transaction-replay/src/lib.rs +++ b/aptos-move/transaction-replay/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{anyhow, bail, format_err, Result}; diff --git a/aptos-move/transaction-replay/src/main.rs b/aptos-move/transaction-replay/src/main.rs index 69d3990252bba..ffdc391803c31 100644 --- a/aptos-move/transaction-replay/src/main.rs +++ b/aptos-move/transaction-replay/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{bail, Result}; diff --git a/aptos-move/transaction-replay/src/unit_tests/bisection_tests.rs b/aptos-move/transaction-replay/src/unit_tests/bisection_tests.rs index a9c79a419490c..401065cfd1016 100644 --- a/aptos-move/transaction-replay/src/unit_tests/bisection_tests.rs +++ b/aptos-move/transaction-replay/src/unit_tests/bisection_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{unit_tests::TestInterface, AptosDebugger}; diff --git a/aptos-move/transaction-replay/src/unit_tests/mod.rs b/aptos-move/transaction-replay/src/unit_tests/mod.rs index 68aaf0eeac65a..7407aa4e2f811 100644 --- a/aptos-move/transaction-replay/src/unit_tests/mod.rs +++ b/aptos-move/transaction-replay/src/unit_tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod bisection_tests; diff --git a/aptos-move/vm-genesis/src/genesis_context.rs b/aptos-move/vm-genesis/src/genesis_context.rs index d4f02dc6d126f..5ace93dee08c7 100644 --- a/aptos-move/vm-genesis/src/genesis_context.rs +++ b/aptos-move/vm-genesis/src/genesis_context.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/vm-genesis/src/lib.rs b/aptos-move/vm-genesis/src/lib.rs index d9194239e1e4e..46e539fd04f2b 100644 --- a/aptos-move/vm-genesis/src/lib.rs +++ b/aptos-move/vm-genesis/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/aptos-move/writeset-transaction-generator/src/admin_script_builder.rs b/aptos-move/writeset-transaction-generator/src/admin_script_builder.rs index f8ec764555392..3c0f7fea21027 100644 --- a/aptos-move/writeset-transaction-generator/src/admin_script_builder.rs +++ b/aptos-move/writeset-transaction-generator/src/admin_script_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/aptos-move/writeset-transaction-generator/src/lib.rs b/aptos-move/writeset-transaction-generator/src/lib.rs index d74736cf82b41..febdf3ab08906 100644 --- a/aptos-move/writeset-transaction-generator/src/lib.rs +++ b/aptos-move/writeset-transaction-generator/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod admin_script_builder; diff --git a/aptos-move/writeset-transaction-generator/src/writeset_builder.rs b/aptos-move/writeset-transaction-generator/src/writeset_builder.rs index 394117a81355f..97ea69dbea1df 100644 --- a/aptos-move/writeset-transaction-generator/src/writeset_builder.rs +++ b/aptos-move/writeset-transaction-generator/src/writeset_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::format_err; diff --git a/aptos-node/src/lib.rs b/aptos-node/src/lib.rs index d327d309c6cd5..e11cb7b192d5b 100644 --- a/aptos-node/src/lib.rs +++ b/aptos-node/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_api::runtime::bootstrap as bootstrap_api; diff --git a/aptos-node/src/main.rs b/aptos-node/src/main.rs index ec75371a34f4a..e343a2c9a963e 100644 --- a/aptos-node/src/main.rs +++ b/aptos-node/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/generate-key/src/lib.rs b/config/generate-key/src/lib.rs index b0995db8a03df..d71befb74ee67 100644 --- a/config/generate-key/src/lib.rs +++ b/config/generate-key/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/generate-key/src/main.rs b/config/generate-key/src/main.rs index e8c967f8f23c3..e2a52f45a11eb 100644 --- a/config/generate-key/src/main.rs +++ b/config/generate-key/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/global-constants/src/lib.rs b/config/global-constants/src/lib.rs index 7ac9b72883c80..da600b87ff064 100644 --- a/config/global-constants/src/lib.rs +++ b/config/global-constants/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! The purpose of this crate is to offer a single source of truth for the definitions of shared diff --git a/config/management/genesis/src/builder.rs b/config/management/genesis/src/builder.rs index 4728bf33cf6d0..3bfa97a18c844 100644 --- a/config/management/genesis/src/builder.rs +++ b/config/management/genesis/src/builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::layout::Layout; diff --git a/config/management/genesis/src/command.rs b/config/management/genesis/src/command.rs index f0e2cd0a942ab..8cd0a5b690d6e 100644 --- a/config/management/genesis/src/command.rs +++ b/config/management/genesis/src/command.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::ed25519::Ed25519PublicKey; use aptos_management::{error::Error, execute_command}; diff --git a/config/management/genesis/src/config_builder.rs b/config/management/genesis/src/config_builder.rs index adf9fcdb5b811..4768c5a3825cc 100644 --- a/config/management/genesis/src/config_builder.rs +++ b/config/management/genesis/src/config_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::validator_builder::ValidatorBuilder; diff --git a/config/management/genesis/src/fullnode_builder.rs b/config/management/genesis/src/fullnode_builder.rs index bd9ec72c059c2..6b1f1ee7df86e 100644 --- a/config/management/genesis/src/fullnode_builder.rs +++ b/config/management/genesis/src/fullnode_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{ensure, Result}; diff --git a/config/management/genesis/src/genesis.rs b/config/management/genesis/src/genesis.rs index 11e32668f7704..a6e1af1f04945 100644 --- a/config/management/genesis/src/genesis.rs +++ b/config/management/genesis/src/genesis.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::builder::GenesisBuilder; diff --git a/config/management/genesis/src/key.rs b/config/management/genesis/src/key.rs index 91ecdfb26af21..e912e0ccbd216 100644 --- a/config/management/genesis/src/key.rs +++ b/config/management/genesis/src/key.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::ed25519::Ed25519PublicKey; diff --git a/config/management/genesis/src/layout.rs b/config/management/genesis/src/layout.rs index 8b766411386f4..227afb7bad651 100644 --- a/config/management/genesis/src/layout.rs +++ b/config/management/genesis/src/layout.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::builder::GenesisBuilder; diff --git a/config/management/genesis/src/lib.rs b/config/management/genesis/src/lib.rs index 286098268af38..4378ffca9a468 100644 --- a/config/management/genesis/src/lib.rs +++ b/config/management/genesis/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/management/genesis/src/main.rs b/config/management/genesis/src/main.rs index a65839e5aced0..541ecd1593693 100644 --- a/config/management/genesis/src/main.rs +++ b/config/management/genesis/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/management/genesis/src/move_modules.rs b/config/management/genesis/src/move_modules.rs index ae69b3eb2e4ef..d836234194dea 100644 --- a/config/management/genesis/src/move_modules.rs +++ b/config/management/genesis/src/move_modules.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::builder::GenesisBuilder; diff --git a/config/management/genesis/src/storage_helper.rs b/config/management/genesis/src/storage_helper.rs index 3534c6205ec32..f4dab18983c6d 100644 --- a/config/management/genesis/src/storage_helper.rs +++ b/config/management/genesis/src/storage_helper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // FIXME: (gnazario) storage helper doesn't belong in the genesis tool, but it's attached to it right now diff --git a/config/management/genesis/src/validator_builder.rs b/config/management/genesis/src/validator_builder.rs index af557fb741f4c..a69edd18f8b2d 100644 --- a/config/management/genesis/src/validator_builder.rs +++ b/config/management/genesis/src/validator_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/config/management/genesis/src/validator_config.rs b/config/management/genesis/src/validator_config.rs index aa5446334fe89..d9a2b8a520077 100644 --- a/config/management/genesis/src/validator_config.rs +++ b/config/management/genesis/src/validator_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_global_constants::OWNER_ACCOUNT; diff --git a/config/management/genesis/src/validator_operator.rs b/config/management/genesis/src/validator_operator.rs index 942929088997f..690a4d5f70dd0 100644 --- a/config/management/genesis/src/validator_operator.rs +++ b/config/management/genesis/src/validator_operator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_global_constants::OPERATOR_KEY; diff --git a/config/management/genesis/src/verify.rs b/config/management/genesis/src/verify.rs index 79411443797dc..a58797e37b47f 100644 --- a/config/management/genesis/src/verify.rs +++ b/config/management/genesis/src/verify.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::config::{RocksdbConfig, NO_OP_STORAGE_PRUNER_CONFIG}; diff --git a/config/management/genesis/src/waypoint.rs b/config/management/genesis/src/waypoint.rs index b53f0dc3a6527..5403a14e48eb7 100644 --- a/config/management/genesis/src/waypoint.rs +++ b/config/management/genesis/src/waypoint.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::config::{RocksdbConfig, NO_OP_STORAGE_PRUNER_CONFIG}; diff --git a/config/management/operational/src/account_resource.rs b/config/management/operational/src/account_resource.rs index cd0784b6c986b..b066e11cbf8de 100644 --- a/config/management/operational/src/account_resource.rs +++ b/config/management/operational/src/account_resource.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{auto_validate::AutoValidate, rest_client::RestClient, TransactionContext}; diff --git a/config/management/operational/src/auto_validate.rs b/config/management/operational/src/auto_validate.rs index 61790d624d0ec..dae0d575726fe 100644 --- a/config/management/operational/src/auto_validate.rs +++ b/config/management/operational/src/auto_validate.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{validate_transaction::ValidateTransaction, TransactionContext}; diff --git a/config/management/operational/src/command.rs b/config/management/operational/src/command.rs index e9b84d0cff35c..4a7b95e10be1b 100644 --- a/config/management/operational/src/command.rs +++ b/config/management/operational/src/command.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/config/management/operational/src/governance.rs b/config/management/operational/src/governance.rs index 8d40a8974d3ce..d2e3c3d90abe1 100644 --- a/config/management/operational/src/governance.rs +++ b/config/management/operational/src/governance.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{auto_validate::AutoValidate, rest_client::RestClient, TransactionContext}; diff --git a/config/management/operational/src/keys.rs b/config/management/operational/src/keys.rs index cb77f41833300..a172ca990c256 100644 --- a/config/management/operational/src/keys.rs +++ b/config/management/operational/src/keys.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::config::{Peer, PeerRole}; diff --git a/config/management/operational/src/lib.rs b/config/management/operational/src/lib.rs index e1040b4aef2bd..cc412aecd7373 100644 --- a/config/management/operational/src/lib.rs +++ b/config/management/operational/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/management/operational/src/main.rs b/config/management/operational/src/main.rs index 67ac72b6a61e9..65afe9b692388 100644 --- a/config/management/operational/src/main.rs +++ b/config/management/operational/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/management/operational/src/network_checker.rs b/config/management/operational/src/network_checker.rs index 55c696502a727..7bf4346d5a026 100644 --- a/config/management/operational/src/network_checker.rs +++ b/config/management/operational/src/network_checker.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/config/management/operational/src/owner.rs b/config/management/operational/src/owner.rs index e838d69c71bfa..7aa1a487de05b 100644 --- a/config/management/operational/src/owner.rs +++ b/config/management/operational/src/owner.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{auto_validate::AutoValidate, rest_client::RestClient, TransactionContext}; diff --git a/config/management/operational/src/print.rs b/config/management/operational/src/print.rs index 8ffb3bb937dab..7ad75859fe530 100644 --- a/config/management/operational/src/print.rs +++ b/config/management/operational/src/print.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ed25519::Ed25519PublicKey, x25519}; diff --git a/config/management/operational/src/rest_client.rs b/config/management/operational/src/rest_client.rs index 60582e8678957..253938a7cbe68 100644 --- a/config/management/operational/src/rest_client.rs +++ b/config/management/operational/src/rest_client.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{TransactionContext, TransactionStatus}; diff --git a/config/management/operational/src/test_helper.rs b/config/management/operational/src/test_helper.rs index de98ef7c1682a..857aed1dfb59f 100644 --- a/config/management/operational/src/test_helper.rs +++ b/config/management/operational/src/test_helper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/config/management/operational/src/validate_transaction.rs b/config/management/operational/src/validate_transaction.rs index 252c0cf3d7e79..1b3005686c5e0 100644 --- a/config/management/operational/src/validate_transaction.rs +++ b/config/management/operational/src/validate_transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{rest_client::RestClient, TransactionContext}; diff --git a/config/management/operational/src/validator_config.rs b/config/management/operational/src/validator_config.rs index 060a6d3fa2b53..fd19a6dee9149 100644 --- a/config/management/operational/src/validator_config.rs +++ b/config/management/operational/src/validator_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{auto_validate::AutoValidate, rest_client::RestClient, TransactionContext}; diff --git a/config/management/operational/src/validator_set.rs b/config/management/operational/src/validator_set.rs index b3d96b7113612..69da1c28b69b9 100644 --- a/config/management/operational/src/validator_set.rs +++ b/config/management/operational/src/validator_set.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/config/management/operational/src/validator_state.rs b/config/management/operational/src/validator_state.rs index 4ee25ae990306..ee88ab5f11606 100644 --- a/config/management/operational/src/validator_state.rs +++ b/config/management/operational/src/validator_state.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{rest_client::RestClient, validator_config::DecodedValidatorConfig}; diff --git a/config/management/src/config.rs b/config/management/src/config.rs index 4d1e7e4d589de..44e4c3cfbe795 100644 --- a/config/management/src/config.rs +++ b/config/management/src/config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{error::Error, storage::StorageWrapper}; diff --git a/config/management/src/error.rs b/config/management/src/error.rs index 0c21d3f58d549..9a3770c416503 100644 --- a/config/management/src/error.rs +++ b/config/management/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use thiserror::Error; diff --git a/config/management/src/lib.rs b/config/management/src/lib.rs index 44a5652c1ba43..0bf96d2c18d1c 100644 --- a/config/management/src/lib.rs +++ b/config/management/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/management/src/secure_backend.rs b/config/management/src/secure_backend.rs index 42b2275c07da1..fd8b35a9be863 100644 --- a/config/management/src/secure_backend.rs +++ b/config/management/src/secure_backend.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::error::Error; diff --git a/config/management/src/storage.rs b/config/management/src/storage.rs index 72a4a4474d5de..365ffff35a656 100644 --- a/config/management/src/storage.rs +++ b/config/management/src/storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::error::Error; diff --git a/config/management/src/transaction.rs b/config/management/src/transaction.rs index 99b7ea618e77d..36adb59941ffb 100644 --- a/config/management/src/transaction.rs +++ b/config/management/src/transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::constants; diff --git a/config/management/src/validator_config.rs b/config/management/src/validator_config.rs index bc41d8e6ca25b..046c73b32b5a4 100644 --- a/config/management/src/validator_config.rs +++ b/config/management/src/validator_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/config/management/src/waypoint.rs b/config/management/src/waypoint.rs index 462f932b157d1..898c512688242 100644 --- a/config/management/src/waypoint.rs +++ b/config/management/src/waypoint.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{config::ConfigPath, error::Error, secure_backend::ValidatorBackend}; diff --git a/config/seed-peer-generator/src/lib.rs b/config/seed-peer-generator/src/lib.rs index 0dea666e55761..d2779db08377f 100644 --- a/config/seed-peer-generator/src/lib.rs +++ b/config/seed-peer-generator/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod utils; diff --git a/config/seed-peer-generator/src/main.rs b/config/seed-peer-generator/src/main.rs index f578b6a17d6e6..c87a0f161384d 100644 --- a/config/seed-peer-generator/src/main.rs +++ b/config/seed-peer-generator/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/seed-peer-generator/src/utils.rs b/config/seed-peer-generator/src/utils.rs index b781a12b77e55..d015e9a94c557 100644 --- a/config/seed-peer-generator/src/utils.rs +++ b/config/seed-peer-generator/src/utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/src/config/api_config.rs b/config/src/config/api_config.rs index 6003cae1c5cc2..f32959b2c89db 100644 --- a/config/src/config/api_config.rs +++ b/config/src/config/api_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::utils; diff --git a/config/src/config/consensus_config.rs b/config/src/config/consensus_config.rs index 19a7ecdfa2445..fde1f472fbcc0 100644 --- a/config/src/config/consensus_config.rs +++ b/config/src/config/consensus_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::config::SafetyRulesConfig; diff --git a/config/src/config/debug_interface_config.rs b/config/src/config/debug_interface_config.rs index 0d57a27096f16..e3e2ab197154d 100644 --- a/config/src/config/debug_interface_config.rs +++ b/config/src/config/debug_interface_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::utils; diff --git a/config/src/config/error.rs b/config/src/config/error.rs index c6aabcec4563a..61c628a572055 100644 --- a/config/src/config/error.rs +++ b/config/src/config/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use thiserror::Error; diff --git a/config/src/config/execution_config.rs b/config/src/config/execution_config.rs index ce524fec147cf..ab0d1328de8e7 100644 --- a/config/src/config/execution_config.rs +++ b/config/src/config/execution_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::config::{Error, RootPath, SecureBackend}; diff --git a/config/src/config/json_rpc_config.rs b/config/src/config/json_rpc_config.rs index 5ec4f4c23c04d..ecb9184b2aea8 100644 --- a/config/src/config/json_rpc_config.rs +++ b/config/src/config/json_rpc_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::utils; diff --git a/config/src/config/key_manager_config.rs b/config/src/config/key_manager_config.rs index 3d62f76d47d86..73332e8e09cd7 100644 --- a/config/src/config/key_manager_config.rs +++ b/config/src/config/key_manager_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::config::{Error, LoggerConfig, PersistableConfig, SecureBackend}; diff --git a/config/src/config/logger_config.rs b/config/src/config/logger_config.rs index 80d9b50881781..aea5d2acbfec3 100644 --- a/config/src/config/logger_config.rs +++ b/config/src/config/logger_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_logger::{Level, CHANNEL_SIZE}; diff --git a/config/src/config/mempool_config.rs b/config/src/config/mempool_config.rs index a8927ce9e5260..1b4a7cfcba178 100644 --- a/config/src/config/mempool_config.rs +++ b/config/src/config/mempool_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/config/src/config/mod.rs b/config/src/config/mod.rs index 2289484b4b2bc..142791dff36e0 100644 --- a/config/src/config/mod.rs +++ b/config/src/config/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::network_id::NetworkId; diff --git a/config/src/config/network_config.rs b/config/src/config/network_config.rs index 1f1686b2b3947..d6b9a292327d1 100644 --- a/config/src/config/network_config.rs +++ b/config/src/config/network_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/config/src/config/safety_rules_config.rs b/config/src/config/safety_rules_config.rs index ee765ae96c931..4483baf4046fd 100644 --- a/config/src/config/safety_rules_config.rs +++ b/config/src/config/safety_rules_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/config/src/config/secure_backend_config.rs b/config/src/config/secure_backend_config.rs index 58ad7dd70e0c5..0aa9ad0dd6062 100644 --- a/config/src/config/secure_backend_config.rs +++ b/config/src/config/secure_backend_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::config::Error; diff --git a/config/src/config/state_sync_config.rs b/config/src/config/state_sync_config.rs index 417faddbdf64d..f68ccfa209925 100644 --- a/config/src/config/state_sync_config.rs +++ b/config/src/config/state_sync_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/config/src/config/storage_config.rs b/config/src/config/storage_config.rs index e9d6809f511c4..4fe49621a7c16 100644 --- a/config/src/config/storage_config.rs +++ b/config/src/config/storage_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::utils; diff --git a/config/src/config/test_config.rs b/config/src/config/test_config.rs index df684b06395fa..a58c9d5c3a1fa 100644 --- a/config/src/config/test_config.rs +++ b/config/src/config/test_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::keys::ConfigKey; diff --git a/config/src/generator.rs b/config/src/generator.rs index 14bbc2bd77bc9..10b9bfa913c23 100644 --- a/config/src/generator.rs +++ b/config/src/generator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Convenience structs and functions for generating a random set of nodes without the diff --git a/config/src/keys.rs b/config/src/keys.rs index 0a8937d74c807..6a153200ccc23 100644 --- a/config/src/keys.rs +++ b/config/src/keys.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This file implements a KeyPair data structure. diff --git a/config/src/lib.rs b/config/src/lib.rs index 8eee85f45be8b..c98e457cb5c56 100644 --- a/config/src/lib.rs +++ b/config/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/config/src/network_id.rs b/config/src/network_id.rs index e369500f27dad..2534ab4704935 100644 --- a/config/src/network_id.rs +++ b/config/src/network_id.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::config::{PeerRole, RoleType}; use aptos_types::PeerId; diff --git a/config/src/utils.rs b/config/src/utils.rs index 170a9cc5a959c..92252a74047fc 100644 --- a/config/src/utils.rs +++ b/config/src/utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::config::NodeConfig; diff --git a/consensus/consensus-types/src/block.rs b/consensus/consensus-types/src/block.rs index 022cde01be158..638ae4365d2e4 100644 --- a/consensus/consensus-types/src/block.rs +++ b/consensus/consensus-types/src/block.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/consensus-types/src/block_data.rs b/consensus/consensus-types/src/block_data.rs index 1b983b18f8c6b..118ae22a1299c 100644 --- a/consensus/consensus-types/src/block_data.rs +++ b/consensus/consensus-types/src/block_data.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/consensus-types/src/block_retrieval.rs b/consensus/consensus-types/src/block_retrieval.rs index 9a56e1a08deb2..c1f58ba6e8be7 100644 --- a/consensus/consensus-types/src/block_retrieval.rs +++ b/consensus/consensus-types/src/block_retrieval.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::block::Block; diff --git a/consensus/consensus-types/src/block_test.rs b/consensus/consensus-types/src/block_test.rs index f721b2a11dcef..743fd39a6d139 100644 --- a/consensus/consensus-types/src/block_test.rs +++ b/consensus/consensus-types/src/block_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/consensus-types/src/block_test_utils.rs b/consensus/consensus-types/src/block_test_utils.rs index a47cc69641423..28571f347892f 100644 --- a/consensus/consensus-types/src/block_test_utils.rs +++ b/consensus/consensus-types/src/block_test_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![allow(clippy::integer_arithmetic)] diff --git a/consensus/consensus-types/src/common.rs b/consensus/consensus-types/src/common.rs index 857ba75d3d56b..049c7e605beb7 100644 --- a/consensus/consensus-types/src/common.rs +++ b/consensus/consensus-types/src/common.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{account_address::AccountAddress, transaction::SignedTransaction}; diff --git a/consensus/consensus-types/src/epoch_retrieval.rs b/consensus/consensus-types/src/epoch_retrieval.rs index f78e9fb5a9c3e..a3acd8c75dfc2 100644 --- a/consensus/consensus-types/src/epoch_retrieval.rs +++ b/consensus/consensus-types/src/epoch_retrieval.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/consensus/consensus-types/src/executed_block.rs b/consensus/consensus-types/src/executed_block.rs index b015bf94e4c77..a82ce7ed9a785 100644 --- a/consensus/consensus-types/src/executed_block.rs +++ b/consensus/consensus-types/src/executed_block.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/consensus-types/src/experimental/commit_decision.rs b/consensus/consensus-types/src/experimental/commit_decision.rs index 64421105c8ee8..c658fd9dae4a0 100644 --- a/consensus/consensus-types/src/experimental/commit_decision.rs +++ b/consensus/consensus-types/src/experimental/commit_decision.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common::Round; diff --git a/consensus/consensus-types/src/experimental/commit_vote.rs b/consensus/consensus-types/src/experimental/commit_vote.rs index 274083f45bf50..f22068310a9aa 100644 --- a/consensus/consensus-types/src/experimental/commit_vote.rs +++ b/consensus/consensus-types/src/experimental/commit_vote.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common::{Author, Round}; diff --git a/consensus/consensus-types/src/experimental/mod.rs b/consensus/consensus-types/src/experimental/mod.rs index ef92e3322ad86..29fb0427a6613 100644 --- a/consensus/consensus-types/src/experimental/mod.rs +++ b/consensus/consensus-types/src/experimental/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod commit_decision; diff --git a/consensus/consensus-types/src/lib.rs b/consensus/consensus-types/src/lib.rs index 298a1e2ff18ab..5f1b5131a393d 100644 --- a/consensus/consensus-types/src/lib.rs +++ b/consensus/consensus-types/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/consensus/consensus-types/src/proposal_msg.rs b/consensus/consensus-types/src/proposal_msg.rs index 9bac48f325800..0f20c529383a3 100644 --- a/consensus/consensus-types/src/proposal_msg.rs +++ b/consensus/consensus-types/src/proposal_msg.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{block::Block, common::Author, sync_info::SyncInfo}; diff --git a/consensus/consensus-types/src/quorum_cert.rs b/consensus/consensus-types/src/quorum_cert.rs index df1700070ca94..aa017e03decbf 100644 --- a/consensus/consensus-types/src/quorum_cert.rs +++ b/consensus/consensus-types/src/quorum_cert.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::vote_data::VoteData; diff --git a/consensus/consensus-types/src/safety_data.rs b/consensus/consensus-types/src/safety_data.rs index 93154f66e8fdd..3642e46753df3 100644 --- a/consensus/consensus-types/src/safety_data.rs +++ b/consensus/consensus-types/src/safety_data.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::vote::Vote; diff --git a/consensus/consensus-types/src/sync_info.rs b/consensus/consensus-types/src/sync_info.rs index bee5518315bd8..c405e521073e8 100644 --- a/consensus/consensus-types/src/sync_info.rs +++ b/consensus/consensus-types/src/sync_info.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/consensus-types/src/timeout.rs b/consensus/consensus-types/src/timeout.rs index 3c9adb4f6d6d1..10af0e8e1b15e 100644 --- a/consensus/consensus-types/src/timeout.rs +++ b/consensus/consensus-types/src/timeout.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::common::Round; diff --git a/consensus/consensus-types/src/timeout_2chain.rs b/consensus/consensus-types/src/timeout_2chain.rs index 4fbd94c024c7f..cb0f14e7ad622 100644 --- a/consensus/consensus-types/src/timeout_2chain.rs +++ b/consensus/consensus-types/src/timeout_2chain.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{common::Author, quorum_cert::QuorumCert}; diff --git a/consensus/consensus-types/src/timeout_certificate.rs b/consensus/consensus-types/src/timeout_certificate.rs index 3f1091f82c55d..9fc6334820702 100644 --- a/consensus/consensus-types/src/timeout_certificate.rs +++ b/consensus/consensus-types/src/timeout_certificate.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/consensus-types/src/vote.rs b/consensus/consensus-types/src/vote.rs index f8243747058eb..25dce5d03564c 100644 --- a/consensus/consensus-types/src/vote.rs +++ b/consensus/consensus-types/src/vote.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/consensus-types/src/vote_data.rs b/consensus/consensus-types/src/vote_data.rs index dea2fbbaf4b6c..4f9a390273d62 100644 --- a/consensus/consensus-types/src/vote_data.rs +++ b/consensus/consensus-types/src/vote_data.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto_derive::{BCSCryptoHash, CryptoHasher}; diff --git a/consensus/consensus-types/src/vote_msg.rs b/consensus/consensus-types/src/vote_msg.rs index b7f32c689ce29..ec0c78d9bfbf4 100644 --- a/consensus/consensus-types/src/vote_msg.rs +++ b/consensus/consensus-types/src/vote_msg.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{sync_info::SyncInfo, vote::Vote}; diff --git a/consensus/consensus-types/src/vote_proposal.rs b/consensus/consensus-types/src/vote_proposal.rs index e547c7297e936..806a622a1ff8a 100644 --- a/consensus/consensus-types/src/vote_proposal.rs +++ b/consensus/consensus-types/src/vote_proposal.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{block::Block, vote_data::VoteData}; diff --git a/consensus/safety-rules/benches/safety_rules.rs b/consensus/safety-rules/benches/safety_rules.rs index 8e0d5f4d230ed..cbcaf986d49fa 100644 --- a/consensus/safety-rules/benches/safety_rules.rs +++ b/consensus/safety-rules/benches/safety_rules.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ed25519::Ed25519PrivateKey, Uniform}; diff --git a/consensus/safety-rules/src/configurable_validator_signer.rs b/consensus/safety-rules/src/configurable_validator_signer.rs index 7d7edd85c4dcf..9f9f58a6fc542 100644 --- a/consensus/safety-rules/src/configurable_validator_signer.rs +++ b/consensus/safety-rules/src/configurable_validator_signer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Error, PersistentSafetyStorage}; diff --git a/consensus/safety-rules/src/consensus_state.rs b/consensus/safety-rules/src/consensus_state.rs index f41206fd90cd4..416c7b4e36bf3 100644 --- a/consensus/safety-rules/src/consensus_state.rs +++ b/consensus/safety-rules/src/consensus_state.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::waypoint::Waypoint; diff --git a/consensus/safety-rules/src/counters.rs b/consensus/safety-rules/src/counters.rs index aa8cd95d94ae8..7b40a3b9b2162 100644 --- a/consensus/safety-rules/src/counters.rs +++ b/consensus/safety-rules/src/counters.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_secure_push_metrics::{ diff --git a/consensus/safety-rules/src/error.rs b/consensus/safety-rules/src/error.rs index 60d51539a721c..831cecbfa7f1b 100644 --- a/consensus/safety-rules/src/error.rs +++ b/consensus/safety-rules/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/consensus/safety-rules/src/fuzzing_utils.rs b/consensus/safety-rules/src/fuzzing_utils.rs index b14e270c2e147..1280ae73fa83e 100644 --- a/consensus/safety-rules/src/fuzzing_utils.rs +++ b/consensus/safety-rules/src/fuzzing_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::serializer::SafetyRulesInput; diff --git a/consensus/safety-rules/src/lib.rs b/consensus/safety-rules/src/lib.rs index 9a3b037b6596b..bda4689726713 100644 --- a/consensus/safety-rules/src/lib.rs +++ b/consensus/safety-rules/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/consensus/safety-rules/src/local_client.rs b/consensus/safety-rules/src/local_client.rs index 5925982d28ac1..69ba1543f50e3 100644 --- a/consensus/safety-rules/src/local_client.rs +++ b/consensus/safety-rules/src/local_client.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ConsensusState, Error, SafetyRules, TSafetyRules}; diff --git a/consensus/safety-rules/src/logging.rs b/consensus/safety-rules/src/logging.rs index 8e2d4c6d9a92e..a78bb9322ce75 100644 --- a/consensus/safety-rules/src/logging.rs +++ b/consensus/safety-rules/src/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::Error; diff --git a/consensus/safety-rules/src/main.rs b/consensus/safety-rules/src/main.rs index 22457499c05d4..70a89be4c681f 100644 --- a/consensus/safety-rules/src/main.rs +++ b/consensus/safety-rules/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Usage: ./safety-rules node.config diff --git a/consensus/safety-rules/src/persistent_safety_storage.rs b/consensus/safety-rules/src/persistent_safety_storage.rs index d1d19a35fdd95..7885ca826f869 100644 --- a/consensus/safety-rules/src/persistent_safety_storage.rs +++ b/consensus/safety-rules/src/persistent_safety_storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/safety-rules/src/process.rs b/consensus/safety-rules/src/process.rs index d9b650c690e0e..fba91d278a9f8 100644 --- a/consensus/safety-rules/src/process.rs +++ b/consensus/safety-rules/src/process.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/safety-rules/src/remote_service.rs b/consensus/safety-rules/src/remote_service.rs index 10f688fb1ea80..ec8728ae85b3d 100644 --- a/consensus/safety-rules/src/remote_service.rs +++ b/consensus/safety-rules/src/remote_service.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/safety-rules/src/safety_rules.rs b/consensus/safety-rules/src/safety_rules.rs index f658a1668fea8..7c0fa6dd20ec9 100644 --- a/consensus/safety-rules/src/safety_rules.rs +++ b/consensus/safety-rules/src/safety_rules.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/safety-rules/src/safety_rules_2chain.rs b/consensus/safety-rules/src/safety_rules_2chain.rs index 7978e6a385cea..75aa9826ddaf1 100644 --- a/consensus/safety-rules/src/safety_rules_2chain.rs +++ b/consensus/safety-rules/src/safety_rules_2chain.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{error::Error, safety_rules::next_round, SafetyRules}; diff --git a/consensus/safety-rules/src/safety_rules_manager.rs b/consensus/safety-rules/src/safety_rules_manager.rs index de2a2e2c00751..2415f66bccd8b 100644 --- a/consensus/safety-rules/src/safety_rules_manager.rs +++ b/consensus/safety-rules/src/safety_rules_manager.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/safety-rules/src/serializer.rs b/consensus/safety-rules/src/serializer.rs index e036efbbb7462..a755f2f4d6e70 100644 --- a/consensus/safety-rules/src/serializer.rs +++ b/consensus/safety-rules/src/serializer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{counters, logging::LogEntry, ConsensusState, Error, SafetyRules, TSafetyRules}; diff --git a/consensus/safety-rules/src/t_safety_rules.rs b/consensus/safety-rules/src/t_safety_rules.rs index e03a954e39f17..8a0749dcfd25f 100644 --- a/consensus/safety-rules/src/t_safety_rules.rs +++ b/consensus/safety-rules/src/t_safety_rules.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ConsensusState, Error}; diff --git a/consensus/safety-rules/src/test_utils.rs b/consensus/safety-rules/src/test_utils.rs index bc7fdd12f679d..02c5ef9ddb0c3 100644 --- a/consensus/safety-rules/src/test_utils.rs +++ b/consensus/safety-rules/src/test_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/safety-rules/src/tests/local.rs b/consensus/safety-rules/src/tests/local.rs index a99d4fd5dae52..1e3b40e4087a4 100644 --- a/consensus/safety-rules/src/tests/local.rs +++ b/consensus/safety-rules/src/tests/local.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{test_utils, tests::suite, SafetyRulesManager}; diff --git a/consensus/safety-rules/src/tests/mod.rs b/consensus/safety-rules/src/tests/mod.rs index 049118857a0c0..156594483cf11 100644 --- a/consensus/safety-rules/src/tests/mod.rs +++ b/consensus/safety-rules/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod local; diff --git a/consensus/safety-rules/src/tests/networking.rs b/consensus/safety-rules/src/tests/networking.rs index 9e7d357de7ffe..964a7ddc72ecb 100644 --- a/consensus/safety-rules/src/tests/networking.rs +++ b/consensus/safety-rules/src/tests/networking.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{test_utils, SafetyRulesManager}; diff --git a/consensus/safety-rules/src/tests/safety_rules.rs b/consensus/safety-rules/src/tests/safety_rules.rs index d389db5f3b5dc..c72daf0caffb9 100644 --- a/consensus/safety-rules/src/tests/safety_rules.rs +++ b/consensus/safety-rules/src/tests/safety_rules.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{test_utils, tests::suite, SafetyRules}; diff --git a/consensus/safety-rules/src/tests/serializer.rs b/consensus/safety-rules/src/tests/serializer.rs index 01afac4e521ac..3366ebe168d93 100644 --- a/consensus/safety-rules/src/tests/serializer.rs +++ b/consensus/safety-rules/src/tests/serializer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{test_utils, tests::suite, SafetyRulesManager}; diff --git a/consensus/safety-rules/src/tests/suite.rs b/consensus/safety-rules/src/tests/suite.rs index 8ada33964438e..0491d82cb60ff 100644 --- a/consensus/safety-rules/src/tests/suite.rs +++ b/consensus/safety-rules/src/tests/suite.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{test_utils, test_utils::make_timeout_cert, Error, SafetyRules, TSafetyRules}; diff --git a/consensus/safety-rules/src/tests/thread.rs b/consensus/safety-rules/src/tests/thread.rs index 3367527bb0a1a..f0e8b112cbb50 100644 --- a/consensus/safety-rules/src/tests/thread.rs +++ b/consensus/safety-rules/src/tests/thread.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{test_utils, tests::suite, SafetyRulesManager}; diff --git a/consensus/safety-rules/src/tests/vault.rs b/consensus/safety-rules/src/tests/vault.rs index cef1212de19fb..252a929953ffa 100644 --- a/consensus/safety-rules/src/tests/vault.rs +++ b/consensus/safety-rules/src/tests/vault.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{tests::suite, PersistentSafetyStorage, SafetyRulesManager}; diff --git a/consensus/safety-rules/src/thread.rs b/consensus/safety-rules/src/thread.rs index e4cbf372acc13..3af5f6bbd891e 100644 --- a/consensus/safety-rules/src/thread.rs +++ b/consensus/safety-rules/src/thread.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This provides a execution separation between SafetyRules and Consensus without requiring the diff --git a/consensus/safety-rules/tests/binary.rs b/consensus/safety-rules/tests/binary.rs index 12456ced0b067..59e57b8ef419a 100644 --- a/consensus/safety-rules/tests/binary.rs +++ b/consensus/safety-rules/tests/binary.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::{ diff --git a/consensus/src/block_storage/block_store.rs b/consensus/src/block_storage/block_store.rs index 506a8a5995e73..fdb9018859285 100644 --- a/consensus/src/block_storage/block_store.rs +++ b/consensus/src/block_storage/block_store.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/block_storage/block_store_and_lec_recovery_test.rs b/consensus/src/block_storage/block_store_and_lec_recovery_test.rs index 54c5ba34684a2..bd16ea3f4a9f9 100644 --- a/consensus/src/block_storage/block_store_and_lec_recovery_test.rs +++ b/consensus/src/block_storage/block_store_and_lec_recovery_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/block_storage/block_store_test.rs b/consensus/src/block_storage/block_store_test.rs index 34a2713e81aa4..97d2c2006cb4d 100644 --- a/consensus/src/block_storage/block_store_test.rs +++ b/consensus/src/block_storage/block_store_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/block_storage/block_tree.rs b/consensus/src/block_storage/block_tree.rs index 9082d2d21ab5a..8c78c9bf623cb 100644 --- a/consensus/src/block_storage/block_tree.rs +++ b/consensus/src/block_storage/block_tree.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/block_storage/mod.rs b/consensus/src/block_storage/mod.rs index 9bced18dc440f..433a53a19e712 100644 --- a/consensus/src/block_storage/mod.rs +++ b/consensus/src/block_storage/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::HashValue; diff --git a/consensus/src/block_storage/sync_manager.rs b/consensus/src/block_storage/sync_manager.rs index 892cb9c372623..16d309ba14d41 100644 --- a/consensus/src/block_storage/sync_manager.rs +++ b/consensus/src/block_storage/sync_manager.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/block_storage/tracing.rs b/consensus/src/block_storage/tracing.rs index 6a7ea04fd3f7d..41da6a4c78662 100644 --- a/consensus/src/block_storage/tracing.rs +++ b/consensus/src/block_storage/tracing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::counters; diff --git a/consensus/src/consensus_provider.rs b/consensus/src/consensus_provider.rs index de02e64290769..99313ffeb2c48 100644 --- a/consensus/src/consensus_provider.rs +++ b/consensus/src/consensus_provider.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/consensusdb/consensusdb_test.rs b/consensus/src/consensusdb/consensusdb_test.rs index 0b7e47bb69cd9..0085e43e4f0d8 100644 --- a/consensus/src/consensusdb/consensusdb_test.rs +++ b/consensus/src/consensusdb/consensusdb_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/consensus/src/consensusdb/mod.rs b/consensus/src/consensusdb/mod.rs index 5a3d566c04f88..fb90fc22841bd 100644 --- a/consensus/src/consensusdb/mod.rs +++ b/consensus/src/consensusdb/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[cfg(test)] diff --git a/consensus/src/consensusdb/schema/block/mod.rs b/consensus/src/consensusdb/schema/block/mod.rs index 8e8fbcd3ed0ba..4504fbbb51536 100644 --- a/consensus/src/consensusdb/schema/block/mod.rs +++ b/consensus/src/consensusdb/schema/block/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for consensus block. diff --git a/consensus/src/consensusdb/schema/block/test.rs b/consensus/src/consensusdb/schema/block/test.rs index 296455037b9af..1838d31213314 100644 --- a/consensus/src/consensusdb/schema/block/test.rs +++ b/consensus/src/consensusdb/schema/block/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/consensus/src/consensusdb/schema/mod.rs b/consensus/src/consensusdb/schema/mod.rs index c317b50a24c68..b0fc48f8e155d 100644 --- a/consensus/src/consensusdb/schema/mod.rs +++ b/consensus/src/consensusdb/schema/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub(crate) mod block; diff --git a/consensus/src/consensusdb/schema/quorum_certificate/mod.rs b/consensus/src/consensusdb/schema/quorum_certificate/mod.rs index f50b85087ea35..97690ea84b134 100644 --- a/consensus/src/consensusdb/schema/quorum_certificate/mod.rs +++ b/consensus/src/consensusdb/schema/quorum_certificate/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for consensus quorum certificate (of a block). diff --git a/consensus/src/consensusdb/schema/quorum_certificate/test.rs b/consensus/src/consensusdb/schema/quorum_certificate/test.rs index 4fc649fd8408d..ef89cbb438b92 100644 --- a/consensus/src/consensusdb/schema/quorum_certificate/test.rs +++ b/consensus/src/consensusdb/schema/quorum_certificate/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/consensus/src/consensusdb/schema/single_entry/mod.rs b/consensus/src/consensusdb/schema/single_entry/mod.rs index 2176683173278..df967a1e1009e 100644 --- a/consensus/src/consensusdb/schema/single_entry/mod.rs +++ b/consensus/src/consensusdb/schema/single_entry/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for any single-entry data. diff --git a/consensus/src/consensusdb/schema/single_entry/test.rs b/consensus/src/consensusdb/schema/single_entry/test.rs index 170d5d194626f..bfa83c87ce027 100644 --- a/consensus/src/consensusdb/schema/single_entry/test.rs +++ b/consensus/src/consensusdb/schema/single_entry/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/consensus/src/counters.rs b/consensus/src/counters.rs index e2aa087c254ce..13a3e094c865b 100644 --- a/consensus/src/counters.rs +++ b/consensus/src/counters.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{ diff --git a/consensus/src/epoch_manager.rs b/consensus/src/epoch_manager.rs index 98f77fdcb2cff..cbdc97956df39 100644 --- a/consensus/src/epoch_manager.rs +++ b/consensus/src/epoch_manager.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/error.rs b/consensus/src/error.rs index fd5fd7d268602..898693c646408 100644 --- a/consensus/src/error.rs +++ b/consensus/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::experimental; diff --git a/consensus/src/experimental/buffer.rs b/consensus/src/experimental/buffer.rs index 14d46c2efb52d..a12dac0fb6e53 100644 --- a/consensus/src/experimental/buffer.rs +++ b/consensus/src/experimental/buffer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::experimental::hashable::Hashable; diff --git a/consensus/src/experimental/buffer_item.rs b/consensus/src/experimental/buffer_item.rs index 1cca815bbf490..16f8b2aa40e94 100644 --- a/consensus/src/experimental/buffer_item.rs +++ b/consensus/src/experimental/buffer_item.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::collections::BTreeMap; diff --git a/consensus/src/experimental/buffer_manager.rs b/consensus/src/experimental/buffer_manager.rs index dbab61878a9cb..68c16a07226e9 100644 --- a/consensus/src/experimental/buffer_manager.rs +++ b/consensus/src/experimental/buffer_manager.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::sync::Arc; diff --git a/consensus/src/experimental/decoupled_execution_utils.rs b/consensus/src/experimental/decoupled_execution_utils.rs index 03c382897fd4b..775a1f6a7f895 100644 --- a/consensus/src/experimental/decoupled_execution_utils.rs +++ b/consensus/src/experimental/decoupled_execution_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/experimental/errors.rs b/consensus/src/experimental/errors.rs index b479a58b0817a..05d5eb018a66d 100644 --- a/consensus/src/experimental/errors.rs +++ b/consensus/src/experimental/errors.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::block_info::BlockInfo; diff --git a/consensus/src/experimental/execution_phase.rs b/consensus/src/experimental/execution_phase.rs index 647a82d67a54c..0d0c425bbc257 100644 --- a/consensus/src/experimental/execution_phase.rs +++ b/consensus/src/experimental/execution_phase.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{experimental::pipeline_phase::StatelessPipeline, state_replication::StateComputer}; diff --git a/consensus/src/experimental/hashable.rs b/consensus/src/experimental/hashable.rs index 5f3fc1e0d53d4..2bfe0749b91ca 100644 --- a/consensus/src/experimental/hashable.rs +++ b/consensus/src/experimental/hashable.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::HashValue; diff --git a/consensus/src/experimental/linkedlist.rs b/consensus/src/experimental/linkedlist.rs index eaad2fcccb25b..fbecd2613f478 100644 --- a/consensus/src/experimental/linkedlist.rs +++ b/consensus/src/experimental/linkedlist.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // modified from https://rust-unofficial.github.io/too-many-lists/fourth-final.html (MIT License) diff --git a/consensus/src/experimental/mod.rs b/consensus/src/experimental/mod.rs index fbeed1efbe9ef..5fae997609cf2 100644 --- a/consensus/src/experimental/mod.rs +++ b/consensus/src/experimental/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 /* diff --git a/consensus/src/experimental/ordering_state_computer.rs b/consensus/src/experimental/ordering_state_computer.rs index b4ef7a7a246cb..ca4128e4e8315 100644 --- a/consensus/src/experimental/ordering_state_computer.rs +++ b/consensus/src/experimental/ordering_state_computer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/experimental/persisting_phase.rs b/consensus/src/experimental/persisting_phase.rs index eb0a7024058ba..40cfd1bfb7468 100644 --- a/consensus/src/experimental/persisting_phase.rs +++ b/consensus/src/experimental/persisting_phase.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::{ diff --git a/consensus/src/experimental/pipeline_phase.rs b/consensus/src/experimental/pipeline_phase.rs index ac18adc4a4628..7e95644853332 100644 --- a/consensus/src/experimental/pipeline_phase.rs +++ b/consensus/src/experimental/pipeline_phase.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::experimental::buffer_manager::{Receiver, Sender}; diff --git a/consensus/src/experimental/signing_phase.rs b/consensus/src/experimental/signing_phase.rs index e31f688d2cbb0..69c54a1984d2c 100644 --- a/consensus/src/experimental/signing_phase.rs +++ b/consensus/src/experimental/signing_phase.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use safety_rules::TSafetyRules; diff --git a/consensus/src/experimental/tests/buffer_manager_tests.rs b/consensus/src/experimental/tests/buffer_manager_tests.rs index a78b01151740d..f00ea4147764e 100644 --- a/consensus/src/experimental/tests/buffer_manager_tests.rs +++ b/consensus/src/experimental/tests/buffer_manager_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/experimental/tests/execution_phase_tests.rs b/consensus/src/experimental/tests/execution_phase_tests.rs index 2237b6c1ba3f2..21ce5a77c2a65 100644 --- a/consensus/src/experimental/tests/execution_phase_tests.rs +++ b/consensus/src/experimental/tests/execution_phase_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::sync::Arc; diff --git a/consensus/src/experimental/tests/integration_tests.rs b/consensus/src/experimental/tests/integration_tests.rs index 0e35c067def4d..eabc7dfbd59b7 100644 --- a/consensus/src/experimental/tests/integration_tests.rs +++ b/consensus/src/experimental/tests/integration_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // TODO: integration tests diff --git a/consensus/src/experimental/tests/mod.rs b/consensus/src/experimental/tests/mod.rs index 072a8ccaa3443..c58e93f22382e 100644 --- a/consensus/src/experimental/tests/mod.rs +++ b/consensus/src/experimental/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod buffer_manager_tests; diff --git a/consensus/src/experimental/tests/ordering_state_computer_tests.rs b/consensus/src/experimental/tests/ordering_state_computer_tests.rs index 103f581cddc04..18fb25b6d5445 100644 --- a/consensus/src/experimental/tests/ordering_state_computer_tests.rs +++ b/consensus/src/experimental/tests/ordering_state_computer_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[test] diff --git a/consensus/src/experimental/tests/phase_tester.rs b/consensus/src/experimental/tests/phase_tester.rs index b73e2ef7415ff..a95e59b7df192 100644 --- a/consensus/src/experimental/tests/phase_tester.rs +++ b/consensus/src/experimental/tests/phase_tester.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/experimental/tests/signing_phase_tests.rs b/consensus/src/experimental/tests/signing_phase_tests.rs index 38f5bf195dcd0..d3effc1204512 100644 --- a/consensus/src/experimental/tests/signing_phase_tests.rs +++ b/consensus/src/experimental/tests/signing_phase_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/experimental/tests/test_utils.rs b/consensus/src/experimental/tests/test_utils.rs index 7fe71bf16dac9..1bca070f5f186 100644 --- a/consensus/src/experimental/tests/test_utils.rs +++ b/consensus/src/experimental/tests/test_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{metrics_safety_rules::MetricsSafetyRules, test_utils::MockStorage}; diff --git a/consensus/src/lib.rs b/consensus/src/lib.rs index 126663c08e065..1ac5cb61d733a 100644 --- a/consensus/src/lib.rs +++ b/consensus/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/consensus/src/liveness/leader_reputation.rs b/consensus/src/liveness/leader_reputation.rs index 3894be898cd82..ceb2316ab3a15 100644 --- a/consensus/src/liveness/leader_reputation.rs +++ b/consensus/src/liveness/leader_reputation.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/liveness/leader_reputation_test.rs b/consensus/src/liveness/leader_reputation_test.rs index 6eea1cd00e27a..af38cef23608a 100644 --- a/consensus/src/liveness/leader_reputation_test.rs +++ b/consensus/src/liveness/leader_reputation_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::liveness::{ diff --git a/consensus/src/liveness/mod.rs b/consensus/src/liveness/mod.rs index 7ad3694ac92a2..b56b3bcf95954 100644 --- a/consensus/src/liveness/mod.rs +++ b/consensus/src/liveness/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub(crate) mod leader_reputation; diff --git a/consensus/src/liveness/proposal_generator.rs b/consensus/src/liveness/proposal_generator.rs index ecc49290530d8..5c16885cf9498 100644 --- a/consensus/src/liveness/proposal_generator.rs +++ b/consensus/src/liveness/proposal_generator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/liveness/proposal_generator_test.rs b/consensus/src/liveness/proposal_generator_test.rs index 0c4424f73fd58..f5bea6e2f558e 100644 --- a/consensus/src/liveness/proposal_generator_test.rs +++ b/consensus/src/liveness/proposal_generator_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/liveness/proposer_election.rs b/consensus/src/liveness/proposer_election.rs index 5c05466531ef2..4cebe404fa860 100644 --- a/consensus/src/liveness/proposer_election.rs +++ b/consensus/src/liveness/proposer_election.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use consensus_types::{ diff --git a/consensus/src/liveness/rotating_proposer_election.rs b/consensus/src/liveness/rotating_proposer_election.rs index c7bf83778d879..5850713af2d51 100644 --- a/consensus/src/liveness/rotating_proposer_election.rs +++ b/consensus/src/liveness/rotating_proposer_election.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::liveness::proposer_election::ProposerElection; diff --git a/consensus/src/liveness/rotating_proposer_test.rs b/consensus/src/liveness/rotating_proposer_test.rs index 8252612c26831..addffc559675a 100644 --- a/consensus/src/liveness/rotating_proposer_test.rs +++ b/consensus/src/liveness/rotating_proposer_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::liveness::{ diff --git a/consensus/src/liveness/round_proposer_election.rs b/consensus/src/liveness/round_proposer_election.rs index 3ce5e8d454c7f..e6cb6fee62ed8 100644 --- a/consensus/src/liveness/round_proposer_election.rs +++ b/consensus/src/liveness/round_proposer_election.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::liveness::proposer_election::ProposerElection; diff --git a/consensus/src/liveness/round_proposer_test.rs b/consensus/src/liveness/round_proposer_test.rs index d3e5e3653545b..8db2d5c003557 100644 --- a/consensus/src/liveness/round_proposer_test.rs +++ b/consensus/src/liveness/round_proposer_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::liveness::{ diff --git a/consensus/src/liveness/round_state.rs b/consensus/src/liveness/round_state.rs index 87c99ae9521a3..d721b87583f37 100644 --- a/consensus/src/liveness/round_state.rs +++ b/consensus/src/liveness/round_state.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/liveness/round_state_test.rs b/consensus/src/liveness/round_state_test.rs index 746b56d2b0f7c..0f95709474adf 100644 --- a/consensus/src/liveness/round_state_test.rs +++ b/consensus/src/liveness/round_state_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/logging.rs b/consensus/src/logging.rs index 30b20b270a036..b2668c4b77a62 100644 --- a/consensus/src/logging.rs +++ b/consensus/src/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_logger::Schema; diff --git a/consensus/src/metrics_safety_rules.rs b/consensus/src/metrics_safety_rules.rs index 5ba3d9c426055..857dd46ab7527 100644 --- a/consensus/src/metrics_safety_rules.rs +++ b/consensus/src/metrics_safety_rules.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::persistent_liveness_storage::PersistentLivenessStorage; diff --git a/consensus/src/network.rs b/consensus/src/network.rs index 58ef9b7024907..ce4e69b1ad160 100644 --- a/consensus/src/network.rs +++ b/consensus/src/network.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/network_interface.rs b/consensus/src/network_interface.rs index e3cdb4e1c28e6..85c59ebce9fac 100644 --- a/consensus/src/network_interface.rs +++ b/consensus/src/network_interface.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Interface between Consensus and Network layers. diff --git a/consensus/src/network_tests.rs b/consensus/src/network_tests.rs index 1fc78acc13184..426e7c0ed76a3 100644 --- a/consensus/src/network_tests.rs +++ b/consensus/src/network_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/pending_votes.rs b/consensus/src/pending_votes.rs index 0756f31679ebc..79aa77a2c37af 100644 --- a/consensus/src/pending_votes.rs +++ b/consensus/src/pending_votes.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! PendingVotes store pending votes observed for a fixed epoch and round. diff --git a/consensus/src/persistent_liveness_storage.rs b/consensus/src/persistent_liveness_storage.rs index 731b2641b8016..91b3d4650df37 100644 --- a/consensus/src/persistent_liveness_storage.rs +++ b/consensus/src/persistent_liveness_storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{consensusdb::ConsensusDB, epoch_manager::LivenessStorageData, error::DbError}; diff --git a/consensus/src/round_manager.rs b/consensus/src/round_manager.rs index 426c417047fde..b95554bfb92d6 100644 --- a/consensus/src/round_manager.rs +++ b/consensus/src/round_manager.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/round_manager_fuzzing.rs b/consensus/src/round_manager_fuzzing.rs index 3e6dcb37d6d23..f80a58a186d81 100644 --- a/consensus/src/round_manager_fuzzing.rs +++ b/consensus/src/round_manager_fuzzing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/round_manager_test.rs b/consensus/src/round_manager_test.rs index e512b2e9da0b4..dfdce4f9cb548 100644 --- a/consensus/src/round_manager_test.rs +++ b/consensus/src/round_manager_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/state_computer.rs b/consensus/src/state_computer.rs index 0e10a8a115ee6..6eb2a8bbb5ef6 100644 --- a/consensus/src/state_computer.rs +++ b/consensus/src/state_computer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/state_replication.rs b/consensus/src/state_replication.rs index df7f3ae85e365..2db542d9976be 100644 --- a/consensus/src/state_replication.rs +++ b/consensus/src/state_replication.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::error::{MempoolError, StateSyncError}; diff --git a/consensus/src/test_utils/mock_state_computer.rs b/consensus/src/test_utils/mock_state_computer.rs index ced4d242d5211..988fdca0737de 100644 --- a/consensus/src/test_utils/mock_state_computer.rs +++ b/consensus/src/test_utils/mock_state_computer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/test_utils/mock_storage.rs b/consensus/src/test_utils/mock_storage.rs index 49789b15e1c0f..21d49e2ac91c3 100644 --- a/consensus/src/test_utils/mock_storage.rs +++ b/consensus/src/test_utils/mock_storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/test_utils/mock_txn_manager.rs b/consensus/src/test_utils/mock_txn_manager.rs index 21e3a5565d6cc..318e2c169ef68 100644 --- a/consensus/src/test_utils/mock_txn_manager.rs +++ b/consensus/src/test_utils/mock_txn_manager.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{error::MempoolError, state_replication::TxnManager, txn_manager::MempoolProxy}; diff --git a/consensus/src/test_utils/mod.rs b/consensus/src/test_utils/mod.rs index 29e982fb3b620..9b789d9110aa5 100644 --- a/consensus/src/test_utils/mod.rs +++ b/consensus/src/test_utils/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::block_storage::{BlockReader, BlockStore}; diff --git a/consensus/src/twins/basic_twins_test.rs b/consensus/src/twins/basic_twins_test.rs index 35ab66ea40214..31addc16ac9b2 100644 --- a/consensus/src/twins/basic_twins_test.rs +++ b/consensus/src/twins/basic_twins_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/twins/mod.rs b/consensus/src/twins/mod.rs index 480434dfa0e77..a6fa7fd729d76 100644 --- a/consensus/src/twins/mod.rs +++ b/consensus/src/twins/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod basic_twins_test; diff --git a/consensus/src/twins/twins_node.rs b/consensus/src/twins/twins_node.rs index b32aea6410775..2c04c5d9bfc17 100644 --- a/consensus/src/twins/twins_node.rs +++ b/consensus/src/twins/twins_node.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/consensus/src/txn_manager.rs b/consensus/src/txn_manager.rs index 0d18b05ba2a98..5501e6c06522a 100644 --- a/consensus/src/txn_manager.rs +++ b/consensus/src/txn_manager.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{error::MempoolError, state_replication::TxnManager}; diff --git a/consensus/src/util/mock_time_service.rs b/consensus/src/util/mock_time_service.rs index 604cb5df23b76..8058d552820ff 100644 --- a/consensus/src/util/mock_time_service.rs +++ b/consensus/src/util/mock_time_service.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::util::time_service::{ScheduledTask, TimeService}; diff --git a/consensus/src/util/mod.rs b/consensus/src/util/mod.rs index 000664aa88f5a..bf54eb79dae45 100644 --- a/consensus/src/util/mod.rs +++ b/consensus/src/util/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[cfg(any(test, feature = "fuzzing"))] diff --git a/consensus/src/util/time_service.rs b/consensus/src/util/time_service.rs index ccad1669be6d7..c979c578038f6 100644 --- a/consensus/src/util/time_service.rs +++ b/consensus/src/util/time_service.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_logger::prelude::*; diff --git a/crates/aptos-bitvec/src/lib.rs b/crates/aptos-bitvec/src/lib.rs index bd617c443a1b4..5d37e44f93219 100644 --- a/crates/aptos-bitvec/src/lib.rs +++ b/crates/aptos-bitvec/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This library defines a BitVec struct that represents a bit vector. diff --git a/crates/aptos-crypto-derive/src/hasher.rs b/crates/aptos-crypto-derive/src/hasher.rs index 53aa6f4c6571b..5341735b7deb1 100644 --- a/crates/aptos-crypto-derive/src/hasher.rs +++ b/crates/aptos-crypto-derive/src/hasher.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 /// Converts a camel-case string to snake-case diff --git a/crates/aptos-crypto-derive/src/lib.rs b/crates/aptos-crypto-derive/src/lib.rs index 7b6ad3c9d7f7c..96e57681045fe 100644 --- a/crates/aptos-crypto-derive/src/lib.rs +++ b/crates/aptos-crypto-derive/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/aptos-crypto-derive/src/unions.rs b/crates/aptos-crypto-derive/src/unions.rs index 32a754aced61f..908a6b2e76fc7 100644 --- a/crates/aptos-crypto-derive/src/unions.rs +++ b/crates/aptos-crypto-derive/src/unions.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use proc_macro::TokenStream; diff --git a/crates/aptos-crypto/benches/ed25519.rs b/crates/aptos-crypto/benches/ed25519.rs index 0f72614507324..073847002b3e2 100644 --- a/crates/aptos-crypto/benches/ed25519.rs +++ b/crates/aptos-crypto/benches/ed25519.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[macro_use] diff --git a/crates/aptos-crypto/benches/noise.rs b/crates/aptos-crypto/benches/noise.rs index 77a5b1b4644e8..6a240ec7d1a41 100644 --- a/crates/aptos-crypto/benches/noise.rs +++ b/crates/aptos-crypto/benches/noise.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Don't forget to run this benchmark with AES-NI enable. diff --git a/crates/aptos-crypto/src/compat.rs b/crates/aptos-crypto/src/compat.rs index 70a79432ce693..d32b4f91076a7 100644 --- a/crates/aptos-crypto/src/compat.rs +++ b/crates/aptos-crypto/src/compat.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Wrapper structs for types that need [RustCrypto](https://github.com/RustCrypto) diff --git a/crates/aptos-crypto/src/ed25519.rs b/crates/aptos-crypto/src/ed25519.rs index 8ce5a9946407a..c83fde1abc727 100644 --- a/crates/aptos-crypto/src/ed25519.rs +++ b/crates/aptos-crypto/src/ed25519.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module provides an API for the PureEdDSA signature scheme over the ed25519 twisted diff --git a/crates/aptos-crypto/src/error.rs b/crates/aptos-crypto/src/error.rs index 324fe87fb5acd..f37d3860d4444 100644 --- a/crates/aptos-crypto/src/error.rs +++ b/crates/aptos-crypto/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Rexport the error types needed for the various crypto traits diff --git a/crates/aptos-crypto/src/hash.rs b/crates/aptos-crypto/src/hash.rs index 8e0c794e760c1..9c1e1b4d83935 100644 --- a/crates/aptos-crypto/src/hash.rs +++ b/crates/aptos-crypto/src/hash.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines traits and implementations of diff --git a/crates/aptos-crypto/src/hkdf.rs b/crates/aptos-crypto/src/hkdf.rs index 1fbe9824d2ac4..509c8020485e7 100644 --- a/crates/aptos-crypto/src/hkdf.rs +++ b/crates/aptos-crypto/src/hkdf.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! An implementation of HKDF, the HMAC-based Extract-and-Expand Key Derivation Function diff --git a/crates/aptos-crypto/src/lib.rs b/crates/aptos-crypto/src/lib.rs index d419c54fca54d..a725efb557ce7 100644 --- a/crates/aptos-crypto/src/lib.rs +++ b/crates/aptos-crypto/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/aptos-crypto/src/multi_ed25519.rs b/crates/aptos-crypto/src/multi_ed25519.rs index b27ab40f50ab7..458cac7f2e0ea 100644 --- a/crates/aptos-crypto/src/multi_ed25519.rs +++ b/crates/aptos-crypto/src/multi_ed25519.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module provides an API for the accountable threshold multi-sig PureEdDSA signature scheme diff --git a/crates/aptos-crypto/src/noise.rs b/crates/aptos-crypto/src/noise.rs index 6533ca5e5e347..4300ac041ab55 100644 --- a/crates/aptos-crypto/src/noise.rs +++ b/crates/aptos-crypto/src/noise.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Noise is a [protocol framework](https://noiseprotocol.org/) which we use to diff --git a/crates/aptos-crypto/src/tags.rs b/crates/aptos-crypto/src/tags.rs index 25f450ef25e1f..9af8678420d47 100644 --- a/crates/aptos-crypto/src/tags.rs +++ b/crates/aptos-crypto/src/tags.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module provides definitions of tag types to be used by MIRAI analyzing aptos-crypto. diff --git a/crates/aptos-crypto/src/test_utils.rs b/crates/aptos-crypto/src/test_utils.rs index 4945a84424e3c..81f51f31fc38a 100644 --- a/crates/aptos-crypto/src/test_utils.rs +++ b/crates/aptos-crypto/src/test_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Internal module containing convenience utility functions mainly for testing diff --git a/crates/aptos-crypto/src/traits.rs b/crates/aptos-crypto/src/traits.rs index cf624f5fd0cd0..6ee56429de135 100644 --- a/crates/aptos-crypto/src/traits.rs +++ b/crates/aptos-crypto/src/traits.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module provides a generic set of traits for dealing with cryptographic primitives. diff --git a/crates/aptos-crypto/src/unit_tests/bcs_test.rs b/crates/aptos-crypto/src/unit_tests/bcs_test.rs index 414bed546b9da..30e4b80666c1f 100644 --- a/crates/aptos-crypto/src/unit_tests/bcs_test.rs +++ b/crates/aptos-crypto/src/unit_tests/bcs_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use rand::{rngs::StdRng, SeedableRng}; diff --git a/crates/aptos-crypto/src/unit_tests/compat_test.rs b/crates/aptos-crypto/src/unit_tests/compat_test.rs index eaca56440da12..5a7fd35814c8d 100644 --- a/crates/aptos-crypto/src/unit_tests/compat_test.rs +++ b/crates/aptos-crypto/src/unit_tests/compat_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::compat; diff --git a/crates/aptos-crypto/src/unit_tests/compilation/cross_test.rs b/crates/aptos-crypto/src/unit_tests/compilation/cross_test.rs index 642ae647839e1..0fd240b5409ab 100644 --- a/crates/aptos-crypto/src/unit_tests/compilation/cross_test.rs +++ b/crates/aptos-crypto/src/unit_tests/compilation/cross_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ diff --git a/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj.rs b/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj.rs index a2fb426f41458..d21f94ea5a0ee 100644 --- a/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj.rs +++ b/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::traits::*; diff --git a/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj_pub.rs b/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj_pub.rs index 3d17e54eb80a8..6d547901ed27d 100644 --- a/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj_pub.rs +++ b/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj_pub.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::traits::*; diff --git a/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj_sig.rs b/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj_sig.rs index a2fb426f41458..d21f94ea5a0ee 100644 --- a/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj_sig.rs +++ b/crates/aptos-crypto/src/unit_tests/compilation/cross_test_trait_obj_sig.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::traits::*; diff --git a/crates/aptos-crypto/src/unit_tests/compilation/small_kdf.rs b/crates/aptos-crypto/src/unit_tests/compilation/small_kdf.rs index 6f4828501869c..604a2a1bee4f5 100644 --- a/crates/aptos-crypto/src/unit_tests/compilation/small_kdf.rs +++ b/crates/aptos-crypto/src/unit_tests/compilation/small_kdf.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 fn main() { diff --git a/crates/aptos-crypto/src/unit_tests/cross_test.rs b/crates/aptos-crypto/src/unit_tests/cross_test.rs index 1522c1dfa9c14..e98078b6a5d24 100644 --- a/crates/aptos-crypto/src/unit_tests/cross_test.rs +++ b/crates/aptos-crypto/src/unit_tests/cross_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // This is necessary for the derive macros which rely on being used in a diff --git a/crates/aptos-crypto/src/unit_tests/cryptohasher.rs b/crates/aptos-crypto/src/unit_tests/cryptohasher.rs index d9cd2896b67a9..d96b6c0df9e54 100644 --- a/crates/aptos-crypto/src/unit_tests/cryptohasher.rs +++ b/crates/aptos-crypto/src/unit_tests/cryptohasher.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Test file for the procedural macros CryptoHasher and BCSCryptoHash. diff --git a/crates/aptos-crypto/src/unit_tests/ed25519_test.rs b/crates/aptos-crypto/src/unit_tests/ed25519_test.rs index 754a9339114a6..e003e4bdc660f 100644 --- a/crates/aptos-crypto/src/unit_tests/ed25519_test.rs +++ b/crates/aptos-crypto/src/unit_tests/ed25519_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate as aptos_crypto; diff --git a/crates/aptos-crypto/src/unit_tests/hash_test.rs b/crates/aptos-crypto/src/unit_tests/hash_test.rs index ad605ec737be0..3bc82d4289ff9 100644 --- a/crates/aptos-crypto/src/unit_tests/hash_test.rs +++ b/crates/aptos-crypto/src/unit_tests/hash_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::hash::*; diff --git a/crates/aptos-crypto/src/unit_tests/hkdf_test.rs b/crates/aptos-crypto/src/unit_tests/hkdf_test.rs index bdf1787c3043b..ec80b254e2103 100644 --- a/crates/aptos-crypto/src/unit_tests/hkdf_test.rs +++ b/crates/aptos-crypto/src/unit_tests/hkdf_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{compat::Sha3_256, hkdf::*}; diff --git a/crates/aptos-crypto/src/unit_tests/mod.rs b/crates/aptos-crypto/src/unit_tests/mod.rs index b21c05da26de3..b2f31580742e1 100644 --- a/crates/aptos-crypto/src/unit_tests/mod.rs +++ b/crates/aptos-crypto/src/unit_tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod bcs_test; diff --git a/crates/aptos-crypto/src/unit_tests/multi_ed25519_test.rs b/crates/aptos-crypto/src/unit_tests/multi_ed25519_test.rs index 00f35c8b70059..3611ae6039082 100644 --- a/crates/aptos-crypto/src/unit_tests/multi_ed25519_test.rs +++ b/crates/aptos-crypto/src/unit_tests/multi_ed25519_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/crates/aptos-crypto/src/unit_tests/noise_test.rs b/crates/aptos-crypto/src/unit_tests/noise_test.rs index d7950a3348798..af0ef2a993807 100644 --- a/crates/aptos-crypto/src/unit_tests/noise_test.rs +++ b/crates/aptos-crypto/src/unit_tests/noise_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::{fs::File, io::BufReader, path::PathBuf}; diff --git a/crates/aptos-crypto/src/validatable.rs b/crates/aptos-crypto/src/validatable.rs index 67fecf93a03ea..082f40b8bfd7c 100644 --- a/crates/aptos-crypto/src/validatable.rs +++ b/crates/aptos-crypto/src/validatable.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module provides the `Validate` trait and `Validatable` type in order to aid in deferred diff --git a/crates/aptos-crypto/src/x25519.rs b/crates/aptos-crypto/src/x25519.rs index dd05fb9fd5a92..a8c9ec00b1f76 100644 --- a/crates/aptos-crypto/src/x25519.rs +++ b/crates/aptos-crypto/src/x25519.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! An abstraction of x25519 elliptic curve keys required for diff --git a/crates/aptos-faucet/src/lib.rs b/crates/aptos-faucet/src/lib.rs index d89c233c1f29b..040b312150e96 100644 --- a/crates/aptos-faucet/src/lib.rs +++ b/crates/aptos-faucet/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This crate provides the Faucet service for creating and funding accounts on the Aptos Network. diff --git a/crates/aptos-faucet/src/main.rs b/crates/aptos-faucet/src/main.rs index a6d8b3dc8e3d6..d5594d1d8e9e8 100644 --- a/crates/aptos-faucet/src/main.rs +++ b/crates/aptos-faucet/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_logger::info; @@ -12,7 +12,7 @@ use structopt::StructOpt; #[derive(Debug, StructOpt)] #[structopt( name = "Aptos Faucet", - author = "The Diem Core Contributors", + author = "Aptos", about = "Aptos Testnet utility service for creating test accounts and minting test coins" )] struct Args { diff --git a/crates/aptos-faucet/src/mint.rs b/crates/aptos-faucet/src/mint.rs index 1ee9d78d504c7..62343801391b2 100644 --- a/crates/aptos-faucet/src/mint.rs +++ b/crates/aptos-faucet/src/mint.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::Service; diff --git a/crates/aptos-id-generator/src/lib.rs b/crates/aptos-id-generator/src/lib.rs index f4dde3793e113..ee2d585e293c5 100644 --- a/crates/aptos-id-generator/src/lib.rs +++ b/crates/aptos-id-generator/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] use std::{ diff --git a/crates/aptos-infallible/src/lib.rs b/crates/aptos-infallible/src/lib.rs index 53f8fe8d95d37..3040d4426ef9c 100644 --- a/crates/aptos-infallible/src/lib.rs +++ b/crates/aptos-infallible/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod math; diff --git a/crates/aptos-infallible/src/math.rs b/crates/aptos-infallible/src/math.rs index 15d85ca661e49..2dcb75ba7d409 100644 --- a/crates/aptos-infallible/src/math.rs +++ b/crates/aptos-infallible/src/math.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 /// Utility macro for writing secure arithmetic operations in order to avoid diff --git a/crates/aptos-infallible/src/mutex.rs b/crates/aptos-infallible/src/mutex.rs index 0dd6975fdacfd..35ce970313fe7 100644 --- a/crates/aptos-infallible/src/mutex.rs +++ b/crates/aptos-infallible/src/mutex.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::sync::Mutex as StdMutex; diff --git a/crates/aptos-infallible/src/nonzero.rs b/crates/aptos-infallible/src/nonzero.rs index cb5a72140878f..ed6cef1120f6a 100644 --- a/crates/aptos-infallible/src/nonzero.rs +++ b/crates/aptos-infallible/src/nonzero.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 /// A wrapper around `std::num::NonZeroUsize` to no longer worry about `unwrap()` diff --git a/crates/aptos-infallible/src/rwlock.rs b/crates/aptos-infallible/src/rwlock.rs index c09aa0fa1aec6..a4e0ec36543aa 100644 --- a/crates/aptos-infallible/src/rwlock.rs +++ b/crates/aptos-infallible/src/rwlock.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::sync::RwLock as StdRwLock; diff --git a/crates/aptos-infallible/src/time.rs b/crates/aptos-infallible/src/time.rs index 727273c442c48..48d40bcb5b55c 100644 --- a/crates/aptos-infallible/src/time.rs +++ b/crates/aptos-infallible/src/time.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/aptos-log-derive/src/lib.rs b/crates/aptos-log-derive/src/lib.rs index 9907cdba33dae..98cb6c5788ae5 100644 --- a/crates/aptos-log-derive/src/lib.rs +++ b/crates/aptos-log-derive/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use proc_macro::TokenStream; diff --git a/crates/aptos-logger/src/aptos_logger.rs b/crates/aptos-logger/src/aptos_logger.rs index e73447eefce07..1ebf091c28ea6 100644 --- a/crates/aptos-logger/src/aptos_logger.rs +++ b/crates/aptos-logger/src/aptos_logger.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Implementation of writing logs to both local printers (e.g. stdout) and remote loggers diff --git a/crates/aptos-logger/src/counters.rs b/crates/aptos-logger/src/counters.rs index c1d53f2f6abad..f3fe3d2fe909d 100644 --- a/crates/aptos-logger/src/counters.rs +++ b/crates/aptos-logger/src/counters.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Logging metrics for determining quality of log submission diff --git a/crates/aptos-logger/src/event.rs b/crates/aptos-logger/src/event.rs index 28184ce98e0c9..eab87726d74cc 100644 --- a/crates/aptos-logger/src/event.rs +++ b/crates/aptos-logger/src/event.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Metadata, Schema}; diff --git a/crates/aptos-logger/src/filter.rs b/crates/aptos-logger/src/filter.rs index 18961f1f86fca..922dd6133f6fe 100644 --- a/crates/aptos-logger/src/filter.rs +++ b/crates/aptos-logger/src/filter.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Filtering definitions for controlling what modules and levels are logged diff --git a/crates/aptos-logger/src/kv.rs b/crates/aptos-logger/src/kv.rs index 1249f903abea7..7b3e4aba10338 100644 --- a/crates/aptos-logger/src/kv.rs +++ b/crates/aptos-logger/src/kv.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Key-Value definitions for macros diff --git a/crates/aptos-logger/src/lib.rs b/crates/aptos-logger/src/lib.rs index 227209978dab4..fef07c9cf1ab7 100644 --- a/crates/aptos-logger/src/lib.rs +++ b/crates/aptos-logger/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This crates provides an API for logging. diff --git a/crates/aptos-logger/src/logger.rs b/crates/aptos-logger/src/logger.rs index 299bc0ffb10cf..5f7f5e04b211b 100644 --- a/crates/aptos-logger/src/logger.rs +++ b/crates/aptos-logger/src/logger.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Global logger definition and functions diff --git a/crates/aptos-logger/src/macros.rs b/crates/aptos-logger/src/macros.rs index eb8e6aac9ccca..30f17bf8b8035 100644 --- a/crates/aptos-logger/src/macros.rs +++ b/crates/aptos-logger/src/macros.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Macros for sending logs at predetermined log `Level`s diff --git a/crates/aptos-logger/src/metadata.rs b/crates/aptos-logger/src/metadata.rs index d0e501178a136..4ec086b74b951 100644 --- a/crates/aptos-logger/src/metadata.rs +++ b/crates/aptos-logger/src/metadata.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/crates/aptos-logger/src/sample.rs b/crates/aptos-logger/src/sample.rs index ecb517e54d872..3ec189f5a30d1 100644 --- a/crates/aptos-logger/src/sample.rs +++ b/crates/aptos-logger/src/sample.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Periodic sampling for logs, metrics, and other use cases through a simple macro diff --git a/crates/aptos-logger/src/security.rs b/crates/aptos-logger/src/security.rs index 87660b0d2e379..1681a7f520d59 100644 --- a/crates/aptos-logger/src/security.rs +++ b/crates/aptos-logger/src/security.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! diff --git a/crates/aptos-logger/src/struct_log.rs b/crates/aptos-logger/src/struct_log.rs index e36b24190c383..6be5c16321fb2 100644 --- a/crates/aptos-logger/src/struct_log.rs +++ b/crates/aptos-logger/src/struct_log.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Implementations for sending logs to external log processes e.g. Logstash diff --git a/crates/aptos-logger/src/tracing_adapter.rs b/crates/aptos-logger/src/tracing_adapter.rs index 5f04c511bf37f..f06d707bd4bc1 100644 --- a/crates/aptos-logger/src/tracing_adapter.rs +++ b/crates/aptos-logger/src/tracing_adapter.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{self as dl}; diff --git a/crates/aptos-logger/tests/derive.rs b/crates/aptos-logger/tests/derive.rs index d15eeacf4736b..d954bbeacdb45 100644 --- a/crates/aptos-logger/tests/derive.rs +++ b/crates/aptos-logger/tests/derive.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_log_derive::Schema; diff --git a/crates/aptos-logger/tests/logger.rs b/crates/aptos-logger/tests/logger.rs index 2ad2a5d99e2fd..e575ce1dcabca 100644 --- a/crates/aptos-logger/tests/logger.rs +++ b/crates/aptos-logger/tests/logger.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_infallible::RwLock; diff --git a/crates/aptos-logger/tests/logger_custom_format.rs b/crates/aptos-logger/tests/logger_custom_format.rs index 38827ca326428..84859c7550942 100644 --- a/crates/aptos-logger/tests/logger_custom_format.rs +++ b/crates/aptos-logger/tests/logger_custom_format.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_infallible::RwLock; diff --git a/crates/aptos-logger/tests/remote.rs b/crates/aptos-logger/tests/remote.rs index c3001d2ccaf56..48362ca7baa89 100644 --- a/crates/aptos-logger/tests/remote.rs +++ b/crates/aptos-logger/tests/remote.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_logger::{debug, error, trace, AptosData, Level}; diff --git a/crates/aptos-logger/tests/tracing_translation_tests.rs b/crates/aptos-logger/tests/tracing_translation_tests.rs index bf37c07a501c1..dc1b5ade2f02f 100644 --- a/crates/aptos-logger/tests/tracing_translation_tests.rs +++ b/crates/aptos-logger/tests/tracing_translation_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_infallible::RwLock; diff --git a/crates/aptos-metrics-core/src/lib.rs b/crates/aptos-metrics-core/src/lib.rs index 7673d2bb9e870..5969fd0ae778e 100644 --- a/crates/aptos-metrics-core/src/lib.rs +++ b/crates/aptos-metrics-core/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // Re-export counter types from prometheus crate diff --git a/crates/aptos-metrics/build.rs b/crates/aptos-metrics/build.rs index d15bb816502a6..16570874d275a 100644 --- a/crates/aptos-metrics/build.rs +++ b/crates/aptos-metrics/build.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::{env, process::Command}; diff --git a/crates/aptos-metrics/src/json_encoder.rs b/crates/aptos-metrics/src/json_encoder.rs index 0b9ab9b2ace50..71fbfeff36938 100644 --- a/crates/aptos-metrics/src/json_encoder.rs +++ b/crates/aptos-metrics/src/json_encoder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use prometheus::{ diff --git a/crates/aptos-metrics/src/json_metrics.rs b/crates/aptos-metrics/src/json_metrics.rs index a3d378516ab59..1ab8b737007ca 100644 --- a/crates/aptos-metrics/src/json_metrics.rs +++ b/crates/aptos-metrics/src/json_metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::collections::HashMap; diff --git a/crates/aptos-metrics/src/lib.rs b/crates/aptos-metrics/src/lib.rs index 92bc5313c0101..9a75a38c66628 100644 --- a/crates/aptos-metrics/src/lib.rs +++ b/crates/aptos-metrics/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! # Metrics diff --git a/crates/aptos-metrics/src/metric_server.rs b/crates/aptos-metrics/src/metric_server.rs index c32f3db4cc15c..f5571619d9344 100644 --- a/crates/aptos-metrics/src/metric_server.rs +++ b/crates/aptos-metrics/src/metric_server.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/crates/aptos-metrics/src/op_counters.rs b/crates/aptos-metrics/src/op_counters.rs index ca0113a53bee6..1c7eeed5ef38c 100644 --- a/crates/aptos-metrics/src/op_counters.rs +++ b/crates/aptos-metrics/src/op_counters.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! `OpCounters` is a collection of convenience methods to add arbitrary counters to modules. diff --git a/crates/aptos-metrics/src/public_metrics.rs b/crates/aptos-metrics/src/public_metrics.rs index ee9243b68d8cd..b948f647b5670 100644 --- a/crates/aptos-metrics/src/public_metrics.rs +++ b/crates/aptos-metrics/src/public_metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // A list of metrics which will be made public to all the partners diff --git a/crates/aptos-metrics/src/unit_tests/lib_test.rs b/crates/aptos-metrics/src/unit_tests/lib_test.rs index 72fa905645982..5f37bda66a76d 100644 --- a/crates/aptos-metrics/src/unit_tests/lib_test.rs +++ b/crates/aptos-metrics/src/unit_tests/lib_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::super::*; diff --git a/crates/aptos-metrics/src/unit_tests/mod.rs b/crates/aptos-metrics/src/unit_tests/mod.rs index cdbf5c171f93e..8f5d773b353b0 100644 --- a/crates/aptos-metrics/src/unit_tests/mod.rs +++ b/crates/aptos-metrics/src/unit_tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod lib_test; diff --git a/crates/aptos-proptest-helpers/src/growing_subset.rs b/crates/aptos-proptest-helpers/src/growing_subset.rs index 89c9dfaa5b3fc..d60249c1a350f 100644 --- a/crates/aptos-proptest-helpers/src/growing_subset.rs +++ b/crates/aptos-proptest-helpers/src/growing_subset.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use proptest::sample::Index; diff --git a/crates/aptos-proptest-helpers/src/lib.rs b/crates/aptos-proptest-helpers/src/lib.rs index 6b1154ab7a743..c4d349da3eeba 100644 --- a/crates/aptos-proptest-helpers/src/lib.rs +++ b/crates/aptos-proptest-helpers/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/aptos-proptest-helpers/src/repeat_vec.rs b/crates/aptos-proptest-helpers/src/repeat_vec.rs index 935b943c2498f..386ce73d5344b 100644 --- a/crates/aptos-proptest-helpers/src/repeat_vec.rs +++ b/crates/aptos-proptest-helpers/src/repeat_vec.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::pick_slice_idxs; diff --git a/crates/aptos-proptest-helpers/src/unit_tests.rs b/crates/aptos-proptest-helpers/src/unit_tests.rs index 7676a6a13b5d1..cb37d8a8a4b1e 100644 --- a/crates/aptos-proptest-helpers/src/unit_tests.rs +++ b/crates/aptos-proptest-helpers/src/unit_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod growing_subset_tests; diff --git a/crates/aptos-proptest-helpers/src/unit_tests/growing_subset_tests.rs b/crates/aptos-proptest-helpers/src/unit_tests/growing_subset_tests.rs index 8ab0cc6a0f593..e7137abdbc504 100644 --- a/crates/aptos-proptest-helpers/src/unit_tests/growing_subset_tests.rs +++ b/crates/aptos-proptest-helpers/src/unit_tests/growing_subset_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::GrowingSubset; diff --git a/crates/aptos-proptest-helpers/src/unit_tests/pick_idx_tests.rs b/crates/aptos-proptest-helpers/src/unit_tests/pick_idx_tests.rs index d8cba0c790821..404d24854df1c 100644 --- a/crates/aptos-proptest-helpers/src/unit_tests/pick_idx_tests.rs +++ b/crates/aptos-proptest-helpers/src/unit_tests/pick_idx_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{pick_slice_idxs, Index}; diff --git a/crates/aptos-proptest-helpers/src/unit_tests/repeat_vec_tests.rs b/crates/aptos-proptest-helpers/src/unit_tests/repeat_vec_tests.rs index 1953d7a271de3..d6f706bb56432 100644 --- a/crates/aptos-proptest-helpers/src/unit_tests/repeat_vec_tests.rs +++ b/crates/aptos-proptest-helpers/src/unit_tests/repeat_vec_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::RepeatVec; diff --git a/crates/aptos-proptest-helpers/src/value_generator.rs b/crates/aptos-proptest-helpers/src/value_generator.rs index 6b002640e5c0a..a7a059c5bdeea 100644 --- a/crates/aptos-proptest-helpers/src/value_generator.rs +++ b/crates/aptos-proptest-helpers/src/value_generator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use proptest::{ diff --git a/crates/aptos-rate-limiter/src/async_lib.rs b/crates/aptos-rate-limiter/src/async_lib.rs index 93a7f6903214f..286771209d155 100644 --- a/crates/aptos-rate-limiter/src/async_lib.rs +++ b/crates/aptos-rate-limiter/src/async_lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::rate_limit::{Bucket, SharedBucket}; diff --git a/crates/aptos-rate-limiter/src/lib.rs b/crates/aptos-rate-limiter/src/lib.rs index 89896c9ec19a8..b966dffea51fc 100644 --- a/crates/aptos-rate-limiter/src/lib.rs +++ b/crates/aptos-rate-limiter/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/aptos-rate-limiter/src/main.rs b/crates/aptos-rate-limiter/src/main.rs index d0618a2da6dd3..e7da0b5fa041b 100644 --- a/crates/aptos-rate-limiter/src/main.rs +++ b/crates/aptos-rate-limiter/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_infallible::Mutex; diff --git a/crates/aptos-rate-limiter/src/rate_limit.rs b/crates/aptos-rate-limiter/src/rate_limit.rs index 1f3954c623c86..a237b27f3cced 100644 --- a/crates/aptos-rate-limiter/src/rate_limit.rs +++ b/crates/aptos-rate-limiter/src/rate_limit.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_infallible::{Mutex, RwLock}; diff --git a/crates/aptos-rest-client/src/dpn.rs b/crates/aptos-rest-client/src/dpn.rs index 41caebfedbc8b..448d64379ae37 100644 --- a/crates/aptos-rest-client/src/dpn.rs +++ b/crates/aptos-rest-client/src/dpn.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_api_types::U64; diff --git a/crates/aptos-rest-client/src/error.rs b/crates/aptos-rest-client/src/error.rs index 5cfef7fd8b924..c6f74cbfa97ba 100644 --- a/crates/aptos-rest-client/src/error.rs +++ b/crates/aptos-rest-client/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub type Result = ::std::result::Result; diff --git a/crates/aptos-rest-client/src/faucet.rs b/crates/aptos-rest-client/src/faucet.rs index 19803dcc0b0ad..e83cc52e21ae2 100644 --- a/crates/aptos-rest-client/src/faucet.rs +++ b/crates/aptos-rest-client/src/faucet.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{error::Error, Client, Result}; diff --git a/crates/aptos-rest-client/src/lib.rs b/crates/aptos-rest-client/src/lib.rs index 5879a0a822df1..62be0ceb365d7 100644 --- a/crates/aptos-rest-client/src/lib.rs +++ b/crates/aptos-rest-client/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{anyhow, Result}; diff --git a/crates/aptos-rest-client/src/response.rs b/crates/aptos-rest-client/src/response.rs index 42e04be8abfe0..cc3c14f940c1f 100644 --- a/crates/aptos-rest-client/src/response.rs +++ b/crates/aptos-rest-client/src/response.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::state::State; diff --git a/crates/aptos-rest-client/src/state.rs b/crates/aptos-rest-client/src/state.rs index 13ac12c48ed1e..ba24d5ef17538 100644 --- a/crates/aptos-rest-client/src/state.rs +++ b/crates/aptos-rest-client/src/state.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_api_types::{ diff --git a/crates/aptos-rest-client/src/types.rs b/crates/aptos-rest-client/src/types.rs index d4015181c4f7f..d21b28b03e517 100644 --- a/crates/aptos-rest-client/src/types.rs +++ b/crates/aptos-rest-client/src/types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_api_types::{Address, U64}; diff --git a/crates/aptos-retrier/src/lib.rs b/crates/aptos-retrier/src/lib.rs index f2d300718a64a..33760b97db5f7 100644 --- a/crates/aptos-retrier/src/lib.rs +++ b/crates/aptos-retrier/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/aptos-temppath/src/lib.rs b/crates/aptos-temppath/src/lib.rs index 421e59103707b..971aeef76ac22 100644 --- a/crates/aptos-temppath/src/lib.rs +++ b/crates/aptos-temppath/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/aptos-time-service/src/interval.rs b/crates/aptos-time-service/src/interval.rs index 3a45095dcafbf..152da1e6cf2a4 100644 --- a/crates/aptos-time-service/src/interval.rs +++ b/crates/aptos-time-service/src/interval.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Sleep, SleepTrait, ZERO_DURATION}; diff --git a/crates/aptos-time-service/src/lib.rs b/crates/aptos-time-service/src/lib.rs index 47939b6406295..cb858b58b75fc 100644 --- a/crates/aptos-time-service/src/lib.rs +++ b/crates/aptos-time-service/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/aptos-time-service/src/mock.rs b/crates/aptos-time-service/src/mock.rs index 9b818ea6b413d..5f0e144ffcd51 100644 --- a/crates/aptos-time-service/src/mock.rs +++ b/crates/aptos-time-service/src/mock.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Sleep, SleepTrait, TimeServiceTrait, ZERO_DURATION}; diff --git a/crates/aptos-time-service/src/real.rs b/crates/aptos-time-service/src/real.rs index a1c16d92a61df..5a88e595fe86c 100644 --- a/crates/aptos-time-service/src/real.rs +++ b/crates/aptos-time-service/src/real.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::TimeServiceTrait; diff --git a/crates/aptos-time-service/src/timeout.rs b/crates/aptos-time-service/src/timeout.rs index caf42c433ca1b..298a85582bd3e 100644 --- a/crates/aptos-time-service/src/timeout.rs +++ b/crates/aptos-time-service/src/timeout.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::Sleep; diff --git a/crates/aptos-workspace-hack/build.rs b/crates/aptos-workspace-hack/build.rs index eb67762ecd5b0..3c34c03048279 100644 --- a/crates/aptos-workspace-hack/build.rs +++ b/crates/aptos-workspace-hack/build.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // A build script is required for cargo to consider build dependencies. diff --git a/crates/aptos-workspace-hack/src/lib.rs b/crates/aptos-workspace-hack/src/lib.rs index e2f6627b91129..e4377433ef59b 100644 --- a/crates/aptos-workspace-hack/src/lib.rs +++ b/crates/aptos-workspace-hack/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // intentionally left blank diff --git a/crates/bounded-executor/src/lib.rs b/crates/bounded-executor/src/lib.rs index e6424757ed980..7b9703f4cbf6b 100644 --- a/crates/bounded-executor/src/lib.rs +++ b/crates/bounded-executor/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/channel/src/aptos_channel.rs b/crates/channel/src/aptos_channel.rs index 025a9128b4175..0cf80915fa78d 100644 --- a/crates/channel/src/aptos_channel.rs +++ b/crates/channel/src/aptos_channel.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! aptos_channel provides an mpsc channel which has two ends `aptos_channel::Receiver` diff --git a/crates/channel/src/aptos_channel_test.rs b/crates/channel/src/aptos_channel_test.rs index 191dc2998ed50..47c27803971d4 100644 --- a/crates/channel/src/aptos_channel_test.rs +++ b/crates/channel/src/aptos_channel_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{aptos_channel, aptos_channel::ElementStatus, message_queues::QueueStyle}; diff --git a/crates/channel/src/lib.rs b/crates/channel/src/lib.rs index 607b9e8ddccc8..82d1b19f22208 100644 --- a/crates/channel/src/lib.rs +++ b/crates/channel/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/channel/src/message_queues.rs b/crates/channel/src/message_queues.rs index 84bd38353510b..1a6085a3f6363 100644 --- a/crates/channel/src/message_queues.rs +++ b/crates/channel/src/message_queues.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::IntCounterVec; diff --git a/crates/channel/src/message_queues_test.rs b/crates/channel/src/message_queues_test.rs index 744f312553656..1ec869fa5a5ff 100644 --- a/crates/channel/src/message_queues_test.rs +++ b/crates/channel/src/message_queues_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::message_queues::{PerKeyQueue, QueueStyle}; diff --git a/crates/channel/src/test.rs b/crates/channel/src/test.rs index b148f8e7114c6..8475deaf17e9c 100644 --- a/crates/channel/src/test.rs +++ b/crates/channel/src/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate as channel; diff --git a/crates/channel/tests/many-keys-stress-test.rs b/crates/channel/tests/many-keys-stress-test.rs index f3425201aaad2..23eb2ded242e1 100644 --- a/crates/channel/tests/many-keys-stress-test.rs +++ b/crates/channel/tests/many-keys-stress-test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use channel::{aptos_channel, message_queues::QueueStyle}; diff --git a/crates/crash-handler/src/lib.rs b/crates/crash-handler/src/lib.rs index faa29519339b0..0f2018e47313a 100644 --- a/crates/crash-handler/src/lib.rs +++ b/crates/crash-handler/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/debug-interface/src/lib.rs b/crates/debug-interface/src/lib.rs index 3513be045b069..9f108da80f44f 100644 --- a/crates/debug-interface/src/lib.rs +++ b/crates/debug-interface/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/crates/debug-interface/src/node_debug_service.rs b/crates/debug-interface/src/node_debug_service.rs index d2cf0e2f8e45c..787bf14b88d12 100644 --- a/crates/debug-interface/src/node_debug_service.rs +++ b/crates/debug-interface/src/node_debug_service.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Debug interface to access information in a specific node. diff --git a/crates/fallible/src/copy_from_slice.rs b/crates/fallible/src/copy_from_slice.rs index cfc46c8e64b50..e7f56030ab800 100644 --- a/crates/fallible/src/copy_from_slice.rs +++ b/crates/fallible/src/copy_from_slice.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use thiserror::Error; diff --git a/crates/fallible/src/lib.rs b/crates/fallible/src/lib.rs index 1f97b58ec7504..882994c034222 100644 --- a/crates/fallible/src/lib.rs +++ b/crates/fallible/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod copy_from_slice; diff --git a/crates/num-variants/src/lib.rs b/crates/num-variants/src/lib.rs index 81a04a934d89e..7437bf55e68b2 100644 --- a/crates/num-variants/src/lib.rs +++ b/crates/num-variants/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Add an associated constant to an enum describing the number of variants it has. diff --git a/crates/num-variants/tests/basic.rs b/crates/num-variants/tests/basic.rs index f730cbe27eb7a..a7533f26bc392 100644 --- a/crates/num-variants/tests/basic.rs +++ b/crates/num-variants/tests/basic.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![allow(dead_code)] diff --git a/crates/proxy/src/lib.rs b/crates/proxy/src/lib.rs index 8f7c7d28cd783..291d8dbe577e8 100644 --- a/crates/proxy/src/lib.rs +++ b/crates/proxy/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use ipnet::IpNet; diff --git a/crates/short-hex-str/src/lib.rs b/crates/short-hex-str/src/lib.rs index ae1eb7cd423b5..9a262f0607509 100644 --- a/crates/short-hex-str/src/lib.rs +++ b/crates/short-hex-str/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use mirai_annotations::debug_checked_precondition; diff --git a/crates/transaction-emitter/src/atomic_histogram.rs b/crates/transaction-emitter/src/atomic_histogram.rs index 784a8ddae793e..03ea731448cd6 100644 --- a/crates/transaction-emitter/src/atomic_histogram.rs +++ b/crates/transaction-emitter/src/atomic_histogram.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/transaction-emitter/src/cluster.rs b/crates/transaction-emitter/src/cluster.rs index 38d377e4b41b7..71d48735d12ec 100644 --- a/crates/transaction-emitter/src/cluster.rs +++ b/crates/transaction-emitter/src/cluster.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/crates/transaction-emitter/src/instance.rs b/crates/transaction-emitter/src/instance.rs index 8a250b71bf70e..8096dbb2f9f4e 100644 --- a/crates/transaction-emitter/src/instance.rs +++ b/crates/transaction-emitter/src/instance.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{format_err, Result}; diff --git a/crates/transaction-emitter/src/lib.rs b/crates/transaction-emitter/src/lib.rs index e866ab789af5d..66c77eddd2fdc 100644 --- a/crates/transaction-emitter/src/lib.rs +++ b/crates/transaction-emitter/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{format_err, Context, Result}; diff --git a/crates/transaction-emitter/src/main.rs b/crates/transaction-emitter/src/main.rs index 2931f9525726d..8640e13fda172 100644 --- a/crates/transaction-emitter/src/main.rs +++ b/crates/transaction-emitter/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{bail, format_err, Result}; diff --git a/developer-docs-site/static/examples/python/first_transaction.py b/developer-docs-site/static/examples/python/first_transaction.py index d6854b8b65785..c3ec719ac210a 100644 --- a/developer-docs-site/static/examples/python/first_transaction.py +++ b/developer-docs-site/static/examples/python/first_transaction.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 from nacl.signing import SigningKey diff --git a/developer-docs-site/static/examples/python/hello_blockchain.py b/developer-docs-site/static/examples/python/hello_blockchain.py index 2c475594825e6..f06c95839327f 100644 --- a/developer-docs-site/static/examples/python/hello_blockchain.py +++ b/developer-docs-site/static/examples/python/hello_blockchain.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 from typing import Optional diff --git a/developer-docs-site/static/examples/rust/first_transaction/src/lib.rs b/developer-docs-site/static/examples/rust/first_transaction/src/lib.rs index ba0737882c8b2..b13b803686f3d 100644 --- a/developer-docs-site/static/examples/rust/first_transaction/src/lib.rs +++ b/developer-docs-site/static/examples/rust/first_transaction/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::{ diff --git a/developer-docs-site/static/examples/rust/first_transaction/src/main.rs b/developer-docs-site/static/examples/rust/first_transaction/src/main.rs index 8469e15b38703..16d36eed1bdfa 100644 --- a/developer-docs-site/static/examples/rust/first_transaction/src/main.rs +++ b/developer-docs-site/static/examples/rust/first_transaction/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use first_transaction::{Account, FaucetClient, RestClient, FAUCET_URL, TESTNET_URL}; diff --git a/developer-docs-site/static/examples/rust/hello_blockchain/src/lib.rs b/developer-docs-site/static/examples/rust/hello_blockchain/src/lib.rs index df0aff5ef545e..2cc746c6f95ad 100644 --- a/developer-docs-site/static/examples/rust/hello_blockchain/src/lib.rs +++ b/developer-docs-site/static/examples/rust/hello_blockchain/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use first_transaction::{Account, RestClient}; diff --git a/developer-docs-site/static/examples/rust/hello_blockchain/src/main.rs b/developer-docs-site/static/examples/rust/hello_blockchain/src/main.rs index f9fd4ec9e790f..bee993078f6a7 100644 --- a/developer-docs-site/static/examples/rust/hello_blockchain/src/main.rs +++ b/developer-docs-site/static/examples/rust/hello_blockchain/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use first_transaction::{Account, FaucetClient, FAUCET_URL, TESTNET_URL}; diff --git a/devtools/x-core/src/core_config.rs b/devtools/x-core/src/core_config.rs index 786e56c3fbef7..8b7dd2f9c711f 100644 --- a/devtools/x-core/src/core_config.rs +++ b/devtools/x-core/src/core_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use hakari::summaries::HakariConfig; diff --git a/devtools/x-core/src/errors.rs b/devtools/x-core/src/errors.rs index af375e3dce013..55cefc0baa774 100644 --- a/devtools/x-core/src/errors.rs +++ b/devtools/x-core/src/errors.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use camino::{Utf8Path, Utf8PathBuf}; diff --git a/devtools/x-core/src/git.rs b/devtools/x-core/src/git.rs index 77e5a8879d359..252fcc02ba2e3 100644 --- a/devtools/x-core/src/git.rs +++ b/devtools/x-core/src/git.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::errors::*; diff --git a/devtools/x-core/src/graph.rs b/devtools/x-core/src/graph.rs index 8319dd8bfcfcb..91ee81ea25cc0 100644 --- a/devtools/x-core/src/graph.rs +++ b/devtools/x-core/src/graph.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Result, SystemError, WorkspaceSubsets, XCoreContext}; diff --git a/devtools/x-core/src/lib.rs b/devtools/x-core/src/lib.rs index dbcaadf22511b..1e8148b941231 100644 --- a/devtools/x-core/src/lib.rs +++ b/devtools/x-core/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{core_config::XCoreConfig, git::GitCli}; diff --git a/devtools/x-core/src/workspace_subset.rs b/devtools/x-core/src/workspace_subset.rs index 5db0ea0711dfb..348b260dc6dff 100644 --- a/devtools/x-core/src/workspace_subset.rs +++ b/devtools/x-core/src/workspace_subset.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{core_config::SubsetConfig, Result, SystemError}; diff --git a/devtools/x-lint/src/content.rs b/devtools/x-lint/src/content.rs index 1c099f7b71b36..d607a0256c190 100644 --- a/devtools/x-lint/src/content.rs +++ b/devtools/x-lint/src/content.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{prelude::*, LintContext}; diff --git a/devtools/x-lint/src/file_path.rs b/devtools/x-lint/src/file_path.rs index c69c19f8b4797..9e9374a707e3e 100644 --- a/devtools/x-lint/src/file_path.rs +++ b/devtools/x-lint/src/file_path.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{prelude::*, LintContext}; diff --git a/devtools/x-lint/src/lib.rs b/devtools/x-lint/src/lib.rs index dcf5f5ad852de..8a6188732d88c 100644 --- a/devtools/x-lint/src/lib.rs +++ b/devtools/x-lint/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Lint engine. diff --git a/devtools/x-lint/src/package.rs b/devtools/x-lint/src/package.rs index e812b9e86bd8c..5936982af5d88 100644 --- a/devtools/x-lint/src/package.rs +++ b/devtools/x-lint/src/package.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{prelude::*, LintContext}; diff --git a/devtools/x-lint/src/project.rs b/devtools/x-lint/src/project.rs index 1e4874bff1f9f..aad38edd6d185 100644 --- a/devtools/x-lint/src/project.rs +++ b/devtools/x-lint/src/project.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{prelude::*, LintContext}; diff --git a/devtools/x-lint/src/runner.rs b/devtools/x-lint/src/runner.rs index 8e00408a53f9b..5a980ed8feba5 100644 --- a/devtools/x-lint/src/runner.rs +++ b/devtools/x-lint/src/runner.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{prelude::*, LintContext}; diff --git a/devtools/x/src/bench.rs b/devtools/x/src/bench.rs index 61db2b5f4cf80..505c703c22b5b 100644 --- a/devtools/x/src/bench.rs +++ b/devtools/x/src/bench.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/devtools/x/src/build.rs b/devtools/x/src/build.rs index 8f03543575909..c08f35d9bb013 100644 --- a/devtools/x/src/build.rs +++ b/devtools/x/src/build.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ cargo::{build_args::BuildArgs, selected_package::SelectedPackageArgs, CargoCommand}, diff --git a/devtools/x/src/cargo.rs b/devtools/x/src/cargo.rs index 98a08150cf9e1..40235b4703c58 100644 --- a/devtools/x/src/cargo.rs +++ b/devtools/x/src/cargo.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/devtools/x/src/cargo/build_args.rs b/devtools/x/src/cargo/build_args.rs index 6d8057fa6e6fd..0fec99e356c8e 100644 --- a/devtools/x/src/cargo/build_args.rs +++ b/devtools/x/src/cargo/build_args.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::ffi::OsString; diff --git a/devtools/x/src/cargo/selected_package.rs b/devtools/x/src/cargo/selected_package.rs index 1f14c34bc24cc..fb0486dcab293 100644 --- a/devtools/x/src/cargo/selected_package.rs +++ b/devtools/x/src/cargo/selected_package.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{changed_since::changed_since_impl, context::XContext, Result}; diff --git a/devtools/x/src/changed_since.rs b/devtools/x/src/changed_since.rs index b2c7f3f81b68d..b9fc562156bb6 100644 --- a/devtools/x/src/changed_since.rs +++ b/devtools/x/src/changed_since.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{context::XContext, Result}; diff --git a/devtools/x/src/check.rs b/devtools/x/src/check.rs index a3245c07e01bd..2b311d578d78c 100644 --- a/devtools/x/src/check.rs +++ b/devtools/x/src/check.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/devtools/x/src/clippy.rs b/devtools/x/src/clippy.rs index 9110708debccc..a227b60406560 100644 --- a/devtools/x/src/clippy.rs +++ b/devtools/x/src/clippy.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/devtools/x/src/config.rs b/devtools/x/src/config.rs index a96ae08639509..e7e1c1358c56a 100644 --- a/devtools/x/src/config.rs +++ b/devtools/x/src/config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{utils::project_root, Result}; diff --git a/devtools/x/src/context.rs b/devtools/x/src/context.rs index 79bdde89540c4..14e5503361f03 100644 --- a/devtools/x/src/context.rs +++ b/devtools/x/src/context.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/devtools/x/src/diff_summary.rs b/devtools/x/src/diff_summary.rs index 67cefaf7bb997..d8de79e2f542b 100644 --- a/devtools/x/src/diff_summary.rs +++ b/devtools/x/src/diff_summary.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::context::XContext; diff --git a/devtools/x/src/fix.rs b/devtools/x/src/fix.rs index 246ee70729832..53830482c6aea 100644 --- a/devtools/x/src/fix.rs +++ b/devtools/x/src/fix.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/devtools/x/src/fmt.rs b/devtools/x/src/fmt.rs index 9d342a638cddc..2b42785c88000 100644 --- a/devtools/x/src/fmt.rs +++ b/devtools/x/src/fmt.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{cargo::Cargo, context::XContext, Result}; diff --git a/devtools/x/src/generate_summaries.rs b/devtools/x/src/generate_summaries.rs index 1ffc0352b1bb3..826fade3db463 100644 --- a/devtools/x/src/generate_summaries.rs +++ b/devtools/x/src/generate_summaries.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::context::XContext; diff --git a/devtools/x/src/generate_workspace_hack.rs b/devtools/x/src/generate_workspace_hack.rs index 8177299a4a0ed..36c5e4954d587 100644 --- a/devtools/x/src/generate_workspace_hack.rs +++ b/devtools/x/src/generate_workspace_hack.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{cargo::Cargo, context::XContext, Result}; diff --git a/devtools/x/src/installer.rs b/devtools/x/src/installer.rs index 09e963e98302c..5671bc16b4af9 100644 --- a/devtools/x/src/installer.rs +++ b/devtools/x/src/installer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/devtools/x/src/lint/allowed_paths.rs b/devtools/x/src/lint/allowed_paths.rs index 2fec09529fe58..8f606086babde 100644 --- a/devtools/x/src/lint/allowed_paths.rs +++ b/devtools/x/src/lint/allowed_paths.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Context; diff --git a/devtools/x/src/lint/determinator.rs b/devtools/x/src/lint/determinator.rs index 63bfd95d092e0..c70dbf1de6d0b 100644 --- a/devtools/x/src/lint/determinator.rs +++ b/devtools/x/src/lint/determinator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Context; diff --git a/devtools/x/src/lint/guppy.rs b/devtools/x/src/lint/guppy.rs index 269d71b4c0f53..ca684297032e4 100644 --- a/devtools/x/src/lint/guppy.rs +++ b/devtools/x/src/lint/guppy.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Project and package linters that run queries on guppy. diff --git a/devtools/x/src/lint/license.rs b/devtools/x/src/lint/license.rs index f72aa6f6377ef..ce65df186f5c6 100644 --- a/devtools/x/src/lint/license.rs +++ b/devtools/x/src/lint/license.rs @@ -1,11 +1,11 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Context; use globset::{Glob, GlobSet, GlobSetBuilder}; use x_lint::prelude::*; -static LICENSE_HEADER: &str = "Copyright (c) The Diem Core Contributors\n\ +static LICENSE_HEADER: &str = "Copyright (c) Aptos\n\ SPDX-License-Identifier: Apache-2.0\n\ "; diff --git a/devtools/x/src/lint/mod.rs b/devtools/x/src/lint/mod.rs index 087bce81d60c8..d7b96f74144b4 100644 --- a/devtools/x/src/lint/mod.rs +++ b/devtools/x/src/lint/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::context::XContext; diff --git a/devtools/x/src/lint/toml.rs b/devtools/x/src/lint/toml.rs index 6a11c5f078316..b432943dfaad7 100644 --- a/devtools/x/src/lint/toml.rs +++ b/devtools/x/src/lint/toml.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use camino::Utf8Path; diff --git a/devtools/x/src/lint/whitespace.rs b/devtools/x/src/lint/whitespace.rs index 4c40bae42ec31..01e3649bf8b20 100644 --- a/devtools/x/src/lint/whitespace.rs +++ b/devtools/x/src/lint/whitespace.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Context; diff --git a/devtools/x/src/lint/workspace_classify.rs b/devtools/x/src/lint/workspace_classify.rs index c1c2c73908b9d..15ca37d6000a4 100644 --- a/devtools/x/src/lint/workspace_classify.rs +++ b/devtools/x/src/lint/workspace_classify.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::config::TestOnlyConfig; diff --git a/devtools/x/src/lint/workspace_hack.rs b/devtools/x/src/lint/workspace_hack.rs index e365f8089c83a..cdbf87c6f3ef6 100644 --- a/devtools/x/src/lint/workspace_hack.rs +++ b/devtools/x/src/lint/workspace_hack.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::anyhow; diff --git a/devtools/x/src/main.rs b/devtools/x/src/main.rs index c8b41e0e2a14c..c1e6a667be33c 100644 --- a/devtools/x/src/main.rs +++ b/devtools/x/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/devtools/x/src/nextest.rs b/devtools/x/src/nextest.rs index a1a3b375911ae..558747722416a 100644 --- a/devtools/x/src/nextest.rs +++ b/devtools/x/src/nextest.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/devtools/x/src/playground.rs b/devtools/x/src/playground.rs index 366d1b7a7933f..a7a18e48499f4 100644 --- a/devtools/x/src/playground.rs +++ b/devtools/x/src/playground.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Playground for arbitrary code. diff --git a/devtools/x/src/test.rs b/devtools/x/src/test.rs index d7a96a43906ca..16da18a37d57b 100644 --- a/devtools/x/src/test.rs +++ b/devtools/x/src/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/devtools/x/src/tools.rs b/devtools/x/src/tools.rs index 69f0bbcc4f840..b4955b07429b2 100644 --- a/devtools/x/src/tools.rs +++ b/devtools/x/src/tools.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{context::XContext, Result}; diff --git a/devtools/x/src/utils.rs b/devtools/x/src/utils.rs index 09f7a2ab2cde4..951122fa63d30 100644 --- a/devtools/x/src/utils.rs +++ b/devtools/x/src/utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{config::CargoConfig, installer::install_cargo_component_if_needed, Result}; diff --git a/docker/aptos-build.sh b/docker/aptos-build.sh index 8c05937ce25a0..11cb302b7fac4 100755 --- a/docker/aptos-build.sh +++ b/docker/aptos-build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/docker/build-aws.sh b/docker/build-aws.sh index b155375113281..ff3f66364fe87 100755 --- a/docker/build-aws.sh +++ b/docker/build-aws.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # build-aws-base.sh is a common script shared by mutiple build-aws.sh scripts diff --git a/docker/build-common.sh b/docker/build-common.sh index c87af10359196..9d89722689dc1 100755 --- a/docker/build-common.sh +++ b/docker/build-common.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/docker/build-push-local.sh b/docker/build-push-local.sh index 90585eb82185c..5f939c2d0ff7b 100755 --- a/docker/build-push-local.sh +++ b/docker/build-push-local.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e REPO=853397791086.dkr.ecr.us-west-2.amazonaws.com diff --git a/docker/build_push.sh b/docker/build_push.sh index eabce9952a2b2..581856d8b4ae0 100755 --- a/docker/build_push.sh +++ b/docker/build_push.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 function usage { diff --git a/docker/compose/test_docker_compose.sh b/docker/compose/test_docker_compose.sh index 59bee29c34aea..2dd87f9f15c91 100755 --- a/docker/compose/test_docker_compose.sh +++ b/docker/compose/test_docker_compose.sh @@ -1,5 +1,5 @@ #!/usr/bin/expect -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set timeout 10 diff --git a/docker/docker_republish.sh b/docker/docker_republish.sh index 75a39256d631d..1d01afd5f328f 100755 --- a/docker/docker_republish.sh +++ b/docker/docker_republish.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 ############################################################################################# diff --git a/docker/faucet/build.sh b/docker/faucet/build.sh index 94eeac6e35252..762be0414615c 100755 --- a/docker/faucet/build.sh +++ b/docker/faucet/build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/docker/forge/build.sh b/docker/forge/build.sh index ae58765ccdeb0..39e307e7f677d 100755 --- a/docker/forge/build.sh +++ b/docker/forge/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/docker/init/build.sh b/docker/init/build.sh index 84e7246247d54..9cc287c421f7a 100755 --- a/docker/init/build.sh +++ b/docker/init/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/docker/install-tools.sh b/docker/install-tools.sh index 48ce86e63067a..d4dba96671f07 100755 --- a/docker/install-tools.sh +++ b/docker/install-tools.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 apt-get update diff --git a/docker/safety-rules/build.sh b/docker/safety-rules/build.sh index 33a10abcac0ab..1ea509f3afd92 100755 --- a/docker/safety-rules/build.sh +++ b/docker/safety-rules/build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/docker/tag-and-push.sh b/docker/tag-and-push.sh index 2f3a92df8f6e1..3e9a76abe29c2 100755 --- a/docker/tag-and-push.sh +++ b/docker/tag-and-push.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # tag-and-push.sh is used tag an image with multiple tags and push them to the target repo. Use ":" as the separator # between multiple tags diff --git a/docker/tools/build.sh b/docker/tools/build.sh index f39b5bc4edc45..ffbfeb594b036 100755 --- a/docker/tools/build.sh +++ b/docker/tools/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/docker/validator/build.sh b/docker/validator/build.sh index 1baa4a0c5f23b..dd284d75cf3c6 100755 --- a/docker/validator/build.sh +++ b/docker/validator/build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/docker/vault/run.sh b/docker/vault/run.sh index 66f472075835f..2d843f0d5155c 100755 --- a/docker/vault/run.sh +++ b/docker/vault/run.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -ex diff --git a/documentation/specifications/README.md b/documentation/specifications/README.md index 974d43ee3ceef..d21ddbf0e53ca 100644 --- a/documentation/specifications/README.md +++ b/documentation/specifications/README.md @@ -10,7 +10,7 @@ The reference implementations for all LPN specifications is [Aptos Core](https:/ ## Overview -The Diem Core Contributors is an independent membership organization headquartered in Geneva, Switzerland. The Association's purpose is to coordinate and provide a framework of governance decision-making for the Diem network and Reserve; to oversee the operation of the Diem payment system; to facilitate the provision of services on top of the Diem Blockchain in a safe and compliant manner; and to establish social impact grant-making in support of financial inclusion. +Aptos is an independent membership organization headquartered in Geneva, Switzerland. The Association's purpose is to coordinate and provide a framework of governance decision-making for the Diem network and Reserve; to oversee the operation of the Diem payment system; to facilitate the provision of services on top of the Diem Blockchain in a safe and compliant manner; and to establish social impact grant-making in support of financial inclusion. The LPN is backed by the Diem Blockchain that serves as a solid foundation for financial services, including a new global payment system that meets the daily financial needs of billions of people. The Diem blockchain was created to meet the following three requirements: @@ -79,7 +79,7 @@ The process for upgrading the LPN specifications is as follows: In order to describe the LPN upgrade process, we will define specification S with current in-production version V and next accepted version V+1. - * **Backwards-incompatible specification changes** The Diem Core Contributors will publicly announce that a backwards-incompatible specification change to S is occurring with V+1 and that on a production date (e.g. 3-6 months in the future), the V+1 specification will become eligible to be deployed in production. All validators and clients will be required to have already upgraded to software that can support V+1 by that point. After the production date, the Aptos Labs will ensure that the LPN validators have upgraded (i.e., by verifying the software versions) and after verification will submit an on-chain transaction to make V+1 active. After the transaction is committed, all clients that have upgraded will interoperate on V+1 rather than V automatically. All older software that is unable to interoperate with V+1 will fail. In summary: + * **Backwards-incompatible specification changes** Aptos will publicly announce that a backwards-incompatible specification change to S is occurring with V+1 and that on a production date (e.g. 3-6 months in the future), the V+1 specification will become eligible to be deployed in production. All validators and clients will be required to have already upgraded to software that can support V+1 by that point. After the production date, the Aptos Labs will ensure that the LPN validators have upgraded (i.e., by verifying the software versions) and after verification will submit an on-chain transaction to make V+1 active. After the transaction is committed, all clients that have upgraded will interoperate on V+1 rather than V automatically. All older software that is unable to interoperate with V+1 will fail. In summary: 1. Aptos Labs announces a production date and the software versions validators and clients need to run in order to continue to interoperate with the LPN. 2. Validators and clients upgrade to the prescribed software versions prior to the production date. diff --git a/execution/db-bootstrapper/src/bin/db-bootstrapper.rs b/execution/db-bootstrapper/src/bin/db-bootstrapper.rs index 158c049e3a566..4fdfd4d43b00c 100644 --- a/execution/db-bootstrapper/src/bin/db-bootstrapper.rs +++ b/execution/db-bootstrapper/src/bin/db-bootstrapper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{ensure, format_err, Context, Result}; diff --git a/execution/execution-correctness/src/execution_correctness.rs b/execution/execution-correctness/src/execution_correctness.rs index 11a3e531fe0bc..89072078d3971 100644 --- a/execution/execution-correctness/src/execution_correctness.rs +++ b/execution/execution-correctness/src/execution_correctness.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::HashValue; diff --git a/execution/execution-correctness/src/execution_correctness_manager.rs b/execution/execution-correctness/src/execution_correctness_manager.rs index 39435da392242..dee4075a93ac1 100644 --- a/execution/execution-correctness/src/execution_correctness_manager.rs +++ b/execution/execution-correctness/src/execution_correctness_manager.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/execution/execution-correctness/src/lib.rs b/execution/execution-correctness/src/lib.rs index 3ab80d6138947..30b4826cade7c 100644 --- a/execution/execution-correctness/src/lib.rs +++ b/execution/execution-correctness/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/execution-correctness/src/local.rs b/execution/execution-correctness/src/local.rs index f182909c9a8bb..88c5495a0d43c 100644 --- a/execution/execution-correctness/src/local.rs +++ b/execution/execution-correctness/src/local.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::execution_correctness::ExecutionCorrectness; diff --git a/execution/execution-correctness/src/main.rs b/execution/execution-correctness/src/main.rs index 797f61e4c5b7e..17752ae90b6ea 100644 --- a/execution/execution-correctness/src/main.rs +++ b/execution/execution-correctness/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Usage: ./executor-service node.config diff --git a/execution/execution-correctness/src/process.rs b/execution/execution-correctness/src/process.rs index b4c1292815ebd..0665a4a6c68d0 100644 --- a/execution/execution-correctness/src/process.rs +++ b/execution/execution-correctness/src/process.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/execution/execution-correctness/src/remote_service.rs b/execution/execution-correctness/src/remote_service.rs index 9781730d11bbd..aa9b9f4b7406e 100644 --- a/execution/execution-correctness/src/remote_service.rs +++ b/execution/execution-correctness/src/remote_service.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::serializer::{ diff --git a/execution/execution-correctness/src/serializer.rs b/execution/execution-correctness/src/serializer.rs index d2380d712eaa6..0c1e1180241e2 100644 --- a/execution/execution-correctness/src/serializer.rs +++ b/execution/execution-correctness/src/serializer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::execution_correctness::ExecutionCorrectness; diff --git a/execution/execution-correctness/src/tests/local.rs b/execution/execution-correctness/src/tests/local.rs index 449786cd28f94..457f4003603e6 100644 --- a/execution/execution-correctness/src/tests/local.rs +++ b/execution/execution-correctness/src/tests/local.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/execution/execution-correctness/src/tests/mod.rs b/execution/execution-correctness/src/tests/mod.rs index 9dc20247c925b..b64f071c87270 100644 --- a/execution/execution-correctness/src/tests/mod.rs +++ b/execution/execution-correctness/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod local; diff --git a/execution/execution-correctness/src/tests/serializer.rs b/execution/execution-correctness/src/tests/serializer.rs index 58cef10a84a87..b86d066e90aa9 100644 --- a/execution/execution-correctness/src/tests/serializer.rs +++ b/execution/execution-correctness/src/tests/serializer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/execution/execution-correctness/src/tests/suite.rs b/execution/execution-correctness/src/tests/suite.rs index d537ee51eb51c..8ed3b0f86e402 100644 --- a/execution/execution-correctness/src/tests/suite.rs +++ b/execution/execution-correctness/src/tests/suite.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::execution_correctness::ExecutionCorrectness; diff --git a/execution/execution-correctness/src/tests/thread.rs b/execution/execution-correctness/src/tests/thread.rs index d02c45ec7f656..d76389c6daa00 100644 --- a/execution/execution-correctness/src/tests/thread.rs +++ b/execution/execution-correctness/src/tests/thread.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/execution/execution-correctness/src/thread.rs b/execution/execution-correctness/src/thread.rs index b8019456d4709..3e68432044490 100644 --- a/execution/execution-correctness/src/thread.rs +++ b/execution/execution-correctness/src/thread.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This provides a runtime separation between ExecutionCorrectness and the rest without requiring the diff --git a/execution/execution-correctness/tests/binary.rs b/execution/execution-correctness/tests/binary.rs index fa8654a19455f..84939b88e465a 100644 --- a/execution/execution-correctness/tests/binary.rs +++ b/execution/execution-correctness/tests/binary.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::{ diff --git a/execution/executor-benchmark/benches/executor_benchmark.rs b/execution/executor-benchmark/benches/executor_benchmark.rs index e122288a43bef..89c932d396dea 100644 --- a/execution/executor-benchmark/benches/executor_benchmark.rs +++ b/execution/executor-benchmark/benches/executor_benchmark.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use criterion::{criterion_group, criterion_main, measurement::Measurement, BatchSize, Criterion}; diff --git a/execution/executor-benchmark/src/db_generator.rs b/execution/executor-benchmark/src/db_generator.rs index fc4d591f4e565..9a25b2d86896b 100644 --- a/execution/executor-benchmark/src/db_generator.rs +++ b/execution/executor-benchmark/src/db_generator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/execution/executor-benchmark/src/lib.rs b/execution/executor-benchmark/src/lib.rs index b06801a9c30f6..20d287eb995d0 100644 --- a/execution/executor-benchmark/src/lib.rs +++ b/execution/executor-benchmark/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod db_generator; diff --git a/execution/executor-benchmark/src/main.rs b/execution/executor-benchmark/src/main.rs index ba92a7c92a1c2..668f27f321df9 100644 --- a/execution/executor-benchmark/src/main.rs +++ b/execution/executor-benchmark/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::config::StoragePrunerConfig; diff --git a/execution/executor-benchmark/src/transaction_committer.rs b/execution/executor-benchmark/src/transaction_committer.rs index 011b23dd0cea3..ca488f9bd9f18 100644 --- a/execution/executor-benchmark/src/transaction_committer.rs +++ b/execution/executor-benchmark/src/transaction_committer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::hash::HashValue; diff --git a/execution/executor-benchmark/src/transaction_executor.rs b/execution/executor-benchmark/src/transaction_executor.rs index 936fefc335708..0920fbca33851 100644 --- a/execution/executor-benchmark/src/transaction_executor.rs +++ b/execution/executor-benchmark/src/transaction_executor.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::hash::HashValue; diff --git a/execution/executor-benchmark/src/transaction_generator.rs b/execution/executor-benchmark/src/transaction_generator.rs index d455b33b8d4ae..af458a8d43d87 100644 --- a/execution/executor-benchmark/src/transaction_generator.rs +++ b/execution/executor-benchmark/src/transaction_generator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ diff --git a/execution/executor-test-helpers/src/integration_test_impl.rs b/execution/executor-test-helpers/src/integration_test_impl.rs index d4437a5e46017..8a76b3c778c07 100644 --- a/execution/executor-test-helpers/src/integration_test_impl.rs +++ b/execution/executor-test-helpers/src/integration_test_impl.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/execution/executor-test-helpers/src/lib.rs b/execution/executor-test-helpers/src/lib.rs index 1da9eec780fee..05806f0470c93 100644 --- a/execution/executor-test-helpers/src/lib.rs +++ b/execution/executor-test-helpers/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod integration_test_impl; diff --git a/execution/executor-types/src/error.rs b/execution/executor-types/src/error.rs index 8d4e03aa9b532..e736f2f8b41a9 100644 --- a/execution/executor-types/src/error.rs +++ b/execution/executor-types/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/execution/executor-types/src/executed_chunk.rs b/execution/executor-types/src/executed_chunk.rs index b15c28ed961b8..d89233f127c03 100644 --- a/execution/executor-types/src/executed_chunk.rs +++ b/execution/executor-types/src/executed_chunk.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor-types/src/lib.rs b/execution/executor-types/src/lib.rs index 9408c89f7e7fe..5f56efe84317f 100644 --- a/execution/executor-types/src/lib.rs +++ b/execution/executor-types/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/block_executor.rs b/execution/executor/src/block_executor.rs index 17122e93d082b..0904bb68f7943 100644 --- a/execution/executor/src/block_executor.rs +++ b/execution/executor/src/block_executor.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/chunk_executor.rs b/execution/executor/src/chunk_executor.rs index 855282ab7eade..79a0a83d5e2cd 100644 --- a/execution/executor/src/chunk_executor.rs +++ b/execution/executor/src/chunk_executor.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/components/apply_chunk_output.rs b/execution/executor/src/components/apply_chunk_output.rs index 95262652279f7..d2d7ffc2fd1a0 100644 --- a/execution/executor/src/components/apply_chunk_output.rs +++ b/execution/executor/src/components/apply_chunk_output.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/components/block_tree/mod.rs b/execution/executor/src/components/block_tree/mod.rs index 8b4c68367c763..bd10b6232b1f3 100644 --- a/execution/executor/src/components/block_tree/mod.rs +++ b/execution/executor/src/components/block_tree/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/components/block_tree/test.rs b/execution/executor/src/components/block_tree/test.rs index 3b68105276524..74b8e6c9332f8 100644 --- a/execution/executor/src/components/block_tree/test.rs +++ b/execution/executor/src/components/block_tree/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::components::block_tree::{epoch_genesis_block_id, BlockLookup, BlockTree}; diff --git a/execution/executor/src/components/chunk_commit_queue.rs b/execution/executor/src/components/chunk_commit_queue.rs index 26317126f7966..7cf46fb159cb9 100644 --- a/execution/executor/src/components/chunk_commit_queue.rs +++ b/execution/executor/src/components/chunk_commit_queue.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/components/chunk_output.rs b/execution/executor/src/components/chunk_output.rs index 519167a108a23..bd2b42dcaea15 100644 --- a/execution/executor/src/components/chunk_output.rs +++ b/execution/executor/src/components/chunk_output.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/components/mod.rs b/execution/executor/src/components/mod.rs index 4999cb63b05bb..35abe7d601d82 100644 --- a/execution/executor/src/components/mod.rs +++ b/execution/executor/src/components/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/db_bootstrapper.rs b/execution/executor/src/db_bootstrapper.rs index 0cf3be80c9f59..974fb9f35944d 100644 --- a/execution/executor/src/db_bootstrapper.rs +++ b/execution/executor/src/db_bootstrapper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/fuzzing.rs b/execution/executor/src/fuzzing.rs index 99d5c258d3cbc..ad54092fc0451 100644 --- a/execution/executor/src/fuzzing.rs +++ b/execution/executor/src/fuzzing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{block_executor::BlockExecutor, chunk_executor::ChunkExecutor}; diff --git a/execution/executor/src/lib.rs b/execution/executor/src/lib.rs index e3742f89d1f96..115b16ac01024 100644 --- a/execution/executor/src/lib.rs +++ b/execution/executor/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/logging.rs b/execution/executor/src/logging.rs index fec2060524507..ce4f773053b3f 100644 --- a/execution/executor/src/logging.rs +++ b/execution/executor/src/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::HashValue; diff --git a/execution/executor/src/metrics.rs b/execution/executor/src/metrics.rs index b47c112896a15..82dd37b3ce207 100644 --- a/execution/executor/src/metrics.rs +++ b/execution/executor/src/metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{register_histogram, register_int_counter, Histogram, IntCounter}; diff --git a/execution/executor/src/mock_vm/mock_vm_test.rs b/execution/executor/src/mock_vm/mock_vm_test.rs index 694ae66469641..0b17014ec7b5c 100644 --- a/execution/executor/src/mock_vm/mock_vm_test.rs +++ b/execution/executor/src/mock_vm/mock_vm_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::{balance_ap, encode_mint_transaction, encode_transfer_transaction, seqnum_ap, MockVM}; diff --git a/execution/executor/src/mock_vm/mod.rs b/execution/executor/src/mock_vm/mod.rs index 13d7182545d11..e4f99d38b0761 100644 --- a/execution/executor/src/mock_vm/mod.rs +++ b/execution/executor/src/mock_vm/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[cfg(test)] diff --git a/execution/executor/src/tests/chunk_executor_tests.rs b/execution/executor/src/tests/chunk_executor_tests.rs index 75dfc0b029bec..b173071f946f3 100644 --- a/execution/executor/src/tests/chunk_executor_tests.rs +++ b/execution/executor/src/tests/chunk_executor_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/src/tests/mod.rs b/execution/executor/src/tests/mod.rs index 312de4489337e..375c71f160e05 100644 --- a/execution/executor/src/tests/mod.rs +++ b/execution/executor/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/execution/executor/tests/db_bootstrapper_test.rs b/execution/executor/tests/db_bootstrapper_test.rs index 3d716dc94251c..44559282f2ca7 100644 --- a/execution/executor/tests/db_bootstrapper_test.rs +++ b/execution/executor/tests/db_bootstrapper_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/execution/executor/tests/storage_integration_test.rs b/execution/executor/tests/storage_integration_test.rs index 6555083e47905..a14411fa12b71 100644 --- a/execution/executor/tests/storage_integration_test.rs +++ b/execution/executor/tests/storage_integration_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ed25519::*, PrivateKey, Uniform}; diff --git a/mempool/src/core_mempool/index.rs b/mempool/src/core_mempool/index.rs index d769ba4deadd7..d9678915cc5ff 100644 --- a/mempool/src/core_mempool/index.rs +++ b/mempool/src/core_mempool/index.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 /// This module provides various indexes used by Mempool. diff --git a/mempool/src/core_mempool/mempool.rs b/mempool/src/core_mempool/mempool.rs index 92be0d40ea007..6efd18552a41e 100644 --- a/mempool/src/core_mempool/mempool.rs +++ b/mempool/src/core_mempool/mempool.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Mempool is used to track transactions which have been submitted but not yet diff --git a/mempool/src/core_mempool/mod.rs b/mempool/src/core_mempool/mod.rs index d7ce867a82c2c..148cfc11b305e 100644 --- a/mempool/src/core_mempool/mod.rs +++ b/mempool/src/core_mempool/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod index; diff --git a/mempool/src/core_mempool/transaction.rs b/mempool/src/core_mempool/transaction.rs index 9e2ee4c54b8d9..8c18c2c537cd0 100644 --- a/mempool/src/core_mempool/transaction.rs +++ b/mempool/src/core_mempool/transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::HashValue; diff --git a/mempool/src/core_mempool/transaction_store.rs b/mempool/src/core_mempool/transaction_store.rs index af3b4ae09a7c8..f134bd1e0eee7 100644 --- a/mempool/src/core_mempool/transaction_store.rs +++ b/mempool/src/core_mempool/transaction_store.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/mempool/src/core_mempool/ttl_cache.rs b/mempool/src/core_mempool/ttl_cache.rs index 858041deca97c..f2d8baa824a90 100644 --- a/mempool/src/core_mempool/ttl_cache.rs +++ b/mempool/src/core_mempool/ttl_cache.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::{ diff --git a/mempool/src/counters.rs b/mempool/src/counters.rs index 4d953d35be758..3ac0258b03579 100644 --- a/mempool/src/counters.rs +++ b/mempool/src/counters.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::network_id::{NetworkId, PeerNetworkId}; diff --git a/mempool/src/lib.rs b/mempool/src/lib.rs index 49b8285093149..24c8887dfcbf4 100644 --- a/mempool/src/lib.rs +++ b/mempool/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/mempool/src/logging.rs b/mempool/src/logging.rs index 9f31862d43379..830d761051acd 100644 --- a/mempool/src/logging.rs +++ b/mempool/src/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::shared_mempool::types::{BatchId, ConsensusRequest}; diff --git a/mempool/src/shared_mempool/coordinator.rs b/mempool/src/shared_mempool/coordinator.rs index 8220e4e0be783..c5a202dd76a04 100644 --- a/mempool/src/shared_mempool/coordinator.rs +++ b/mempool/src/shared_mempool/coordinator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Processes that are directly spawned by shared mempool runtime initialization diff --git a/mempool/src/shared_mempool/mod.rs b/mempool/src/shared_mempool/mod.rs index 181a9fae3e89f..072efbc19c9b3 100644 --- a/mempool/src/shared_mempool/mod.rs +++ b/mempool/src/shared_mempool/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod network; diff --git a/mempool/src/shared_mempool/network.rs b/mempool/src/shared_mempool/network.rs index 1f0ba829d073b..a5a94d71010d4 100644 --- a/mempool/src/shared_mempool/network.rs +++ b/mempool/src/shared_mempool/network.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Interface between Mempool and Network layers. diff --git a/mempool/src/shared_mempool/runtime.rs b/mempool/src/shared_mempool/runtime.rs index e2a912ef52483..2494ca70c2efb 100644 --- a/mempool/src/shared_mempool/runtime.rs +++ b/mempool/src/shared_mempool/runtime.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/mempool/src/shared_mempool/tasks.rs b/mempool/src/shared_mempool/tasks.rs index f73473ce6f05f..5e34145915738 100644 --- a/mempool/src/shared_mempool/tasks.rs +++ b/mempool/src/shared_mempool/tasks.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Tasks that are executed by coordinators (short-lived compared to coordinators) diff --git a/mempool/src/shared_mempool/types.rs b/mempool/src/shared_mempool/types.rs index cddfa73e82ae5..fa8a48ab4333c 100644 --- a/mempool/src/shared_mempool/types.rs +++ b/mempool/src/shared_mempool/types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Objects used by/related to shared mempool diff --git a/mempool/src/tests/common.rs b/mempool/src/tests/common.rs index 64d1fe45e2ca0..6ebcd338e179c 100644 --- a/mempool/src/tests/common.rs +++ b/mempool/src/tests/common.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::core_mempool::{CoreMempool, TimelineState, TxnPointer}; diff --git a/mempool/src/tests/core_mempool_test.rs b/mempool/src/tests/core_mempool_test.rs index 26be2d3b07e38..f23fca0fb49cb 100644 --- a/mempool/src/tests/core_mempool_test.rs +++ b/mempool/src/tests/core_mempool_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/mempool/src/tests/fuzzing.rs b/mempool/src/tests/fuzzing.rs index 3e075ca9cea60..27d023a33fa37 100644 --- a/mempool/src/tests/fuzzing.rs +++ b/mempool/src/tests/fuzzing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/mempool/src/tests/integration_tests.rs b/mempool/src/tests/integration_tests.rs index b42e94786b7c3..5901caf0b7d28 100644 --- a/mempool/src/tests/integration_tests.rs +++ b/mempool/src/tests/integration_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::tests::{ diff --git a/mempool/src/tests/mocks.rs b/mempool/src/tests/mocks.rs index c87e9d4bb1905..fa48603ffa38f 100644 --- a/mempool/src/tests/mocks.rs +++ b/mempool/src/tests/mocks.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/mempool/src/tests/mod.rs b/mempool/src/tests/mod.rs index 1af7e5e1c8c7b..4e633b3a69828 100644 --- a/mempool/src/tests/mod.rs +++ b/mempool/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[cfg(test)] diff --git a/mempool/src/tests/multi_node_test.rs b/mempool/src/tests/multi_node_test.rs index a4328b9e19d3c..8f623e1a72931 100644 --- a/mempool/src/tests/multi_node_test.rs +++ b/mempool/src/tests/multi_node_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/mempool/src/tests/node.rs b/mempool/src/tests/node.rs index 8eab41fe5e301..dc17e0d1f41ee 100644 --- a/mempool/src/tests/node.rs +++ b/mempool/src/tests/node.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/mempool/src/tests/shared_mempool_test.rs b/mempool/src/tests/shared_mempool_test.rs index 72e9b674b58f6..46a987ee1d1f1 100644 --- a/mempool/src/tests/shared_mempool_test.rs +++ b/mempool/src/tests/shared_mempool_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/mempool/src/tests/test_framework.rs b/mempool/src/tests/test_framework.rs index 4becdc260230a..ad87eca58c94b 100644 --- a/mempool/src/tests/test_framework.rs +++ b/mempool/src/tests/test_framework.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/builder/src/builder.rs b/network/builder/src/builder.rs index fa10761420e52..fc1a1c828ed47 100644 --- a/network/builder/src/builder.rs +++ b/network/builder/src/builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Remotely authenticated vs. unauthenticated network end-points: diff --git a/network/builder/src/dummy.rs b/network/builder/src/dummy.rs index 3c37cce87275f..537e24963b81a 100644 --- a/network/builder/src/dummy.rs +++ b/network/builder/src/dummy.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Integration tests for validator_network. diff --git a/network/builder/src/lib.rs b/network/builder/src/lib.rs index 19347c406e563..fbb891d4f4469 100644 --- a/network/builder/src/lib.rs +++ b/network/builder/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub use network::protocols::rpc::error::RpcError; diff --git a/network/builder/src/test.rs b/network/builder/src/test.rs index dfc609532e648..7cef03b71cab9 100644 --- a/network/builder/src/test.rs +++ b/network/builder/src/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Integration tests for validator_network. diff --git a/network/discovery/src/counters.rs b/network/discovery/src/counters.rs index 055159292a5af..bae16cabc4a3d 100644 --- a/network/discovery/src/counters.rs +++ b/network/discovery/src/counters.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{ diff --git a/network/discovery/src/file.rs b/network/discovery/src/file.rs index e4d0a894a24f3..b7266e76662c5 100644 --- a/network/discovery/src/file.rs +++ b/network/discovery/src/file.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::DiscoveryError; diff --git a/network/discovery/src/lib.rs b/network/discovery/src/lib.rs index f27c9c505e9c6..5588bcce2f63d 100644 --- a/network/discovery/src/lib.rs +++ b/network/discovery/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{counters::DISCOVERY_COUNTS, file::FileStream, validator_set::ValidatorSetStream}; diff --git a/network/discovery/src/validator_set.rs b/network/discovery/src/validator_set.rs index 2f2261d833ab6..6eaf44c340c54 100644 --- a/network/discovery/src/validator_set.rs +++ b/network/discovery/src/validator_set.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/memsocket/src/lib.rs b/network/memsocket/src/lib.rs index 39867366e70e8..fdff24ea4f1c0 100644 --- a/network/memsocket/src/lib.rs +++ b/network/memsocket/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_infallible::Mutex; diff --git a/network/memsocket/tests/memory_listener.rs b/network/memsocket/tests/memory_listener.rs index 9ffe57ee56e4b..245e38d8b9d94 100644 --- a/network/memsocket/tests/memory_listener.rs +++ b/network/memsocket/tests/memory_listener.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use futures::{ diff --git a/network/memsocket/tests/memory_socket.rs b/network/memsocket/tests/memory_socket.rs index 5937f04356d9f..a3e4dcf5af2dc 100644 --- a/network/memsocket/tests/memory_socket.rs +++ b/network/memsocket/tests/memory_socket.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use futures::{ diff --git a/network/netcore/src/framing.rs b/network/netcore/src/framing.rs index 08048bdc2f43a..9d49782ed90ee 100644 --- a/network/netcore/src/framing.rs +++ b/network/netcore/src/framing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use bytes::BytesMut; diff --git a/network/netcore/src/lib.rs b/network/netcore/src/lib.rs index e93f2c152fb09..a07cb9a1db46f 100644 --- a/network/netcore/src/lib.rs +++ b/network/netcore/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Core types and traits for building Peer to Peer networks. diff --git a/network/netcore/src/transport/and_then.rs b/network/netcore/src/transport/and_then.rs index 9a962f6cd7eac..920737790a83f 100644 --- a/network/netcore/src/transport/and_then.rs +++ b/network/netcore/src/transport/and_then.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::transport::{ConnectionOrigin, Transport}; diff --git a/network/netcore/src/transport/boxed.rs b/network/netcore/src/transport/boxed.rs index 507233529881b..b9d09f7d72e82 100644 --- a/network/netcore/src/transport/boxed.rs +++ b/network/netcore/src/transport/boxed.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::transport::Transport; diff --git a/network/netcore/src/transport/memory.rs b/network/netcore/src/transport/memory.rs index 87952ce431520..ffb4e88825081 100644 --- a/network/netcore/src/transport/memory.rs +++ b/network/netcore/src/transport/memory.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::transport::Transport; diff --git a/network/netcore/src/transport/mod.rs b/network/netcore/src/transport/mod.rs index a030e0b4aa963..2ecf8258fc329 100644 --- a/network/netcore/src/transport/mod.rs +++ b/network/netcore/src/transport/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Low-level module for establishing connections with peers diff --git a/network/netcore/src/transport/proxy_protocol.rs b/network/netcore/src/transport/proxy_protocol.rs index 12932e6ef3197..065a63000e825 100644 --- a/network/netcore/src/transport/proxy_protocol.rs +++ b/network/netcore/src/transport/proxy_protocol.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! # An implementation of ProxyProtocol for HAProxy diff --git a/network/netcore/src/transport/tcp.rs b/network/netcore/src/transport/tcp.rs index 44b63b977c3dc..ba5f40584ad9a 100644 --- a/network/netcore/src/transport/tcp.rs +++ b/network/netcore/src/transport/tcp.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! TCP Transport diff --git a/network/src/application/interface.rs b/network/src/application/interface.rs index c75c4f950b2be..c7b3801fb11bd 100644 --- a/network/src/application/interface.rs +++ b/network/src/application/interface.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/application/mod.rs b/network/src/application/mod.rs index b5f3a9d196295..5309737a7819f 100644 --- a/network/src/application/mod.rs +++ b/network/src/application/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod interface; diff --git a/network/src/application/storage.rs b/network/src/application/storage.rs index aae6cb54179fd..dfed5698f431a 100644 --- a/network/src/application/storage.rs +++ b/network/src/application/storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/application/tests.rs b/network/src/application/tests.rs index a569b9fdf5ebe..cf31d86538676 100644 --- a/network/src/application/tests.rs +++ b/network/src/application/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/application/types.rs b/network/src/application/types.rs index 063def1b56ecd..3adac98dc1404 100644 --- a/network/src/application/types.rs +++ b/network/src/application/types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{protocols::wire::handshake::v1::ProtocolId, transport::ConnectionMetadata}; diff --git a/network/src/connectivity_manager/builder.rs b/network/src/connectivity_manager/builder.rs index 82b7ba60801a7..db4a94c41ee3d 100644 --- a/network/src/connectivity_manager/builder.rs +++ b/network/src/connectivity_manager/builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/connectivity_manager/mod.rs b/network/src/connectivity_manager/mod.rs index 713e71466c509..015b404815574 100644 --- a/network/src/connectivity_manager/mod.rs +++ b/network/src/connectivity_manager/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! The ConnectivityManager actor is responsible for ensuring that we are diff --git a/network/src/connectivity_manager/test.rs b/network/src/connectivity_manager/test.rs index 161dfff09cf46..68fcfd5281ad9 100644 --- a/network/src/connectivity_manager/test.rs +++ b/network/src/connectivity_manager/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/network/src/constants.rs b/network/src/constants.rs index d543d64d305ad..c1454ea89bac7 100644 --- a/network/src/constants.rs +++ b/network/src/constants.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 /// A collection of constants and default values for configuring various network components. diff --git a/network/src/counters.rs b/network/src/counters.rs index 1d37616255ac4..ddbf189a2b9fb 100644 --- a/network/src/counters.rs +++ b/network/src/counters.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::protocols::wire::handshake::v1::ProtocolId; diff --git a/network/src/error.rs b/network/src/error.rs index 0e83540046fab..3b7ab8b14cbe1 100644 --- a/network/src/error.rs +++ b/network/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::peer_manager::PeerManagerError; diff --git a/network/src/fuzzing.rs b/network/src/fuzzing.rs index e8d60f23cf216..bb0c90d588345 100644 --- a/network/src/fuzzing.rs +++ b/network/src/fuzzing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/lib.rs b/network/src/lib.rs index 05d6ad1eac948..006071418bb12 100644 --- a/network/src/lib.rs +++ b/network/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // diff --git a/network/src/logging.rs b/network/src/logging.rs index e02547500b506..3d45787c0083f 100644 --- a/network/src/logging.rs +++ b/network/src/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! diff --git a/network/src/noise/error.rs b/network/src/noise/error.rs index d614bc6bc44a0..f1c8f5e4a5d7e 100644 --- a/network/src/noise/error.rs +++ b/network/src/noise/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::noise::NoiseError; diff --git a/network/src/noise/fuzzing.rs b/network/src/noise/fuzzing.rs index 119f1f233a343..dfcd96f62af38 100644 --- a/network/src/noise/fuzzing.rs +++ b/network/src/noise/fuzzing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // diff --git a/network/src/noise/handshake.rs b/network/src/noise/handshake.rs index f58924da4d69a..352bd0d51e527 100644 --- a/network/src/noise/handshake.rs +++ b/network/src/noise/handshake.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! The handshake module implements the handshake part of the protocol. diff --git a/network/src/noise/mod.rs b/network/src/noise/mod.rs index bb88ee2cac733..1d5bd9b8236fb 100644 --- a/network/src/noise/mod.rs +++ b/network/src/noise/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This crate implements wrappers around our [Noise][noise] implementation. diff --git a/network/src/noise/stream.rs b/network/src/noise/stream.rs index 68ee13bd5ec8c..8abd563ec933c 100644 --- a/network/src/noise/stream.rs +++ b/network/src/noise/stream.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! The socket module implements the post-handshake part of the protocol. diff --git a/network/src/peer/fuzzing.rs b/network/src/peer/fuzzing.rs index 2c0562d81ef96..9c7617ca56671 100644 --- a/network/src/peer/fuzzing.rs +++ b/network/src/peer/fuzzing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/peer/mod.rs b/network/src/peer/mod.rs index ae7e47ede82c6..f723f1257c5e8 100644 --- a/network/src/peer/mod.rs +++ b/network/src/peer/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! [`Peer`] manages a single connection to a remote peer after the initial connection diff --git a/network/src/peer/test.rs b/network/src/peer/test.rs index ae05efb2baf9b..2b80fba55984c 100644 --- a/network/src/peer/test.rs +++ b/network/src/peer/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/peer_manager/builder.rs b/network/src/peer_manager/builder.rs index 8971fa4e6936a..0f11d57046ec7 100644 --- a/network/src/peer_manager/builder.rs +++ b/network/src/peer_manager/builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/peer_manager/conn_notifs_channel.rs b/network/src/peer_manager/conn_notifs_channel.rs index 3977bf0f824a6..45690e9f42a02 100644 --- a/network/src/peer_manager/conn_notifs_channel.rs +++ b/network/src/peer_manager/conn_notifs_channel.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! `conn_notifs_channel` is a channel which delivers to the receiver only the last of N diff --git a/network/src/peer_manager/error.rs b/network/src/peer_manager/error.rs index 05a8217707eb1..2949afd57ecea 100644 --- a/network/src/peer_manager/error.rs +++ b/network/src/peer_manager/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Errors that originate from the PeerManager module diff --git a/network/src/peer_manager/mod.rs b/network/src/peer_manager/mod.rs index 81c128df271d7..209668363935e 100644 --- a/network/src/peer_manager/mod.rs +++ b/network/src/peer_manager/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! The PeerManager module is responsible for establishing connections between Peers and for diff --git a/network/src/peer_manager/senders.rs b/network/src/peer_manager/senders.rs index e383937e7f49e..9422f1132241b 100644 --- a/network/src/peer_manager/senders.rs +++ b/network/src/peer_manager/senders.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/peer_manager/tests.rs b/network/src/peer_manager/tests.rs index 9ec59f75f14a8..7bce9fb4fedee 100644 --- a/network/src/peer_manager/tests.rs +++ b/network/src/peer_manager/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/peer_manager/transport.rs b/network/src/peer_manager/transport.rs index 6e94e5b32483d..eaf7611385855 100644 --- a/network/src/peer_manager/transport.rs +++ b/network/src/peer_manager/transport.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ counters::{self, FAILED_LABEL, SUCCEEDED_LABEL}, diff --git a/network/src/peer_manager/types.rs b/network/src/peer_manager/types.rs index 88876ab24ad02..9c7a0ca7405c7 100644 --- a/network/src/peer_manager/types.rs +++ b/network/src/peer_manager/types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ peer::DisconnectReason, diff --git a/network/src/protocols/direct_send/mod.rs b/network/src/protocols/direct_send/mod.rs index 389adf4f55e97..9c61b2195bd5b 100644 --- a/network/src/protocols/direct_send/mod.rs +++ b/network/src/protocols/direct_send/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{protocols::network::SerializedRequest, ProtocolId}; diff --git a/network/src/protocols/health_checker/builder.rs b/network/src/protocols/health_checker/builder.rs index c4d24f86d01aa..5a6bb1a26eaa3 100644 --- a/network/src/protocols/health_checker/builder.rs +++ b/network/src/protocols/health_checker/builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/protocols/health_checker/interface.rs b/network/src/protocols/health_checker/interface.rs index 37930ddb26432..0265d97dc532a 100644 --- a/network/src/protocols/health_checker/interface.rs +++ b/network/src/protocols/health_checker/interface.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/protocols/health_checker/mod.rs b/network/src/protocols/health_checker/mod.rs index 2b997f53a3ea9..b4c1adeb23fcd 100644 --- a/network/src/protocols/health_checker/mod.rs +++ b/network/src/protocols/health_checker/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Protocol used to ensure peer liveness diff --git a/network/src/protocols/health_checker/test.rs b/network/src/protocols/health_checker/test.rs index c3dcb863f8344..25ebc8749f1bc 100644 --- a/network/src/protocols/health_checker/test.rs +++ b/network/src/protocols/health_checker/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/network/src/protocols/identity.rs b/network/src/protocols/identity.rs index 0c9df7450e304..31fd4dceb1211 100644 --- a/network/src/protocols/identity.rs +++ b/network/src/protocols/identity.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Protocol used to exchange supported protocol information with a remote. diff --git a/network/src/protocols/mod.rs b/network/src/protocols/mod.rs index 6a6398b523458..3982f1aa8fd0c 100644 --- a/network/src/protocols/mod.rs +++ b/network/src/protocols/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Protocols used by network module for external APIs and internal functionality diff --git a/network/src/protocols/network/mod.rs b/network/src/protocols/network/mod.rs index a68590e0eb346..5b065964f142c 100644 --- a/network/src/protocols/network/mod.rs +++ b/network/src/protocols/network/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Convenience Network API for Diem diff --git a/network/src/protocols/rpc/error.rs b/network/src/protocols/rpc/error.rs index 3c38773555b9a..38430c85911fa 100644 --- a/network/src/protocols/rpc/error.rs +++ b/network/src/protocols/rpc/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Rpc protocol errors diff --git a/network/src/protocols/rpc/mod.rs b/network/src/protocols/rpc/mod.rs index 036880d9f830e..3c8ba322cff70 100644 --- a/network/src/protocols/rpc/mod.rs +++ b/network/src/protocols/rpc/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Implementation of the unary RPC protocol as per [AptosNet wire protocol v1]. diff --git a/network/src/protocols/wire/handshake.rs b/network/src/protocols/wire/handshake.rs index a246108d8ba64..c8a94bcfa85b8 100644 --- a/network/src/protocols/wire/handshake.rs +++ b/network/src/protocols/wire/handshake.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // v1 of the AptosNet handshake protocol. diff --git a/network/src/protocols/wire/handshake/v1/mod.rs b/network/src/protocols/wire/handshake/v1/mod.rs index 8d06a5ae205ab..fcf7642039eab 100644 --- a/network/src/protocols/wire/handshake/v1/mod.rs +++ b/network/src/protocols/wire/handshake/v1/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines the structs transported during the network handshake protocol v1. diff --git a/network/src/protocols/wire/handshake/v1/test.rs b/network/src/protocols/wire/handshake/v1/test.rs index 710ba436988bb..05a1dda61773f 100644 --- a/network/src/protocols/wire/handshake/v1/test.rs +++ b/network/src/protocols/wire/handshake/v1/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/network/src/protocols/wire/messaging.rs b/network/src/protocols/wire/messaging.rs index f49ac9c4c2809..cd9d7f5ace9ad 100644 --- a/network/src/protocols/wire/messaging.rs +++ b/network/src/protocols/wire/messaging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // v1 of the AptosNet messaging protocol. diff --git a/network/src/protocols/wire/messaging/v1/mod.rs b/network/src/protocols/wire/messaging/v1/mod.rs index 0046d48cb5553..d9d9747239409 100644 --- a/network/src/protocols/wire/messaging/v1/mod.rs +++ b/network/src/protocols/wire/messaging/v1/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines the AptosNet v1 message types, how they are diff --git a/network/src/protocols/wire/messaging/v1/test.rs b/network/src/protocols/wire/messaging/v1/test.rs index 1a2ab6279d100..ce6edb1eae71d 100644 --- a/network/src/protocols/wire/messaging/v1/test.rs +++ b/network/src/protocols/wire/messaging/v1/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/network/src/protocols/wire/mod.rs b/network/src/protocols/wire/mod.rs index 513349b5d183f..ce95ea4090c50 100644 --- a/network/src/protocols/wire/mod.rs +++ b/network/src/protocols/wire/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines the structs transported during the AptosNet handshake protocol and diff --git a/network/src/testutils/builder.rs b/network/src/testutils/builder.rs index b2aebd291215d..8ce216711a173 100644 --- a/network/src/testutils/builder.rs +++ b/network/src/testutils/builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::testutils::{ diff --git a/network/src/testutils/fake_socket.rs b/network/src/testutils/fake_socket.rs index d43e40feeef92..760d37d9b647e 100644 --- a/network/src/testutils/fake_socket.rs +++ b/network/src/testutils/fake_socket.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! diff --git a/network/src/testutils/mod.rs b/network/src/testutils/mod.rs index b021944fab146..ab29dcee0d284 100644 --- a/network/src/testutils/mod.rs +++ b/network/src/testutils/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod builder; diff --git a/network/src/testutils/test_framework.rs b/network/src/testutils/test_framework.rs index fa54f96727cba..66db9e1549b24 100644 --- a/network/src/testutils/test_framework.rs +++ b/network/src/testutils/test_framework.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/testutils/test_node.rs b/network/src/testutils/test_node.rs index bac108292700a..7b4201bfb7835 100644 --- a/network/src/testutils/test_node.rs +++ b/network/src/testutils/test_node.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/transport/mod.rs b/network/src/transport/mod.rs index e460a6336d3a4..8f58869f400d2 100644 --- a/network/src/transport/mod.rs +++ b/network/src/transport/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/network/src/transport/test.rs b/network/src/transport/test.rs index f059cbf20d86f..f6774b522b88d 100644 --- a/network/src/transport/test.rs +++ b/network/src/transport/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/scripts/cargo_check_dependencies.sh b/scripts/cargo_check_dependencies.sh index 182a2856c8d55..23238cc2d3e19 100755 --- a/scripts/cargo_check_dependencies.sh +++ b/scripts/cargo_check_dependencies.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # This script assumes it runs in the same directory as a Cargo.toml file diff --git a/scripts/cargo_update_outdated.sh b/scripts/cargo_update_outdated.sh index 6371fd9549ac6..8bd632a6fb2db 100755 --- a/scripts/cargo_update_outdated.sh +++ b/scripts/cargo_update_outdated.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # This script modifies local cargo files to reflect compatibility (semver) diff --git a/scripts/changed-files.sh b/scripts/changed-files.sh index 9e6192368c853..17fa6493d4355 100755 --- a/scripts/changed-files.sh +++ b/scripts/changed-files.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/scripts/cli/start_cli_testnet.sh b/scripts/cli/start_cli_testnet.sh index 12982d7a48856..4f749cdbf19e9 100755 --- a/scripts/cli/start_cli_testnet.sh +++ b/scripts/cli/start_cli_testnet.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 print_help() diff --git a/scripts/dev_setup.sh b/scripts/dev_setup.sh index 45303df926069..2436370dc3708 100755 --- a/scripts/dev_setup.sh +++ b/scripts/dev_setup.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # This script sets up the environment for the build by installing necessary dependencies. # diff --git a/scripts/dockerhub_prune.sh b/scripts/dockerhub_prune.sh index 5d1a5ea5a34ab..c5efa68be95e6 100755 --- a/scripts/dockerhub_prune.sh +++ b/scripts/dockerhub_prune.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 ###################################################################################################################### diff --git a/scripts/fgi/kube.py b/scripts/fgi/kube.py index 6312a6e052470..8ef53da80bbc9 100644 --- a/scripts/fgi/kube.py +++ b/scripts/fgi/kube.py @@ -1,4 +1,4 @@ -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 import json, os, random, subprocess, time diff --git a/scripts/fgi/run b/scripts/fgi/run index e311977d81654..0f8ebda6f9745 100755 --- a/scripts/fgi/run +++ b/scripts/fgi/run @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 import argparse diff --git a/scripts/git-checks.sh b/scripts/git-checks.sh index cd80c02c6b1ed..19e79874e269a 100755 --- a/scripts/git-checks.sh +++ b/scripts/git-checks.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 set -e diff --git a/scripts/run_quarantined.sh b/scripts/run_quarantined.sh index 5ab825bc499a9..0ba2db4304572 100755 --- a/scripts/run_quarantined.sh +++ b/scripts/run_quarantined.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 crate= diff --git a/scripts/weekly-dep-report.sh b/scripts/weekly-dep-report.sh index b0d63368e5881..8aa1d3caea4e6 100755 --- a/scripts/weekly-dep-report.sh +++ b/scripts/weekly-dep-report.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # fast fail. diff --git a/sdk/src/lib.rs b/sdk/src/lib.rs index adadeec57a3d2..8e78d699a601b 100644 --- a/sdk/src/lib.rs +++ b/sdk/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! The official Rust SDK for Diem. diff --git a/sdk/src/transaction_builder.rs b/sdk/src/transaction_builder.rs index bdb2b9766fb1f..8f40cea310935 100644 --- a/sdk/src/transaction_builder.rs +++ b/sdk/src/transaction_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/sdk/src/types.rs b/sdk/src/types.rs index 8ebadb3f1fc18..c4d4b55a97162 100644 --- a/sdk/src/types.rs +++ b/sdk/src/types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/sdk/transaction-builder/src/error_explain.rs b/sdk/transaction-builder/src/error_explain.rs index 84f9871b41c1f..6c635b2a13924 100644 --- a/sdk/transaction-builder/src/error_explain.rs +++ b/sdk/transaction-builder/src/error_explain.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! A module for looking up the human-readable explanation of a Diem Move diff --git a/sdk/transaction-builder/src/lib.rs b/sdk/transaction-builder/src/lib.rs index 716649015bd3a..6f07ca5dbad87 100644 --- a/sdk/transaction-builder/src/lib.rs +++ b/sdk/transaction-builder/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/secure/net/src/lib.rs b/secure/net/src/lib.rs index 7069d012b09d9..fe8eed038fb2a 100644 --- a/secure/net/src/lib.rs +++ b/secure/net/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/secure/push-metrics/src/lib.rs b/secure/push-metrics/src/lib.rs index f023b8adb8789..e0b33e0034d58 100644 --- a/secure/push-metrics/src/lib.rs +++ b/secure/push-metrics/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/secure/storage/github/src/lib.rs b/secure/storage/github/src/lib.rs index 0d81104196d43..07db6854fdae2 100644 --- a/secure/storage/github/src/lib.rs +++ b/secure/storage/github/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/secure/storage/src/crypto_kv_storage.rs b/secure/storage/src/crypto_kv_storage.rs index 048fdc3bcb7fe..9e40d601121ad 100644 --- a/secure/storage/src/crypto_kv_storage.rs +++ b/secure/storage/src/crypto_kv_storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{CryptoStorage, Error, KVStorage, PublicKeyResponse}; diff --git a/secure/storage/src/crypto_storage.rs b/secure/storage/src/crypto_storage.rs index a6c2ced5a009c..803d461449cad 100644 --- a/secure/storage/src/crypto_storage.rs +++ b/secure/storage/src/crypto_storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::Error; diff --git a/secure/storage/src/error.rs b/secure/storage/src/error.rs index 31a5ae83cf120..eef9b4fec9b1f 100644 --- a/secure/storage/src/error.rs +++ b/secure/storage/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/secure/storage/src/github.rs b/secure/storage/src/github.rs index 4f01e76ab9dd7..b3aa84ac856cc 100644 --- a/secure/storage/src/github.rs +++ b/secure/storage/src/github.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{CryptoKVStorage, Error, GetResponse, KVStorage}; diff --git a/secure/storage/src/in_memory.rs b/secure/storage/src/in_memory.rs index 3420aec4f0e1b..c8c31bcced822 100644 --- a/secure/storage/src/in_memory.rs +++ b/secure/storage/src/in_memory.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{CryptoKVStorage, Error, GetResponse, KVStorage}; diff --git a/secure/storage/src/kv_storage.rs b/secure/storage/src/kv_storage.rs index 61ca085a06137..edbc8af293245 100644 --- a/secure/storage/src/kv_storage.rs +++ b/secure/storage/src/kv_storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::Error; diff --git a/secure/storage/src/lib.rs b/secure/storage/src/lib.rs index 9f6ecb88f275c..35276a16eef52 100644 --- a/secure/storage/src/lib.rs +++ b/secure/storage/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/secure/storage/src/namespaced.rs b/secure/storage/src/namespaced.rs index ea964e65a7045..d78912268c8bc 100644 --- a/secure/storage/src/namespaced.rs +++ b/secure/storage/src/namespaced.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{CryptoStorage, Error, GetResponse, KVStorage, PublicKeyResponse}; diff --git a/secure/storage/src/on_disk.rs b/secure/storage/src/on_disk.rs index 82191e4a0bbdb..e8ca236024be1 100644 --- a/secure/storage/src/on_disk.rs +++ b/secure/storage/src/on_disk.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{CryptoKVStorage, Error, GetResponse, KVStorage}; diff --git a/secure/storage/src/policy.rs b/secure/storage/src/policy.rs index 3992f5f346981..dd33da6c4ba7f 100644 --- a/secure/storage/src/policy.rs +++ b/secure/storage/src/policy.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/secure/storage/src/storage.rs b/secure/storage/src/storage.rs index 19685ee987f82..37fbe504b49cd 100644 --- a/secure/storage/src/storage.rs +++ b/secure/storage/src/storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ CryptoStorage, Error, GetResponse, GitHubStorage, InMemoryStorage, KVStorage, Namespaced, diff --git a/secure/storage/src/tests/github.rs b/secure/storage/src/tests/github.rs index e59c35a4f4313..5a90029bbfba6 100644 --- a/secure/storage/src/tests/github.rs +++ b/secure/storage/src/tests/github.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{tests::suite, GitHubStorage, Storage}; diff --git a/secure/storage/src/tests/in_memory.rs b/secure/storage/src/tests/in_memory.rs index c6d9529aa06a7..b5f065fad0aa7 100644 --- a/secure/storage/src/tests/in_memory.rs +++ b/secure/storage/src/tests/in_memory.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{tests::suite, InMemoryStorage, Storage}; diff --git a/secure/storage/src/tests/mod.rs b/secure/storage/src/tests/mod.rs index 589a41dee2d4b..a5d005934bf5b 100644 --- a/secure/storage/src/tests/mod.rs +++ b/secure/storage/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod github; diff --git a/secure/storage/src/tests/on_disk.rs b/secure/storage/src/tests/on_disk.rs index 10177be8e9014..7fb13cbf9bd43 100644 --- a/secure/storage/src/tests/on_disk.rs +++ b/secure/storage/src/tests/on_disk.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{tests::suite, OnDiskStorage, Storage}; diff --git a/secure/storage/src/tests/suite.rs b/secure/storage/src/tests/suite.rs index a18ac037776d2..73e2d89457633 100644 --- a/secure/storage/src/tests/suite.rs +++ b/secure/storage/src/tests/suite.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{CryptoStorage, Error, KVStorage, Storage}; diff --git a/secure/storage/src/tests/vault.rs b/secure/storage/src/tests/vault.rs index 2b93bc3ac0b99..e92563c9f2a08 100644 --- a/secure/storage/src/tests/vault.rs +++ b/secure/storage/src/tests/vault.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/secure/storage/src/vault.rs b/secure/storage/src/vault.rs index abca75938c21c..3dc25e70d49ac 100644 --- a/secure/storage/src/vault.rs +++ b/secure/storage/src/vault.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/secure/storage/vault/src/dev.rs b/secure/storage/vault/src/dev.rs index 265c37c690654..f3eb81949904a 100644 --- a/secure/storage/vault/src/dev.rs +++ b/secure/storage/vault/src/dev.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::Client; diff --git a/secure/storage/vault/src/fuzzing.rs b/secure/storage/vault/src/fuzzing.rs index 5540c6d3acea9..1ecfc228ceff2 100644 --- a/secure/storage/vault/src/fuzzing.rs +++ b/secure/storage/vault/src/fuzzing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/secure/storage/vault/src/lib.rs b/secure/storage/vault/src/lib.rs index 329608e2e3c63..ea943b033f1d3 100644 --- a/secure/storage/vault/src/lib.rs +++ b/secure/storage/vault/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/aptos-data-client/src/aptosnet/logging.rs b/state-sync/aptos-data-client/src/aptosnet/logging.rs index 3dd44cfec78f3..9ed4de455fe7e 100644 --- a/state-sync/aptos-data-client/src/aptosnet/logging.rs +++ b/state-sync/aptos-data-client/src/aptosnet/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::Error; diff --git a/state-sync/aptos-data-client/src/aptosnet/metrics.rs b/state-sync/aptos-data-client/src/aptosnet/metrics.rs index 821d2682abcff..b4b35650ae436 100644 --- a/state-sync/aptos-data-client/src/aptosnet/metrics.rs +++ b/state-sync/aptos-data-client/src/aptosnet/metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::_once_cell::sync::Lazy; diff --git a/state-sync/aptos-data-client/src/aptosnet/mod.rs b/state-sync/aptos-data-client/src/aptosnet/mod.rs index d04e2c8257734..07613fd6f3ba4 100644 --- a/state-sync/aptos-data-client/src/aptosnet/mod.rs +++ b/state-sync/aptos-data-client/src/aptosnet/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/aptos-data-client/src/aptosnet/state.rs b/state-sync/aptos-data-client/src/aptosnet/state.rs index e16c3af3ee43b..bd75572ec806c 100644 --- a/state-sync/aptos-data-client/src/aptosnet/state.rs +++ b/state-sync/aptos-data-client/src/aptosnet/state.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/aptos-data-client/src/aptosnet/tests.rs b/state-sync/aptos-data-client/src/aptosnet/tests.rs index b0fa30dacfe0c..5489d1631cebc 100644 --- a/state-sync/aptos-data-client/src/aptosnet/tests.rs +++ b/state-sync/aptos-data-client/src/aptosnet/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::{AptosDataClient, AptosNetDataClient, DataSummaryPoller, Error}; diff --git a/state-sync/aptos-data-client/src/lib.rs b/state-sync/aptos-data-client/src/lib.rs index e175fdb765d1f..27d891d05dbff 100644 --- a/state-sync/aptos-data-client/src/lib.rs +++ b/state-sync/aptos-data-client/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/inter-component/consensus-notifications/src/lib.rs b/state-sync/inter-component/consensus-notifications/src/lib.rs index 263053c04cfa9..767fecb7ab85d 100644 --- a/state-sync/inter-component/consensus-notifications/src/lib.rs +++ b/state-sync/inter-component/consensus-notifications/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/inter-component/event-notifications/src/lib.rs b/state-sync/inter-component/event-notifications/src/lib.rs index f7252dfb30841..cf80c66b900cc 100644 --- a/state-sync/inter-component/event-notifications/src/lib.rs +++ b/state-sync/inter-component/event-notifications/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/inter-component/event-notifications/src/tests.rs b/state-sync/inter-component/event-notifications/src/tests.rs index d4e0a2e47026f..b31c07a2179fa 100644 --- a/state-sync/inter-component/event-notifications/src/tests.rs +++ b/state-sync/inter-component/event-notifications/src/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/inter-component/mempool-notifications/src/lib.rs b/state-sync/inter-component/mempool-notifications/src/lib.rs index 8ce7bcdadf08b..a43d2a40f7e69 100644 --- a/state-sync/inter-component/mempool-notifications/src/lib.rs +++ b/state-sync/inter-component/mempool-notifications/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/state-sync-v1/src/bootstrapper.rs b/state-sync/state-sync-v1/src/bootstrapper.rs index bbea225b93a10..bfd0f52917c00 100644 --- a/state-sync/state-sync-v1/src/bootstrapper.rs +++ b/state-sync/state-sync-v1/src/bootstrapper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ client::{CoordinatorMessage, StateSyncClient}, diff --git a/state-sync/state-sync-v1/src/chunk_request.rs b/state-sync/state-sync-v1/src/chunk_request.rs index cdbd34792c6b4..2c9f42f1cdeed 100644 --- a/state-sync/state-sync-v1/src/chunk_request.rs +++ b/state-sync/state-sync-v1/src/chunk_request.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{ledger_info::LedgerInfoWithSignatures, transaction::Version}; diff --git a/state-sync/state-sync-v1/src/chunk_response.rs b/state-sync/state-sync-v1/src/chunk_response.rs index 3d0c051fb7e0c..233a35988bd8a 100644 --- a/state-sync/state-sync-v1/src/chunk_response.rs +++ b/state-sync/state-sync-v1/src/chunk_response.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{ diff --git a/state-sync/state-sync-v1/src/client.rs b/state-sync/state-sync-v1/src/client.rs index 4cdbf80d32e4b..5ee813504dfac 100644 --- a/state-sync/state-sync-v1/src/client.rs +++ b/state-sync/state-sync-v1/src/client.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{error::Error, shared_components::SyncState}; diff --git a/state-sync/state-sync-v1/src/coordinator.rs b/state-sync/state-sync-v1/src/coordinator.rs index 4ab584d4a91ef..131149befb9fb 100644 --- a/state-sync/state-sync-v1/src/coordinator.rs +++ b/state-sync/state-sync-v1/src/coordinator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v1/src/counters.rs b/state-sync/state-sync-v1/src/counters.rs index ac1aec3c0a1b6..17de7fb4b8d6f 100644 --- a/state-sync/state-sync-v1/src/counters.rs +++ b/state-sync/state-sync-v1/src/counters.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{ diff --git a/state-sync/state-sync-v1/src/error.rs b/state-sync/state-sync-v1/src/error.rs index bfe130f3ab4cb..464d9a878fc9d 100644 --- a/state-sync/state-sync-v1/src/error.rs +++ b/state-sync/state-sync-v1/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::transaction::Version; diff --git a/state-sync/state-sync-v1/src/executor_proxy.rs b/state-sync/state-sync-v1/src/executor_proxy.rs index 32838aa02f7fc..dfb7911264bcf 100644 --- a/state-sync/state-sync-v1/src/executor_proxy.rs +++ b/state-sync/state-sync-v1/src/executor_proxy.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v1/src/fuzzing.rs b/state-sync/state-sync-v1/src/fuzzing.rs index 9034022cbf508..9cd018e824df9 100644 --- a/state-sync/state-sync-v1/src/fuzzing.rs +++ b/state-sync/state-sync-v1/src/fuzzing.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v1/src/lib.rs b/state-sync/state-sync-v1/src/lib.rs index 41b6cece28650..7b929d4a35f97 100644 --- a/state-sync/state-sync-v1/src/lib.rs +++ b/state-sync/state-sync-v1/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/state-sync-v1/src/logging.rs b/state-sync/state-sync-v1/src/logging.rs index 993e8fdf34ccf..582523f5418a2 100644 --- a/state-sync/state-sync-v1/src/logging.rs +++ b/state-sync/state-sync-v1/src/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v1/src/network.rs b/state-sync/state-sync-v1/src/network.rs index 2b532920346ee..45132ae2bb2e8 100644 --- a/state-sync/state-sync-v1/src/network.rs +++ b/state-sync/state-sync-v1/src/network.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Interface between State Sync and Network layers. diff --git a/state-sync/state-sync-v1/src/request_manager.rs b/state-sync/state-sync-v1/src/request_manager.rs index 6e557f296ae18..5fa8aa64bc15c 100644 --- a/state-sync/state-sync-v1/src/request_manager.rs +++ b/state-sync/state-sync-v1/src/request_manager.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v1/src/shared_components.rs b/state-sync/state-sync-v1/src/shared_components.rs index 3c336956bb384..b8b2dc50f8d8c 100644 --- a/state-sync/state-sync-v1/src/shared_components.rs +++ b/state-sync/state-sync-v1/src/shared_components.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::{ diff --git a/state-sync/state-sync-v1/tests/integration_tests.rs b/state-sync/state-sync-v1/tests/integration_tests.rs index eb36c1c31ddfa..8e4cce0ee7815 100644 --- a/state-sync/state-sync-v1/tests/integration_tests.rs +++ b/state-sync/state-sync-v1/tests/integration_tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::test_harness::default_handler; diff --git a/state-sync/state-sync-v1/tests/test_harness.rs b/state-sync/state-sync-v1/tests/test_harness.rs index d30954f3763e7..984003b679b20 100644 --- a/state-sync/state-sync-v1/tests/test_harness.rs +++ b/state-sync/state-sync-v1/tests/test_harness.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::{ diff --git a/state-sync/state-sync-v2/data-streaming-service/src/data_notification.rs b/state-sync/state-sync-v2/data-streaming-service/src/data_notification.rs index 656640c6f9fc1..49aa6c29efe35 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/data_notification.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/data_notification.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::streaming_client::Epoch; diff --git a/state-sync/state-sync-v2/data-streaming-service/src/data_stream.rs b/state-sync/state-sync-v2/data-streaming-service/src/data_stream.rs index 6e02b583cfcc2..3f65671c9bbf9 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/data_stream.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/data_stream.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/data-streaming-service/src/error.rs b/state-sync/state-sync-v2/data-streaming-service/src/error.rs index c543b63c071a7..726532808c95e 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/error.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use futures::channel::{mpsc::SendError, oneshot::Canceled}; diff --git a/state-sync/state-sync-v2/data-streaming-service/src/lib.rs b/state-sync/state-sync-v2/data-streaming-service/src/lib.rs index bbd71a3c1dd70..887701566108d 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/lib.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/state-sync-v2/data-streaming-service/src/logging.rs b/state-sync/state-sync-v2/data-streaming-service/src/logging.rs index 12939e96a3a03..3074ed723462f 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/logging.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::error::Error; diff --git a/state-sync/state-sync-v2/data-streaming-service/src/metrics.rs b/state-sync/state-sync-v2/data-streaming-service/src/metrics.rs index da448d77ebc07..8a7ae04879e4f 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/metrics.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{ diff --git a/state-sync/state-sync-v2/data-streaming-service/src/stream_engine.rs b/state-sync/state-sync-v2/data-streaming-service/src/stream_engine.rs index d7ca7c753e148..d8414204655eb 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/stream_engine.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/stream_engine.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/data-streaming-service/src/streaming_client.rs b/state-sync/state-sync-v2/data-streaming-service/src/streaming_client.rs index e2d4272a3d3d2..b23eff14af0ec 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/streaming_client.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/streaming_client.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{data_notification::NotificationId, data_stream::DataStreamListener, error::Error}; diff --git a/state-sync/state-sync-v2/data-streaming-service/src/streaming_service.rs b/state-sync/state-sync-v2/data-streaming-service/src/streaming_service.rs index 4d63160f210bf..6fa83dd69d146 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/streaming_service.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/streaming_service.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/data-streaming-service/src/tests/data_stream.rs b/state-sync/state-sync-v2/data-streaming-service/src/tests/data_stream.rs index 246dcdca90d84..e653759df6478 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/tests/data_stream.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/tests/data_stream.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/data-streaming-service/src/tests/mod.rs b/state-sync/state-sync-v2/data-streaming-service/src/tests/mod.rs index 06bd98b116909..9cf86b337bf93 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/tests/mod.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod data_stream; diff --git a/state-sync/state-sync-v2/data-streaming-service/src/tests/stream_engine.rs b/state-sync/state-sync-v2/data-streaming-service/src/tests/stream_engine.rs index 832c59e9f709c..6b1dd7a1799b6 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/tests/stream_engine.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/tests/stream_engine.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/data-streaming-service/src/tests/streaming_client.rs b/state-sync/state-sync-v2/data-streaming-service/src/tests/streaming_client.rs index 77189dc0db82f..64959b907129f 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/tests/streaming_client.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/tests/streaming_client.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/data-streaming-service/src/tests/streaming_service.rs b/state-sync/state-sync-v2/data-streaming-service/src/tests/streaming_service.rs index f3c6e63c76fe0..7af7e81961146 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/tests/streaming_service.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/tests/streaming_service.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/data-streaming-service/src/tests/utils.rs b/state-sync/state-sync-v2/data-streaming-service/src/tests/utils.rs index b20c169c95c12..764bc0d79ad1e 100644 --- a/state-sync/state-sync-v2/data-streaming-service/src/tests/utils.rs +++ b/state-sync/state-sync-v2/data-streaming-service/src/tests/utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{data_notification::DataNotification, data_stream::DataStreamListener, error::Error}; diff --git a/state-sync/state-sync-v2/state-sync-driver/src/bootstrapper.rs b/state-sync/state-sync-v2/state-sync-driver/src/bootstrapper.rs index ad0470acda955..46430964bc437 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/bootstrapper.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/bootstrapper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/state-sync-driver/src/continuous_syncer.rs b/state-sync/state-sync-v2/state-sync-driver/src/continuous_syncer.rs index be523fd25b1a8..a0e3e8f7f6770 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/continuous_syncer.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/continuous_syncer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/state-sync-driver/src/driver.rs b/state-sync/state-sync-v2/state-sync-driver/src/driver.rs index 67a2d4df1eab5..3854d0b5f066a 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/driver.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/driver.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/state-sync-driver/src/driver_client.rs b/state-sync/state-sync-v2/state-sync-driver/src/driver_client.rs index 16e789a4a3b63..38ec5773e752b 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/driver_client.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/driver_client.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::error::Error; diff --git a/state-sync/state-sync-v2/state-sync-driver/src/driver_factory.rs b/state-sync/state-sync-v2/state-sync-driver/src/driver_factory.rs index 4847dc3aad30d..7d27dd0a40c52 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/driver_factory.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/driver_factory.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/state-sync-driver/src/error.rs b/state-sync/state-sync-v2/state-sync-driver/src/error.rs index d280a6a31c90c..59b7fed45cb51 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/error.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/error.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::transaction::Version; diff --git a/state-sync/state-sync-v2/state-sync-driver/src/lib.rs b/state-sync/state-sync-v2/state-sync-driver/src/lib.rs index 1eba3d71a74ea..1095dbb058474 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/lib.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/state-sync-v2/state-sync-driver/src/notification_handlers.rs b/state-sync/state-sync-v2/state-sync-driver/src/notification_handlers.rs index 9f2418f5830c2..b7dc82d4fa030 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/notification_handlers.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/notification_handlers.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::error::Error; diff --git a/state-sync/state-sync-v2/state-sync-driver/src/storage_synchronizer.rs b/state-sync/state-sync-v2/state-sync-driver/src/storage_synchronizer.rs index 4b538d665dceb..065429726edc1 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/storage_synchronizer.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/storage_synchronizer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/state-sync/state-sync-v2/state-sync-driver/src/tests/driver.rs b/state-sync/state-sync-v2/state-sync-driver/src/tests/driver.rs index 66c571eae3195..c215b5045797a 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/tests/driver.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/tests/driver.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::tests::{ diff --git a/state-sync/state-sync-v2/state-sync-driver/src/tests/mod.rs b/state-sync/state-sync-v2/state-sync-driver/src/tests/mod.rs index e37609fd0583c..98962ed7087f4 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/tests/mod.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod driver; diff --git a/state-sync/state-sync-v2/state-sync-driver/src/tests/utils.rs b/state-sync/state-sync-v2/state-sync-driver/src/tests/utils.rs index 9ced7482bff69..455d6d6d5a329 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/tests/utils.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/tests/utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::driver_factory::DriverFactory; diff --git a/state-sync/state-sync-v2/state-sync-driver/src/utils.rs b/state-sync/state-sync-v2/state-sync-driver/src/utils.rs index 33f399fc3dfa2..7f0dfdafac78c 100644 --- a/state-sync/state-sync-v2/state-sync-driver/src/utils.rs +++ b/state-sync/state-sync-v2/state-sync-driver/src/utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::error::Error; diff --git a/state-sync/state-sync-v2/state-sync-multiplexer/src/lib.rs b/state-sync/state-sync-v2/state-sync-multiplexer/src/lib.rs index a13a4945f1de0..e814d4e768852 100644 --- a/state-sync/state-sync-v2/state-sync-multiplexer/src/lib.rs +++ b/state-sync/state-sync-v2/state-sync-multiplexer/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/storage-service/client/src/lib.rs b/state-sync/storage-service/client/src/lib.rs index d394d2457d153..9019060c5990a 100644 --- a/state-sync/storage-service/client/src/lib.rs +++ b/state-sync/storage-service/client/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/storage-service/server/src/lib.rs b/state-sync/storage-service/server/src/lib.rs index 6b3d278b61048..72003ed938e4d 100644 --- a/state-sync/storage-service/server/src/lib.rs +++ b/state-sync/storage-service/server/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/storage-service/server/src/logging.rs b/state-sync/storage-service/server/src/logging.rs index 3157f4301fac5..7e0c515d95a59 100644 --- a/state-sync/storage-service/server/src/logging.rs +++ b/state-sync/storage-service/server/src/logging.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::Error; diff --git a/state-sync/storage-service/server/src/metrics.rs b/state-sync/storage-service/server/src/metrics.rs index 3e0aa252b1a43..7aef20c6bbdcd 100644 --- a/state-sync/storage-service/server/src/metrics.rs +++ b/state-sync/storage-service/server/src/metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{ diff --git a/state-sync/storage-service/server/src/network.rs b/state-sync/storage-service/server/src/network.rs index b809fde7ead83..5a8d81a547652 100644 --- a/state-sync/storage-service/server/src/network.rs +++ b/state-sync/storage-service/server/src/network.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::metrics; diff --git a/state-sync/storage-service/server/src/tests.rs b/state-sync/storage-service/server/src/tests.rs index 7e9098bdac87a..a3b47e72d74c9 100644 --- a/state-sync/storage-service/server/src/tests.rs +++ b/state-sync/storage-service/server/src/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/state-sync/storage-service/types/src/lib.rs b/state-sync/storage-service/types/src/lib.rs index 3f05d81beae14..8c6b996247339 100644 --- a/state-sync/storage-service/types/src/lib.rs +++ b/state-sync/storage-service/types/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/accumulator/src/lib.rs b/storage/accumulator/src/lib.rs index d594b7e35fddd..d36339b471544 100644 --- a/storage/accumulator/src/lib.rs +++ b/storage/accumulator/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/accumulator/src/test_helpers.rs b/storage/accumulator/src/test_helpers.rs index 9320622104913..25477c7121640 100644 --- a/storage/accumulator/src/test_helpers.rs +++ b/storage/accumulator/src/test_helpers.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{HashReader, MerkleAccumulator, MerkleAccumulatorView}; diff --git a/storage/accumulator/src/tests/mod.rs b/storage/accumulator/src/tests/mod.rs index c9b456c53be2a..58b26e4909674 100644 --- a/storage/accumulator/src/tests/mod.rs +++ b/storage/accumulator/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod proof_test; diff --git a/storage/accumulator/src/tests/proof_test.rs b/storage/accumulator/src/tests/proof_test.rs index 63f856ab3eec1..537ba17d83e08 100644 --- a/storage/accumulator/src/tests/proof_test.rs +++ b/storage/accumulator/src/tests/proof_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/accumulator/src/tests/write_test.rs b/storage/accumulator/src/tests/write_test.rs index 682fe01757ffa..cf036b9f43174 100644 --- a/storage/accumulator/src/tests/write_test.rs +++ b/storage/accumulator/src/tests/write_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/aptosdb_test.rs b/storage/aptosdb/src/aptosdb_test.rs index 892e4bb736016..ffdeca8fd994e 100644 --- a/storage/aptosdb/src/aptosdb_test.rs +++ b/storage/aptosdb/src/aptosdb_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/aptossum/mod.rs b/storage/aptosdb/src/aptossum/mod.rs index 0144bda6cc1cd..e0e17e24ea5ae 100644 --- a/storage/aptosdb/src/aptossum/mod.rs +++ b/storage/aptosdb/src/aptossum/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{AptosDB, Order, MAX_LIMIT}; diff --git a/storage/aptosdb/src/backup/backup_handler.rs b/storage/aptosdb/src/backup/backup_handler.rs index baba0827e1933..c49c1c2108212 100644 --- a/storage/aptosdb/src/backup/backup_handler.rs +++ b/storage/aptosdb/src/backup/backup_handler.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/aptosdb/src/backup/mod.rs b/storage/aptosdb/src/backup/mod.rs index c089254be1bc3..d0e4a0cd6232a 100644 --- a/storage/aptosdb/src/backup/mod.rs +++ b/storage/aptosdb/src/backup/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod backup_handler; diff --git a/storage/aptosdb/src/backup/restore_handler.rs b/storage/aptosdb/src/backup/restore_handler.rs index 0ebbe8cd7ba54..b647ac7152eed 100644 --- a/storage/aptosdb/src/backup/restore_handler.rs +++ b/storage/aptosdb/src/backup/restore_handler.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/aptosdb/src/backup/test.rs b/storage/aptosdb/src/backup/test.rs index acd11b3a7e768..5d3c3caa63895 100644 --- a/storage/aptosdb/src/backup/test.rs +++ b/storage/aptosdb/src/backup/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{test_helper::arb_blocks_to_commit, AptosDB}; diff --git a/storage/aptosdb/src/change_set.rs b/storage/aptosdb/src/change_set.rs index 4ef53365aa06f..fcedfad396e1b 100644 --- a/storage/aptosdb/src/change_set.rs +++ b/storage/aptosdb/src/change_set.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::ledger_counters::LedgerCounterBumps; diff --git a/storage/aptosdb/src/errors.rs b/storage/aptosdb/src/errors.rs index 8448bbf39250a..74513b0ca6a6f 100644 --- a/storage/aptosdb/src/errors.rs +++ b/storage/aptosdb/src/errors.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines error types used by [`AptosDB`](crate::AptosDB). diff --git a/storage/aptosdb/src/event_store/mod.rs b/storage/aptosdb/src/event_store/mod.rs index 730dd5248ac0d..68e07c5929c64 100644 --- a/storage/aptosdb/src/event_store/mod.rs +++ b/storage/aptosdb/src/event_store/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This file defines event store APIs that are related to the event accumulator and events diff --git a/storage/aptosdb/src/event_store/test.rs b/storage/aptosdb/src/event_store/test.rs index 6a4c323a2d467..b639db5aa0f14 100644 --- a/storage/aptosdb/src/event_store/test.rs +++ b/storage/aptosdb/src/event_store/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/ledger_counters/mod.rs b/storage/aptosdb/src/ledger_counters/mod.rs index 805c11c9aad22..e0a82431f144c 100644 --- a/storage/aptosdb/src/ledger_counters/mod.rs +++ b/storage/aptosdb/src/ledger_counters/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::metrics::DIEM_STORAGE_LEDGER; diff --git a/storage/aptosdb/src/ledger_counters/test.rs b/storage/aptosdb/src/ledger_counters/test.rs index fa7759c1d68b8..c81baeae774e6 100644 --- a/storage/aptosdb/src/ledger_counters/test.rs +++ b/storage/aptosdb/src/ledger_counters/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/ledger_store/ledger_info_test.rs b/storage/aptosdb/src/ledger_store/ledger_info_test.rs index fb47736f3b9a9..ba5e115fc5476 100644 --- a/storage/aptosdb/src/ledger_store/ledger_info_test.rs +++ b/storage/aptosdb/src/ledger_store/ledger_info_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/ledger_store/mod.rs b/storage/aptosdb/src/ledger_store/mod.rs index df0d5a91fbd66..b4c118ffe7bec 100644 --- a/storage/aptosdb/src/ledger_store/mod.rs +++ b/storage/aptosdb/src/ledger_store/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This file defines ledger store APIs that are related to the main ledger accumulator, from the diff --git a/storage/aptosdb/src/ledger_store/transaction_info_test.rs b/storage/aptosdb/src/ledger_store/transaction_info_test.rs index f868082f18bfa..b14eefe57ab1b 100644 --- a/storage/aptosdb/src/ledger_store/transaction_info_test.rs +++ b/storage/aptosdb/src/ledger_store/transaction_info_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/lib.rs b/storage/aptosdb/src/lib.rs index 853caf0e70a2a..ca425918f14a8 100644 --- a/storage/aptosdb/src/lib.rs +++ b/storage/aptosdb/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/aptosdb/src/metrics.rs b/storage/aptosdb/src/metrics.rs index 373f71e8e6a0f..9a49756204f28 100644 --- a/storage/aptosdb/src/metrics.rs +++ b/storage/aptosdb/src/metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{ diff --git a/storage/aptosdb/src/pruner/db_pruner.rs b/storage/aptosdb/src/pruner/db_pruner.rs index 3f20ed248546a..8c722ad73a55f 100644 --- a/storage/aptosdb/src/pruner/db_pruner.rs +++ b/storage/aptosdb/src/pruner/db_pruner.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::transaction::Version; diff --git a/storage/aptosdb/src/pruner/mod.rs b/storage/aptosdb/src/pruner/mod.rs index 629f7b9440c9b..f71645b046c54 100644 --- a/storage/aptosdb/src/pruner/mod.rs +++ b/storage/aptosdb/src/pruner/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module provides `Pruner` which manages a thread pruning old data in the background and is diff --git a/storage/aptosdb/src/pruner/state_store/mod.rs b/storage/aptosdb/src/pruner/state_store/mod.rs index a9170b0e99046..5bfe18414ab81 100644 --- a/storage/aptosdb/src/pruner/state_store/mod.rs +++ b/storage/aptosdb/src/pruner/state_store/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/aptosdb/src/pruner/state_store/test.rs b/storage/aptosdb/src/pruner/state_store/test.rs index 1ec029055bdde..4c2364515738e 100644 --- a/storage/aptosdb/src/pruner/state_store/test.rs +++ b/storage/aptosdb/src/pruner/state_store/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{change_set::ChangeSet, pruner::*, state_store::StateStore, AptosDB}; diff --git a/storage/aptosdb/src/pruner/transaction_store/mod.rs b/storage/aptosdb/src/pruner/transaction_store/mod.rs index 10f63ed5231ef..873c6c7f69bfb 100644 --- a/storage/aptosdb/src/pruner/transaction_store/mod.rs +++ b/storage/aptosdb/src/pruner/transaction_store/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/aptosdb/src/pruner/transaction_store/test.rs b/storage/aptosdb/src/pruner/transaction_store/test.rs index 2d2579de0679f..f3e92c3dbc0b0 100644 --- a/storage/aptosdb/src/pruner/transaction_store/test.rs +++ b/storage/aptosdb/src/pruner/transaction_store/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{pruner::*, AptosDB, ChangeSet, LedgerStore, TransactionStore}; diff --git a/storage/aptosdb/src/pruner/worker.rs b/storage/aptosdb/src/pruner/worker.rs index db3b84fbc8e5b..d72c7b9f946c4 100644 --- a/storage/aptosdb/src/pruner/worker.rs +++ b/storage/aptosdb/src/pruner/worker.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::transaction::Version; use schemadb::DB; diff --git a/storage/aptosdb/src/schema/epoch_by_version/mod.rs b/storage/aptosdb/src/schema/epoch_by_version/mod.rs index c69e6a6dc1737..d8838ea569c57 100644 --- a/storage/aptosdb/src/schema/epoch_by_version/mod.rs +++ b/storage/aptosdb/src/schema/epoch_by_version/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for an index to help us find out which epoch a diff --git a/storage/aptosdb/src/schema/epoch_by_version/test.rs b/storage/aptosdb/src/schema/epoch_by_version/test.rs index bd4fbcc67be35..4f0e6d69c5186 100644 --- a/storage/aptosdb/src/schema/epoch_by_version/test.rs +++ b/storage/aptosdb/src/schema/epoch_by_version/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/event/mod.rs b/storage/aptosdb/src/schema/event/mod.rs index 4202914cefe63..19ce6d2df9003 100644 --- a/storage/aptosdb/src/schema/event/mod.rs +++ b/storage/aptosdb/src/schema/event/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for the contract events. diff --git a/storage/aptosdb/src/schema/event/test.rs b/storage/aptosdb/src/schema/event/test.rs index 1d5a09d4c6ed1..3c07775e82f89 100644 --- a/storage/aptosdb/src/schema/event/test.rs +++ b/storage/aptosdb/src/schema/event/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/event_accumulator/mod.rs b/storage/aptosdb/src/schema/event_accumulator/mod.rs index 9159ad60074b7..f4ebde7347de6 100644 --- a/storage/aptosdb/src/schema/event_accumulator/mod.rs +++ b/storage/aptosdb/src/schema/event_accumulator/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for the event accumulator. diff --git a/storage/aptosdb/src/schema/event_accumulator/test.rs b/storage/aptosdb/src/schema/event_accumulator/test.rs index f72eda8028e82..5709bddae108b 100644 --- a/storage/aptosdb/src/schema/event_accumulator/test.rs +++ b/storage/aptosdb/src/schema/event_accumulator/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/event_by_key/mod.rs b/storage/aptosdb/src/schema/event_by_key/mod.rs index e3250667734b5..3bbf5ac746812 100644 --- a/storage/aptosdb/src/schema/event_by_key/mod.rs +++ b/storage/aptosdb/src/schema/event_by_key/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for an event index via which a ContractEvent ( diff --git a/storage/aptosdb/src/schema/event_by_key/test.rs b/storage/aptosdb/src/schema/event_by_key/test.rs index c349f4bebd832..975efc5023ab8 100644 --- a/storage/aptosdb/src/schema/event_by_key/test.rs +++ b/storage/aptosdb/src/schema/event_by_key/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/event_by_version/mod.rs b/storage/aptosdb/src/schema/event_by_version/mod.rs index b312d574a01d7..d7a18d6dea65c 100644 --- a/storage/aptosdb/src/schema/event_by_version/mod.rs +++ b/storage/aptosdb/src/schema/event_by_version/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for an event index via which a ContractEvent ( diff --git a/storage/aptosdb/src/schema/event_by_version/test.rs b/storage/aptosdb/src/schema/event_by_version/test.rs index 315c54e13aab3..f7928074cfc9e 100644 --- a/storage/aptosdb/src/schema/event_by_version/test.rs +++ b/storage/aptosdb/src/schema/event_by_version/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/jellyfish_merkle_node/mod.rs b/storage/aptosdb/src/schema/jellyfish_merkle_node/mod.rs index e7f1b4415901e..98bc1602afdf1 100644 --- a/storage/aptosdb/src/schema/jellyfish_merkle_node/mod.rs +++ b/storage/aptosdb/src/schema/jellyfish_merkle_node/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for nodes in the state Jellyfish Merkle Tree. diff --git a/storage/aptosdb/src/schema/jellyfish_merkle_node/test.rs b/storage/aptosdb/src/schema/jellyfish_merkle_node/test.rs index 4a430a4626d0b..0b5e12aaff2fd 100644 --- a/storage/aptosdb/src/schema/jellyfish_merkle_node/test.rs +++ b/storage/aptosdb/src/schema/jellyfish_merkle_node/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/ledger_counters/mod.rs b/storage/aptosdb/src/schema/ledger_counters/mod.rs index 9dc80cc521963..9438d99149502 100644 --- a/storage/aptosdb/src/schema/ledger_counters/mod.rs +++ b/storage/aptosdb/src/schema/ledger_counters/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for system counters associated with ledger versions. diff --git a/storage/aptosdb/src/schema/ledger_counters/test.rs b/storage/aptosdb/src/schema/ledger_counters/test.rs index 4d1d90022ce44..605fb9a1921da 100644 --- a/storage/aptosdb/src/schema/ledger_counters/test.rs +++ b/storage/aptosdb/src/schema/ledger_counters/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/ledger_info/mod.rs b/storage/aptosdb/src/schema/ledger_info/mod.rs index 4f60c3568a5fd..a807307dd4e9a 100644 --- a/storage/aptosdb/src/schema/ledger_info/mod.rs +++ b/storage/aptosdb/src/schema/ledger_info/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for LedgerInfoWithSignatures structure. diff --git a/storage/aptosdb/src/schema/ledger_info/test.rs b/storage/aptosdb/src/schema/ledger_info/test.rs index bbb3d9bb802a4..e49388cda1226 100644 --- a/storage/aptosdb/src/schema/ledger_info/test.rs +++ b/storage/aptosdb/src/schema/ledger_info/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/mod.rs b/storage/aptosdb/src/schema/mod.rs index 6bfa2324c2659..d29717a2a0cac 100644 --- a/storage/aptosdb/src/schema/mod.rs +++ b/storage/aptosdb/src/schema/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines representation of Diem core data structures at physical level via schemas diff --git a/storage/aptosdb/src/schema/stale_node_index/mod.rs b/storage/aptosdb/src/schema/stale_node_index/mod.rs index a312ba51be636..502f6d5ae51b7 100644 --- a/storage/aptosdb/src/schema/stale_node_index/mod.rs +++ b/storage/aptosdb/src/schema/stale_node_index/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines the physical storage schema for information related to outdated state diff --git a/storage/aptosdb/src/schema/stale_node_index/test.rs b/storage/aptosdb/src/schema/stale_node_index/test.rs index 752c7d90b5a0c..7c70c138e3543 100644 --- a/storage/aptosdb/src/schema/stale_node_index/test.rs +++ b/storage/aptosdb/src/schema/stale_node_index/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/transaction/mod.rs b/storage/aptosdb/src/schema/transaction/mod.rs index ba2a727a0dc5c..4e9a035ec36d1 100644 --- a/storage/aptosdb/src/schema/transaction/mod.rs +++ b/storage/aptosdb/src/schema/transaction/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for signed transactions. diff --git a/storage/aptosdb/src/schema/transaction/test.rs b/storage/aptosdb/src/schema/transaction/test.rs index 15b9dee9d21e6..f2965e7016cba 100644 --- a/storage/aptosdb/src/schema/transaction/test.rs +++ b/storage/aptosdb/src/schema/transaction/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/transaction_accumulator/mod.rs b/storage/aptosdb/src/schema/transaction_accumulator/mod.rs index 670a5f197c487..f3ac23ffa3bad 100644 --- a/storage/aptosdb/src/schema/transaction_accumulator/mod.rs +++ b/storage/aptosdb/src/schema/transaction_accumulator/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for the transaction accumulator. diff --git a/storage/aptosdb/src/schema/transaction_accumulator/test.rs b/storage/aptosdb/src/schema/transaction_accumulator/test.rs index 45b81076ef883..3da9c9c9e159f 100644 --- a/storage/aptosdb/src/schema/transaction_accumulator/test.rs +++ b/storage/aptosdb/src/schema/transaction_accumulator/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/transaction_by_account/mod.rs b/storage/aptosdb/src/schema/transaction_by_account/mod.rs index b4083002e9509..f0d6538d562db 100644 --- a/storage/aptosdb/src/schema/transaction_by_account/mod.rs +++ b/storage/aptosdb/src/schema/transaction_by_account/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for a transaction index via which the version of a diff --git a/storage/aptosdb/src/schema/transaction_by_account/test.rs b/storage/aptosdb/src/schema/transaction_by_account/test.rs index ffa5a175d8a4e..8d50bcebb34dc 100644 --- a/storage/aptosdb/src/schema/transaction_by_account/test.rs +++ b/storage/aptosdb/src/schema/transaction_by_account/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/transaction_by_hash/mod.rs b/storage/aptosdb/src/schema/transaction_by_hash/mod.rs index 3091eeb771c8c..e40e1e0f1b3a8 100644 --- a/storage/aptosdb/src/schema/transaction_by_hash/mod.rs +++ b/storage/aptosdb/src/schema/transaction_by_hash/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema mapping transaction hash to its version. diff --git a/storage/aptosdb/src/schema/transaction_by_hash/test.rs b/storage/aptosdb/src/schema/transaction_by_hash/test.rs index 01a7fc6d2650b..313526e785c86 100644 --- a/storage/aptosdb/src/schema/transaction_by_hash/test.rs +++ b/storage/aptosdb/src/schema/transaction_by_hash/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/transaction_info/mod.rs b/storage/aptosdb/src/schema/transaction_info/mod.rs index 6c4eabde65101..ed81ae0c1ef0e 100644 --- a/storage/aptosdb/src/schema/transaction_info/mod.rs +++ b/storage/aptosdb/src/schema/transaction_info/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for TransactionInfo structure. diff --git a/storage/aptosdb/src/schema/transaction_info/test.rs b/storage/aptosdb/src/schema/transaction_info/test.rs index 38b7b4e414081..8f143cc2735a4 100644 --- a/storage/aptosdb/src/schema/transaction_info/test.rs +++ b/storage/aptosdb/src/schema/transaction_info/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/schema/write_set/mod.rs b/storage/aptosdb/src/schema/write_set/mod.rs index c333e468a2d96..233b1140603f1 100644 --- a/storage/aptosdb/src/schema/write_set/mod.rs +++ b/storage/aptosdb/src/schema/write_set/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines physical storage schema for write set emited by each transaction diff --git a/storage/aptosdb/src/schema/write_set/test.rs b/storage/aptosdb/src/schema/write_set/test.rs index c869f6db39dca..cf1e5791e951c 100644 --- a/storage/aptosdb/src/schema/write_set/test.rs +++ b/storage/aptosdb/src/schema/write_set/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/state_store/mod.rs b/storage/aptosdb/src/state_store/mod.rs index bdbcd20314487..39571c633b7b9 100644 --- a/storage/aptosdb/src/state_store/mod.rs +++ b/storage/aptosdb/src/state_store/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This file defines state store APIs that are related account state Merkle tree. diff --git a/storage/aptosdb/src/state_store/state_store_test.rs b/storage/aptosdb/src/state_store/state_store_test.rs index 34fa524c0fc60..aab7c6aa5443f 100644 --- a/storage/aptosdb/src/state_store/state_store_test.rs +++ b/storage/aptosdb/src/state_store/state_store_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/system_store/mod.rs b/storage/aptosdb/src/system_store/mod.rs index 13557b317bc97..acfbd4e325d67 100644 --- a/storage/aptosdb/src/system_store/mod.rs +++ b/storage/aptosdb/src/system_store/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This file defines system store APIs that operates data not part of the Diem core data diff --git a/storage/aptosdb/src/system_store/test.rs b/storage/aptosdb/src/system_store/test.rs index 71690ecc47593..1e27651a6aa71 100644 --- a/storage/aptosdb/src/system_store/test.rs +++ b/storage/aptosdb/src/system_store/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptosdb/src/test_helper.rs b/storage/aptosdb/src/test_helper.rs index 2a6d4f8b4ade4..6f65b5fa1ae96 100644 --- a/storage/aptosdb/src/test_helper.rs +++ b/storage/aptosdb/src/test_helper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 ///! This module provides reusable helpers in tests. diff --git a/storage/aptosdb/src/transaction_store/mod.rs b/storage/aptosdb/src/transaction_store/mod.rs index 1f8e42e594916..2f114108b2a13 100644 --- a/storage/aptosdb/src/transaction_store/mod.rs +++ b/storage/aptosdb/src/transaction_store/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This file defines transaction store APIs that are related to committed signed transactions. diff --git a/storage/aptosdb/src/transaction_store/test.rs b/storage/aptosdb/src/transaction_store/test.rs index 2a6e8af9801f6..53c542cd2fb4d 100644 --- a/storage/aptosdb/src/transaction_store/test.rs +++ b/storage/aptosdb/src/transaction_store/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/aptossum/src/main.rs b/storage/aptossum/src/main.rs index 922b07bee4539..388e76daf6712 100644 --- a/storage/aptossum/src/main.rs +++ b/storage/aptossum/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![allow(dead_code)] diff --git a/storage/backup/backup-cli/src/backup_types/epoch_ending/backup.rs b/storage/backup/backup-cli/src/backup_types/epoch_ending/backup.rs index 1b227d7b89cd3..c3d2d1e4d117d 100644 --- a/storage/backup/backup-cli/src/backup_types/epoch_ending/backup.rs +++ b/storage/backup/backup-cli/src/backup_types/epoch_ending/backup.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/backup_types/epoch_ending/manifest.rs b/storage/backup/backup-cli/src/backup_types/epoch_ending/manifest.rs index a445934b7def1..e8047a1b451f9 100644 --- a/storage/backup/backup-cli/src/backup_types/epoch_ending/manifest.rs +++ b/storage/backup/backup-cli/src/backup_types/epoch_ending/manifest.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::storage::FileHandle; diff --git a/storage/backup/backup-cli/src/backup_types/epoch_ending/mod.rs b/storage/backup/backup-cli/src/backup_types/epoch_ending/mod.rs index a658028fb9759..d4c5969b6dd47 100644 --- a/storage/backup/backup-cli/src/backup_types/epoch_ending/mod.rs +++ b/storage/backup/backup-cli/src/backup_types/epoch_ending/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod backup; diff --git a/storage/backup/backup-cli/src/backup_types/epoch_ending/restore.rs b/storage/backup/backup-cli/src/backup_types/epoch_ending/restore.rs index 40f1a3c82ffb7..b47d561d8ae08 100644 --- a/storage/backup/backup-cli/src/backup_types/epoch_ending/restore.rs +++ b/storage/backup/backup-cli/src/backup_types/epoch_ending/restore.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/backup_types/epoch_ending/tests.rs b/storage/backup/backup-cli/src/backup_types/epoch_ending/tests.rs index c64411a396c3d..5a188dda7fe67 100644 --- a/storage/backup/backup-cli/src/backup_types/epoch_ending/tests.rs +++ b/storage/backup/backup-cli/src/backup_types/epoch_ending/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/backup_types/mod.rs b/storage/backup/backup-cli/src/backup_types/mod.rs index 024c05eeeea48..990da837226b5 100644 --- a/storage/backup/backup-cli/src/backup_types/mod.rs +++ b/storage/backup/backup-cli/src/backup_types/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod epoch_ending; diff --git a/storage/backup/backup-cli/src/backup_types/state_snapshot/backup.rs b/storage/backup/backup-cli/src/backup_types/state_snapshot/backup.rs index cdf722d1fb5ae..364a41cc9d6d0 100644 --- a/storage/backup/backup-cli/src/backup_types/state_snapshot/backup.rs +++ b/storage/backup/backup-cli/src/backup_types/state_snapshot/backup.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/backup_types/state_snapshot/manifest.rs b/storage/backup/backup-cli/src/backup_types/state_snapshot/manifest.rs index 74cd21dda14e3..d79d815767c86 100644 --- a/storage/backup/backup-cli/src/backup_types/state_snapshot/manifest.rs +++ b/storage/backup/backup-cli/src/backup_types/state_snapshot/manifest.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::storage::FileHandle; diff --git a/storage/backup/backup-cli/src/backup_types/state_snapshot/mod.rs b/storage/backup/backup-cli/src/backup_types/state_snapshot/mod.rs index a658028fb9759..d4c5969b6dd47 100644 --- a/storage/backup/backup-cli/src/backup_types/state_snapshot/mod.rs +++ b/storage/backup/backup-cli/src/backup_types/state_snapshot/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod backup; diff --git a/storage/backup/backup-cli/src/backup_types/state_snapshot/restore.rs b/storage/backup/backup-cli/src/backup_types/state_snapshot/restore.rs index dd6b6022823c0..bda3ff7488ec1 100644 --- a/storage/backup/backup-cli/src/backup_types/state_snapshot/restore.rs +++ b/storage/backup/backup-cli/src/backup_types/state_snapshot/restore.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/backup_types/state_snapshot/tests.rs b/storage/backup/backup-cli/src/backup_types/state_snapshot/tests.rs index 23be72ab00092..17a0888fc2bfe 100644 --- a/storage/backup/backup-cli/src/backup_types/state_snapshot/tests.rs +++ b/storage/backup/backup-cli/src/backup_types/state_snapshot/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/backup_types/tests.rs b/storage/backup/backup-cli/src/backup_types/tests.rs index 5eb1b1ce09a4e..ad31b1481596f 100644 --- a/storage/backup/backup-cli/src/backup_types/tests.rs +++ b/storage/backup/backup-cli/src/backup_types/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/backup_types/transaction/backup.rs b/storage/backup/backup-cli/src/backup_types/transaction/backup.rs index a0893ba4c175c..d0f9c5041ff04 100644 --- a/storage/backup/backup-cli/src/backup_types/transaction/backup.rs +++ b/storage/backup/backup-cli/src/backup_types/transaction/backup.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/backup_types/transaction/manifest.rs b/storage/backup/backup-cli/src/backup_types/transaction/manifest.rs index 96ea7f2b75171..1e88d14f23015 100644 --- a/storage/backup/backup-cli/src/backup_types/transaction/manifest.rs +++ b/storage/backup/backup-cli/src/backup_types/transaction/manifest.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::storage::FileHandle; diff --git a/storage/backup/backup-cli/src/backup_types/transaction/mod.rs b/storage/backup/backup-cli/src/backup_types/transaction/mod.rs index a658028fb9759..d4c5969b6dd47 100644 --- a/storage/backup/backup-cli/src/backup_types/transaction/mod.rs +++ b/storage/backup/backup-cli/src/backup_types/transaction/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod backup; diff --git a/storage/backup/backup-cli/src/backup_types/transaction/restore.rs b/storage/backup/backup-cli/src/backup_types/transaction/restore.rs index 0d57744c9b981..21b15e32032fe 100644 --- a/storage/backup/backup-cli/src/backup_types/transaction/restore.rs +++ b/storage/backup/backup-cli/src/backup_types/transaction/restore.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/backup_types/transaction/tests.rs b/storage/backup/backup-cli/src/backup_types/transaction/tests.rs index 9be34759a7016..06a30914d18fa 100644 --- a/storage/backup/backup-cli/src/backup_types/transaction/tests.rs +++ b/storage/backup/backup-cli/src/backup_types/transaction/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/bin/db-backup-verify.rs b/storage/backup/backup-cli/src/bin/db-backup-verify.rs index e895d06490856..7b1ff3da8b191 100644 --- a/storage/backup/backup-cli/src/bin/db-backup-verify.rs +++ b/storage/backup/backup-cli/src/bin/db-backup-verify.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/storage/backup/backup-cli/src/bin/db-backup.rs b/storage/backup/backup-cli/src/bin/db-backup.rs index 8e792dd2dcb25..96e90edcb7f29 100644 --- a/storage/backup/backup-cli/src/bin/db-backup.rs +++ b/storage/backup/backup-cli/src/bin/db-backup.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::sync::Arc; diff --git a/storage/backup/backup-cli/src/bin/db-restore.rs b/storage/backup/backup-cli/src/bin/db-restore.rs index 397bc83548915..5333d774fd063 100644 --- a/storage/backup/backup-cli/src/bin/db-restore.rs +++ b/storage/backup/backup-cli/src/bin/db-restore.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/storage/backup/backup-cli/src/bin/replay-verify.rs b/storage/backup/backup-cli/src/bin/replay-verify.rs index 42b24b5ae401e..d22a2b8a56424 100644 --- a/storage/backup/backup-cli/src/bin/replay-verify.rs +++ b/storage/backup/backup-cli/src/bin/replay-verify.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/storage/backup/backup-cli/src/coordinators/backup.rs b/storage/backup/backup-cli/src/coordinators/backup.rs index 83dbf5d152a29..fe1458a3a3eac 100644 --- a/storage/backup/backup-cli/src/coordinators/backup.rs +++ b/storage/backup/backup-cli/src/coordinators/backup.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/coordinators/mod.rs b/storage/backup/backup-cli/src/coordinators/mod.rs index e7b8485e46b9d..1735da0d5751f 100644 --- a/storage/backup/backup-cli/src/coordinators/mod.rs +++ b/storage/backup/backup-cli/src/coordinators/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod backup; diff --git a/storage/backup/backup-cli/src/coordinators/replay_verify.rs b/storage/backup/backup-cli/src/coordinators/replay_verify.rs index 46710fd6c9ed2..64dab8ffb251b 100644 --- a/storage/backup/backup-cli/src/coordinators/replay_verify.rs +++ b/storage/backup/backup-cli/src/coordinators/replay_verify.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/coordinators/restore.rs b/storage/backup/backup-cli/src/coordinators/restore.rs index 0f8d291a7ae6c..27e0f584fda5d 100644 --- a/storage/backup/backup-cli/src/coordinators/restore.rs +++ b/storage/backup/backup-cli/src/coordinators/restore.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/coordinators/verify.rs b/storage/backup/backup-cli/src/coordinators/verify.rs index 5b1603de385c2..9c2f3992b3b7e 100644 --- a/storage/backup/backup-cli/src/coordinators/verify.rs +++ b/storage/backup/backup-cli/src/coordinators/verify.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/lib.rs b/storage/backup/backup-cli/src/lib.rs index 144425e735c7c..52f5aec064faa 100644 --- a/storage/backup/backup-cli/src/lib.rs +++ b/storage/backup/backup-cli/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![allow(clippy::integer_arithmetic)] diff --git a/storage/backup/backup-cli/src/metadata/cache.rs b/storage/backup/backup-cli/src/metadata/cache.rs index 2ea090f9faa73..02d7e42e07156 100644 --- a/storage/backup/backup-cli/src/metadata/cache.rs +++ b/storage/backup/backup-cli/src/metadata/cache.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/metadata/mod.rs b/storage/backup/backup-cli/src/metadata/mod.rs index e5e3212109083..5cd12dcaa7f35 100644 --- a/storage/backup/backup-cli/src/metadata/mod.rs +++ b/storage/backup/backup-cli/src/metadata/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod cache; diff --git a/storage/backup/backup-cli/src/metadata/view.rs b/storage/backup/backup-cli/src/metadata/view.rs index 46ff19ad5dbcf..d7881f1999e49 100644 --- a/storage/backup/backup-cli/src/metadata/view.rs +++ b/storage/backup/backup-cli/src/metadata/view.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::metadata::{ diff --git a/storage/backup/backup-cli/src/metrics/backup.rs b/storage/backup/backup-cli/src/metrics/backup.rs index 4723e942ca9ba..f8ed29ad1ce92 100644 --- a/storage/backup/backup-cli/src/metrics/backup.rs +++ b/storage/backup/backup-cli/src/metrics/backup.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_secure_push_metrics::{register_int_gauge, IntGauge}; diff --git a/storage/backup/backup-cli/src/metrics/metadata.rs b/storage/backup/backup-cli/src/metrics/metadata.rs index 5b4ad55e5901b..9b0195f6f2ddb 100644 --- a/storage/backup/backup-cli/src/metrics/metadata.rs +++ b/storage/backup/backup-cli/src/metrics/metadata.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_secure_push_metrics::{register_int_gauge, IntGauge}; diff --git a/storage/backup/backup-cli/src/metrics/mod.rs b/storage/backup/backup-cli/src/metrics/mod.rs index 355e5bcdb83d4..9ed947a071bf7 100644 --- a/storage/backup/backup-cli/src/metrics/mod.rs +++ b/storage/backup/backup-cli/src/metrics/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod backup; diff --git a/storage/backup/backup-cli/src/metrics/restore.rs b/storage/backup/backup-cli/src/metrics/restore.rs index 1c23bb3007ff5..321722874327d 100644 --- a/storage/backup/backup-cli/src/metrics/restore.rs +++ b/storage/backup/backup-cli/src/metrics/restore.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_secure_push_metrics::{register_int_gauge, IntGauge}; diff --git a/storage/backup/backup-cli/src/metrics/verify.rs b/storage/backup/backup-cli/src/metrics/verify.rs index ecbb3a6f7d1de..911b0d2532401 100644 --- a/storage/backup/backup-cli/src/metrics/verify.rs +++ b/storage/backup/backup-cli/src/metrics/verify.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_secure_push_metrics::{register_int_gauge, IntGauge}; diff --git a/storage/backup/backup-cli/src/storage/command_adapter/command.rs b/storage/backup/backup-cli/src/storage/command_adapter/command.rs index 536d7bc8f1e46..28e0602c3a857 100644 --- a/storage/backup/backup-cli/src/storage/command_adapter/command.rs +++ b/storage/backup/backup-cli/src/storage/command_adapter/command.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{storage::command_adapter::config::EnvVar, utils::error_notes::ErrorNotes}; diff --git a/storage/backup/backup-cli/src/storage/command_adapter/config.rs b/storage/backup/backup-cli/src/storage/command_adapter/config.rs index a62404ec53557..fe08cf5a00e58 100644 --- a/storage/backup/backup-cli/src/storage/command_adapter/config.rs +++ b/storage/backup/backup-cli/src/storage/command_adapter/config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/storage/command_adapter/mod.rs b/storage/backup/backup-cli/src/storage/command_adapter/mod.rs index 216e5daf315d8..a3fd18d3e4254 100644 --- a/storage/backup/backup-cli/src/storage/command_adapter/mod.rs +++ b/storage/backup/backup-cli/src/storage/command_adapter/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod command; diff --git a/storage/backup/backup-cli/src/storage/command_adapter/tests.rs b/storage/backup/backup-cli/src/storage/command_adapter/tests.rs index b2ae58afe976a..2c16ea19aec57 100644 --- a/storage/backup/backup-cli/src/storage/command_adapter/tests.rs +++ b/storage/backup/backup-cli/src/storage/command_adapter/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/backup/backup-cli/src/storage/local_fs/mod.rs b/storage/backup/backup-cli/src/storage/local_fs/mod.rs index 72d3b9ab4c773..3cf4753a26b2c 100644 --- a/storage/backup/backup-cli/src/storage/local_fs/mod.rs +++ b/storage/backup/backup-cli/src/storage/local_fs/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[cfg(test)] diff --git a/storage/backup/backup-cli/src/storage/local_fs/tests.rs b/storage/backup/backup-cli/src/storage/local_fs/tests.rs index 371b13033761a..434ecb3cbb486 100644 --- a/storage/backup/backup-cli/src/storage/local_fs/tests.rs +++ b/storage/backup/backup-cli/src/storage/local_fs/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/backup/backup-cli/src/storage/mod.rs b/storage/backup/backup-cli/src/storage/mod.rs index b4fc0909d779f..04e3d05b9bf1c 100644 --- a/storage/backup/backup-cli/src/storage/mod.rs +++ b/storage/backup/backup-cli/src/storage/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod command_adapter; diff --git a/storage/backup/backup-cli/src/storage/test_util.rs b/storage/backup/backup-cli/src/storage/test_util.rs index 68aed996dadcc..49427abfa11d9 100644 --- a/storage/backup/backup-cli/src/storage/test_util.rs +++ b/storage/backup/backup-cli/src/storage/test_util.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/backup/backup-cli/src/storage/tests.rs b/storage/backup/backup-cli/src/storage/tests.rs index 40c25f1d68ebe..37e00f962fba7 100644 --- a/storage/backup/backup-cli/src/storage/tests.rs +++ b/storage/backup/backup-cli/src/storage/tests.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::storage::ShellSafeName; diff --git a/storage/backup/backup-cli/src/utils/backup_service_client.rs b/storage/backup/backup-cli/src/utils/backup_service_client.rs index 621977e6e9591..371a6a990620c 100644 --- a/storage/backup/backup-cli/src/utils/backup_service_client.rs +++ b/storage/backup/backup-cli/src/utils/backup_service_client.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::utils::error_notes::ErrorNotes; diff --git a/storage/backup/backup-cli/src/utils/error_notes.rs b/storage/backup/backup-cli/src/utils/error_notes.rs index 18be64e96812c..efef666047514 100644 --- a/storage/backup/backup-cli/src/utils/error_notes.rs +++ b/storage/backup/backup-cli/src/utils/error_notes.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_logger::error; diff --git a/storage/backup/backup-cli/src/utils/mod.rs b/storage/backup/backup-cli/src/utils/mod.rs index fce3163708ed5..52aa7dbe00768 100644 --- a/storage/backup/backup-cli/src/utils/mod.rs +++ b/storage/backup/backup-cli/src/utils/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod backup_service_client; diff --git a/storage/backup/backup-cli/src/utils/read_record_bytes.rs b/storage/backup/backup-cli/src/utils/read_record_bytes.rs index b7b3571e4a0f1..0fd3d21b4241b 100644 --- a/storage/backup/backup-cli/src/utils/read_record_bytes.rs +++ b/storage/backup/backup-cli/src/utils/read_record_bytes.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::utils::error_notes::ErrorNotes; diff --git a/storage/backup/backup-cli/src/utils/storage_ext.rs b/storage/backup/backup-cli/src/utils/storage_ext.rs index 61986f5b27787..5bdbb171efbce 100644 --- a/storage/backup/backup-cli/src/utils/storage_ext.rs +++ b/storage/backup/backup-cli/src/utils/storage_ext.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::storage::{BackupHandle, BackupStorage, FileHandleRef}; diff --git a/storage/backup/backup-cli/src/utils/stream/buffered_x.rs b/storage/backup/backup-cli/src/utils/stream/buffered_x.rs index d9c25093f95c0..f7dce86eb4f0a 100644 --- a/storage/backup/backup-cli/src/utils/stream/buffered_x.rs +++ b/storage/backup/backup-cli/src/utils/stream/buffered_x.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 ///! This is a copy of `futures::stream::buffered` from `futures 0.3.6`, except that it uses diff --git a/storage/backup/backup-cli/src/utils/stream/futures_ordered_x.rs b/storage/backup/backup-cli/src/utils/stream/futures_ordered_x.rs index 28346037b9c82..ca2853a13515d 100644 --- a/storage/backup/backup-cli/src/utils/stream/futures_ordered_x.rs +++ b/storage/backup/backup-cli/src/utils/stream/futures_ordered_x.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 /// This is a copy of `futures::stream::futures_ordered` from `futures 0.3.6`, except that it uses diff --git a/storage/backup/backup-cli/src/utils/stream/futures_unordered_x.rs b/storage/backup/backup-cli/src/utils/stream/futures_unordered_x.rs index b380e8d06969b..472695ad6c771 100644 --- a/storage/backup/backup-cli/src/utils/stream/futures_unordered_x.rs +++ b/storage/backup/backup-cli/src/utils/stream/futures_unordered_x.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 /// This wraps around `futures::stream::futures_unorderd::FuturesUnordered` to provide similar diff --git a/storage/backup/backup-cli/src/utils/stream/mod.rs b/storage/backup/backup-cli/src/utils/stream/mod.rs index 40c29188ef438..72af346890e44 100644 --- a/storage/backup/backup-cli/src/utils/stream/mod.rs +++ b/storage/backup/backup-cli/src/utils/stream/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod buffered_x; diff --git a/storage/backup/backup-cli/src/utils/stream/try_buffered_x.rs b/storage/backup/backup-cli/src/utils/stream/try_buffered_x.rs index 742fd45bb53e7..a715faf1d85eb 100644 --- a/storage/backup/backup-cli/src/utils/stream/try_buffered_x.rs +++ b/storage/backup/backup-cli/src/utils/stream/try_buffered_x.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 ///! This is a copy of `futures::try_stream::try_buffered` from `futures 0.3.16`, except that it uses diff --git a/storage/backup/backup-cli/src/utils/test_utils.rs b/storage/backup/backup-cli/src/utils/test_utils.rs index c7b3f207649eb..978b4726f1120 100644 --- a/storage/backup/backup-cli/src/utils/test_utils.rs +++ b/storage/backup/backup-cli/src/utils/test_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::utils::get_available_port; diff --git a/storage/backup/backup-service/src/handlers/mod.rs b/storage/backup/backup-service/src/handlers/mod.rs index 8d8b0b9417a7a..e68d35d111b1d 100644 --- a/storage/backup/backup-service/src/handlers/mod.rs +++ b/storage/backup/backup-service/src/handlers/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod utils; diff --git a/storage/backup/backup-service/src/handlers/utils.rs b/storage/backup/backup-service/src/handlers/utils.rs index fbfdecb0f54bb..3fc9abaff2e15 100644 --- a/storage/backup/backup-service/src/handlers/utils.rs +++ b/storage/backup/backup-service/src/handlers/utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/storage/backup/backup-service/src/lib.rs b/storage/backup/backup-service/src/lib.rs index ff9916d78aea0..7a80175ba74c1 100644 --- a/storage/backup/backup-service/src/lib.rs +++ b/storage/backup/backup-service/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod handlers; diff --git a/storage/inspector/src/main.rs b/storage/inspector/src/main.rs index 2681293108027..5154fbbf5cd31 100644 --- a/storage/inspector/src/main.rs +++ b/storage/inspector/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/jellyfish-merkle/src/iterator/iterator_test.rs b/storage/jellyfish-merkle/src/iterator/iterator_test.rs index 7024ab9c8a653..d640c5f9a4fea 100644 --- a/storage/jellyfish-merkle/src/iterator/iterator_test.rs +++ b/storage/jellyfish-merkle/src/iterator/iterator_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/jellyfish-merkle/src/iterator/mod.rs b/storage/jellyfish-merkle/src/iterator/mod.rs index 3136955af1e48..556bf8f40dd7c 100644 --- a/storage/jellyfish-merkle/src/iterator/mod.rs +++ b/storage/jellyfish-merkle/src/iterator/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module implements `JellyfishMerkleIterator`. Initialized with a version and a key, the diff --git a/storage/jellyfish-merkle/src/jellyfish_merkle_test.rs b/storage/jellyfish-merkle/src/jellyfish_merkle_test.rs index 33791dafa0840..40cf5fed86acb 100644 --- a/storage/jellyfish-merkle/src/jellyfish_merkle_test.rs +++ b/storage/jellyfish-merkle/src/jellyfish_merkle_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/jellyfish-merkle/src/lib.rs b/storage/jellyfish-merkle/src/lib.rs index 6c6ed6f08cb8b..dc02a1ba0906e 100644 --- a/storage/jellyfish-merkle/src/lib.rs +++ b/storage/jellyfish-merkle/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/jellyfish-merkle/src/metrics.rs b/storage/jellyfish-merkle/src/metrics.rs index 613d7fe88d996..a573f6864439c 100644 --- a/storage/jellyfish-merkle/src/metrics.rs +++ b/storage/jellyfish-merkle/src/metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{register_int_counter, IntCounter}; diff --git a/storage/jellyfish-merkle/src/mock_tree_store.rs b/storage/jellyfish-merkle/src/mock_tree_store.rs index caa2312ed642b..a2682ac093e0c 100644 --- a/storage/jellyfish-merkle/src/mock_tree_store.rs +++ b/storage/jellyfish-merkle/src/mock_tree_store.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/jellyfish-merkle/src/node_type/mod.rs b/storage/jellyfish-merkle/src/node_type/mod.rs index 3c97a1d6b77f5..2de4c48b35736 100644 --- a/storage/jellyfish-merkle/src/node_type/mod.rs +++ b/storage/jellyfish-merkle/src/node_type/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Node types of [`JellyfishMerkleTree`](crate::JellyfishMerkleTree) diff --git a/storage/jellyfish-merkle/src/node_type/node_type_test.rs b/storage/jellyfish-merkle/src/node_type/node_type_test.rs index b2ff430645297..d265c0ec9b090 100644 --- a/storage/jellyfish-merkle/src/node_type/node_type_test.rs +++ b/storage/jellyfish-merkle/src/node_type/node_type_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::{ diff --git a/storage/jellyfish-merkle/src/restore/mod.rs b/storage/jellyfish-merkle/src/restore/mod.rs index d0d83c8493ddd..ff2194b4910aa 100644 --- a/storage/jellyfish-merkle/src/restore/mod.rs +++ b/storage/jellyfish-merkle/src/restore/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module implements the functionality to restore a `JellyfishMerkleTree` from small chunks diff --git a/storage/jellyfish-merkle/src/restore/restore_test.rs b/storage/jellyfish-merkle/src/restore/restore_test.rs index ff13943c2056a..5bbd16975f83d 100644 --- a/storage/jellyfish-merkle/src/restore/restore_test.rs +++ b/storage/jellyfish-merkle/src/restore/restore_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/jellyfish-merkle/src/test_helper.rs b/storage/jellyfish-merkle/src/test_helper.rs index 9af8a378e954c..e3c239a9b588d 100644 --- a/storage/jellyfish-merkle/src/test_helper.rs +++ b/storage/jellyfish-merkle/src/test_helper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{mock_tree_store::MockTreeStore, node_type::LeafNode, JellyfishMerkleTree}; diff --git a/storage/jellyfish-merkle/src/tree_cache/mod.rs b/storage/jellyfish-merkle/src/tree_cache/mod.rs index cb959a1a42666..ff6bc13d6565e 100644 --- a/storage/jellyfish-merkle/src/tree_cache/mod.rs +++ b/storage/jellyfish-merkle/src/tree_cache/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! A transaction can have multiple operations on state. For example, it might update values diff --git a/storage/jellyfish-merkle/src/tree_cache/tree_cache_test.rs b/storage/jellyfish-merkle/src/tree_cache/tree_cache_test.rs index dfa8415c46304..fb94b902b3d76 100644 --- a/storage/jellyfish-merkle/src/tree_cache/tree_cache_test.rs +++ b/storage/jellyfish-merkle/src/tree_cache/tree_cache_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/schemadb/src/lib.rs b/storage/schemadb/src/lib.rs index 9665f274779d0..1467d92ae1b30 100644 --- a/storage/schemadb/src/lib.rs +++ b/storage/schemadb/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/schemadb/src/metrics.rs b/storage/schemadb/src/metrics.rs index 8386107e4e22d..80fd7e8c293b5 100644 --- a/storage/schemadb/src/metrics.rs +++ b/storage/schemadb/src/metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_metrics::{ diff --git a/storage/schemadb/src/schema.rs b/storage/schemadb/src/schema.rs index 2076fe3a46199..ffd59dbaa858b 100644 --- a/storage/schemadb/src/schema.rs +++ b/storage/schemadb/src/schema.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module provides traits that define the behavior of a schema and its associated key and diff --git a/storage/schemadb/tests/db.rs b/storage/schemadb/tests/db.rs index 52fbbc3ee8a4a..d70b6524a385e 100644 --- a/storage/schemadb/tests/db.rs +++ b/storage/schemadb/tests/db.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/storage/schemadb/tests/iterator.rs b/storage/schemadb/tests/iterator.rs index 42a33c4401674..b6d55d89eed4f 100644 --- a/storage/schemadb/tests/iterator.rs +++ b/storage/schemadb/tests/iterator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/storage/scratchpad/benches/sparse_merkle.rs b/storage/scratchpad/benches/sparse_merkle.rs index f456ea1fb835b..169175c8a82c8 100644 --- a/storage/scratchpad/benches/sparse_merkle.rs +++ b/storage/scratchpad/benches/sparse_merkle.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{hash::SPARSE_MERKLE_PLACEHOLDER_HASH, HashValue}; diff --git a/storage/scratchpad/src/lib.rs b/storage/scratchpad/src/lib.rs index 24faee32e4930..efa32da4642b9 100644 --- a/storage/scratchpad/src/lib.rs +++ b/storage/scratchpad/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This crate provides in-memory representation of Diem core data structures used by the executor. diff --git a/storage/scratchpad/src/sparse_merkle/batches_update.rs b/storage/scratchpad/src/sparse_merkle/batches_update.rs index 42a960ba7dfae..3b28d307666c3 100644 --- a/storage/scratchpad/src/sparse_merkle/batches_update.rs +++ b/storage/scratchpad/src/sparse_merkle/batches_update.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/scratchpad/src/sparse_merkle/metrics.rs b/storage/scratchpad/src/sparse_merkle/metrics.rs index 841558e1e4ef3..2031d6214935a 100644 --- a/storage/scratchpad/src/sparse_merkle/metrics.rs +++ b/storage/scratchpad/src/sparse_merkle/metrics.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/scratchpad/src/sparse_merkle/mod.rs b/storage/scratchpad/src/sparse_merkle/mod.rs index 4af2892d91611..e00c7d7ec2fc2 100644 --- a/storage/scratchpad/src/sparse_merkle/mod.rs +++ b/storage/scratchpad/src/sparse_merkle/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module implements an in-memory Sparse Merkle Tree that is similar to what we use in diff --git a/storage/scratchpad/src/sparse_merkle/node.rs b/storage/scratchpad/src/sparse_merkle/node.rs index ee757d8abab59..bdbe171c19f59 100644 --- a/storage/scratchpad/src/sparse_merkle/node.rs +++ b/storage/scratchpad/src/sparse_merkle/node.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module defines all kinds of structures in the Sparse Merkle Tree maintained in scratch pad. diff --git a/storage/scratchpad/src/sparse_merkle/sparse_merkle_test.rs b/storage/scratchpad/src/sparse_merkle/sparse_merkle_test.rs index 4e88706ba02bb..982ed6ff21e9c 100644 --- a/storage/scratchpad/src/sparse_merkle/sparse_merkle_test.rs +++ b/storage/scratchpad/src/sparse_merkle/sparse_merkle_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/storage/scratchpad/src/sparse_merkle/test_utils/mod.rs b/storage/scratchpad/src/sparse_merkle/test_utils/mod.rs index cc05ccccb7ce9..66471d288399b 100644 --- a/storage/scratchpad/src/sparse_merkle/test_utils/mod.rs +++ b/storage/scratchpad/src/sparse_merkle/test_utils/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[cfg(any(test, feature = "bench", feature = "fuzzing"))] diff --git a/storage/scratchpad/src/sparse_merkle/test_utils/naive_smt.rs b/storage/scratchpad/src/sparse_merkle/test_utils/naive_smt.rs index 5ddc11cbdc4db..33320702727b1 100644 --- a/storage/scratchpad/src/sparse_merkle/test_utils/naive_smt.rs +++ b/storage/scratchpad/src/sparse_merkle/test_utils/naive_smt.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::sparse_merkle::utils::partition; diff --git a/storage/scratchpad/src/sparse_merkle/test_utils/proof_reader.rs b/storage/scratchpad/src/sparse_merkle/test_utils/proof_reader.rs index cb39a11fda4e2..18120f37dc256 100644 --- a/storage/scratchpad/src/sparse_merkle/test_utils/proof_reader.rs +++ b/storage/scratchpad/src/sparse_merkle/test_utils/proof_reader.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::ProofRead; diff --git a/storage/scratchpad/src/sparse_merkle/test_utils/proptest_helpers.rs b/storage/scratchpad/src/sparse_merkle/test_utils/proptest_helpers.rs index a97fa60d88b8f..3df8012dbca2b 100644 --- a/storage/scratchpad/src/sparse_merkle/test_utils/proptest_helpers.rs +++ b/storage/scratchpad/src/sparse_merkle/test_utils/proptest_helpers.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/scratchpad/src/sparse_merkle/updater.rs b/storage/scratchpad/src/sparse_merkle/updater.rs index 400274c4e105f..0c9f888305911 100644 --- a/storage/scratchpad/src/sparse_merkle/updater.rs +++ b/storage/scratchpad/src/sparse_merkle/updater.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/storage/scratchpad/src/sparse_merkle/utils.rs b/storage/scratchpad/src/sparse_merkle/utils.rs index 387239996f3b8..63c0ff547cf0c 100644 --- a/storage/scratchpad/src/sparse_merkle/utils.rs +++ b/storage/scratchpad/src/sparse_merkle/utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::HashValue; diff --git a/storage/state-view/src/lib.rs b/storage/state-view/src/lib.rs index 9f140f3856d27..0219c4e4f3d07 100644 --- a/storage/state-view/src/lib.rs +++ b/storage/state-view/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/storage-client/src/lib.rs b/storage/storage-client/src/lib.rs index b241dbaa9d5ba..d174040762a45 100644 --- a/storage/storage-client/src/lib.rs +++ b/storage/storage-client/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/storage-interface/src/lib.rs b/storage/storage-interface/src/lib.rs index 191d90e67fec4..0df3903bce9ae 100644 --- a/storage/storage-interface/src/lib.rs +++ b/storage/storage-interface/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{format_err, Result}; diff --git a/storage/storage-interface/src/mock.rs b/storage/storage-interface/src/mock.rs index 5bd56dd0dc822..64d1cac76e52d 100644 --- a/storage/storage-interface/src/mock.rs +++ b/storage/storage-interface/src/mock.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module provides mock dbreader for tests. diff --git a/storage/storage-interface/src/state_view.rs b/storage/storage-interface/src/state_view.rs index f82d3e5f8b452..7c7626bdcebc3 100644 --- a/storage/storage-interface/src/state_view.rs +++ b/storage/storage-interface/src/state_view.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::DbReader; diff --git a/storage/storage-service/src/lib.rs b/storage/storage-service/src/lib.rs index 11dfb529ab55e..999174f450afc 100644 --- a/storage/storage-service/src/lib.rs +++ b/storage/storage-service/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/storage/storage-service/src/storage_service_test.rs b/storage/storage-service/src/storage_service_test.rs index 2ff18f1e27515..7e156b018226f 100644 --- a/storage/storage-service/src/storage_service_test.rs +++ b/storage/storage-service/src/storage_service_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::*; diff --git a/testsuite/aptos-fuzzer/fuzz/build.rs b/testsuite/aptos-fuzzer/fuzz/build.rs index c4646de62eeee..12d21498f4dc2 100644 --- a/testsuite/aptos-fuzzer/fuzz/build.rs +++ b/testsuite/aptos-fuzzer/fuzz/build.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::{env, fs::File, io::prelude::*, path::PathBuf}; diff --git a/testsuite/aptos-fuzzer/fuzz/fuzz_targets/fuzz_runner.rs b/testsuite/aptos-fuzzer/fuzz/fuzz_targets/fuzz_runner.rs index b76d3f69e27dd..6c267d605db78 100644 --- a/testsuite/aptos-fuzzer/fuzz/fuzz_targets/fuzz_runner.rs +++ b/testsuite/aptos-fuzzer/fuzz/fuzz_targets/fuzz_runner.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![no_main] diff --git a/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build.sh b/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build.sh index 8270f9a82f267..d36a25fbd3081 100755 --- a/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build.sh +++ b/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -eux -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # This build script is used with Google OSS-Fuzz to build fuzzer with their docker container. diff --git a/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_corpus.sh b/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_corpus.sh index 899d5be02049e..162c1dddba5d6 100755 --- a/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_corpus.sh +++ b/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_corpus.sh @@ -1,5 +1,5 @@ #!/bin/bash -eux -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # this file generates 128 corpus files for a target, zips it all, and move zipfile to an outdir diff --git a/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_fuzzer.sh b/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_fuzzer.sh index 681cdbb488d3e..90a577fa5a370 100755 --- a/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_fuzzer.sh +++ b/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/build_fuzzer.sh @@ -1,5 +1,5 @@ #!/bin/bash -eux -# Copyright (c) The Diem Core Contributors +# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 # this file builds a single fuzzer target diff --git a/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/fuzzer_builder.rs b/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/fuzzer_builder.rs index 334e7e45ef534..f4fdfcee36a74 100755 --- a/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/fuzzer_builder.rs +++ b/testsuite/aptos-fuzzer/fuzz/google-oss-fuzz/fuzzer_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![no_main] diff --git a/testsuite/aptos-fuzzer/src/bin/flamegraph.rs b/testsuite/aptos-fuzzer/src/bin/flamegraph.rs index 6adf2e254affb..84cd82f0917a2 100644 --- a/testsuite/aptos-fuzzer/src/bin/flamegraph.rs +++ b/testsuite/aptos-fuzzer/src/bin/flamegraph.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_fuzzer::FuzzTarget; diff --git a/testsuite/aptos-fuzzer/src/bin/investigate.rs b/testsuite/aptos-fuzzer/src/bin/investigate.rs index 97a756bb877dd..536e591a03aff 100644 --- a/testsuite/aptos-fuzzer/src/bin/investigate.rs +++ b/testsuite/aptos-fuzzer/src/bin/investigate.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_fuzzer::FuzzTarget; @@ -8,7 +8,7 @@ use structopt::StructOpt; #[derive(Debug, StructOpt)] #[structopt( name = "Diem-Fuzzer Investigator", - author = "The Diem Core Contributors", + author = "Aptos", about = "Utility tool to investigate fuzzing artifacts" )] struct Args { diff --git a/testsuite/aptos-fuzzer/src/commands.rs b/testsuite/aptos-fuzzer/src/commands.rs index 607c5c96e1229..72eae4588d78d 100644 --- a/testsuite/aptos-fuzzer/src/commands.rs +++ b/testsuite/aptos-fuzzer/src/commands.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::FuzzTarget; diff --git a/testsuite/aptos-fuzzer/src/coverage.rs b/testsuite/aptos-fuzzer/src/coverage.rs index 1bb6807b32b20..88bfd1afef7d5 100644 --- a/testsuite/aptos-fuzzer/src/coverage.rs +++ b/testsuite/aptos-fuzzer/src/coverage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::FuzzTarget; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets.rs b/testsuite/aptos-fuzzer/src/fuzz_targets.rs index f512b777e9415..5da126263f252 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{FuzzTarget, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/consensus.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/consensus.rs index e84324247ff0a..a09494398927d 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/consensus.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/consensus.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::FuzzTargetImpl; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/executor.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/executor.rs index 71f4a8c5d6369..e83a53af86553 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/executor.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/executor.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{corpus_from_strategy, fuzz_data_to_value, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/mempool.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/mempool.rs index 4bdb082a059ae..fc7996d31d2ac 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/mempool.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/mempool.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{corpus_from_strategy, fuzz_data_to_value, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/move_vm.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/move_vm.rs index 19401d2ad5241..9dfcf7d290011 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/move_vm.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/move_vm.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::FuzzTargetImpl; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/network.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/network.rs index 3a940eec847f2..d483aceac22d3 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/network.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/network.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{corpus_from_strategy, fuzz_data_to_value, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/proof.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/proof.rs index fc1e50a61a6b3..1fc2287ac0b59 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/proof.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/proof.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{corpus_from_strategy, fuzz_data_to_value, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/safety_rules.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/safety_rules.rs index e84aa3721bb9e..5fd8b20bbf1bf 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/safety_rules.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/safety_rules.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{corpus_from_strategy, fuzz_data_to_value, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/secure_storage_vault.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/secure_storage_vault.rs index 24f23452a0716..b8b2ce4cce78a 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/secure_storage_vault.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/secure_storage_vault.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{corpus_from_strategy, fuzz_data_to_value, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/state_sync.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/state_sync.rs index a784c06eb7344..a8ec6cb66024b 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/state_sync.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/state_sync.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{corpus_from_strategy, fuzz_data_to_value, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/storage.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/storage.rs index 03e1e0079a0fa..e1b7d42e103fd 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/storage.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{corpus_from_strategy, fuzz_data_to_value, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/transaction.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/transaction.rs index 55a6dcedeb926..9c08a7de50ef7 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/transaction.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{corpus_from_strategy, fuzz_data_to_value, FuzzTargetImpl}; diff --git a/testsuite/aptos-fuzzer/src/fuzz_targets/vm.rs b/testsuite/aptos-fuzzer/src/fuzz_targets/vm.rs index 3a46bb9f830ed..6b5717cfb8bee 100644 --- a/testsuite/aptos-fuzzer/src/fuzz_targets/vm.rs +++ b/testsuite/aptos-fuzzer/src/fuzz_targets/vm.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::FuzzTargetImpl; diff --git a/testsuite/aptos-fuzzer/src/lib.rs b/testsuite/aptos-fuzzer/src/lib.rs index c47ed9aea51a0..ef8fd764e25ab 100644 --- a/testsuite/aptos-fuzzer/src/lib.rs +++ b/testsuite/aptos-fuzzer/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_proptest_helpers::ValueGenerator; diff --git a/testsuite/aptos-fuzzer/src/main.rs b/testsuite/aptos-fuzzer/src/main.rs index 77e71d3e2968e..d9cb8c2a202d3 100644 --- a/testsuite/aptos-fuzzer/src/main.rs +++ b/testsuite/aptos-fuzzer/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Helpers for fuzz testing. diff --git a/testsuite/aptos-fuzzer/tests/artifacts.rs b/testsuite/aptos-fuzzer/tests/artifacts.rs index 116d8138a862a..1f98033b58065 100644 --- a/testsuite/aptos-fuzzer/tests/artifacts.rs +++ b/testsuite/aptos-fuzzer/tests/artifacts.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Test artifacts: examples known to have crashed in the past. diff --git a/testsuite/forge-cli/src/lib.rs b/testsuite/forge-cli/src/lib.rs index 1cc54db1297c4..b1001f74551c4 100644 --- a/testsuite/forge-cli/src/lib.rs +++ b/testsuite/forge-cli/src/lib.rs @@ -1,2 +1,2 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 diff --git a/testsuite/forge-cli/src/main.rs b/testsuite/forge-cli/src/main.rs index 3032fa1682f4a..3c07a3727edbf 100644 --- a/testsuite/forge-cli/src/main.rs +++ b/testsuite/forge-cli/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_rest_client::Client as RestClient; diff --git a/testsuite/forge/src/backend/k8s/cluster_helper.rs b/testsuite/forge/src/backend/k8s/cluster_helper.rs index 664a78b3fa499..8d54adf181ef6 100644 --- a/testsuite/forge/src/backend/k8s/cluster_helper.rs +++ b/testsuite/forge/src/backend/k8s/cluster_helper.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{get_validators, k8s_retry_strategy, nodes_healthcheck, Result}; diff --git a/testsuite/forge/src/backend/k8s/mod.rs b/testsuite/forge/src/backend/k8s/mod.rs index 68e1fa87cef78..9d43dcf27da7a 100644 --- a/testsuite/forge/src/backend/k8s/mod.rs +++ b/testsuite/forge/src/backend/k8s/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Factory, GenesisConfig, Result, Swarm, Version}; diff --git a/testsuite/forge/src/backend/k8s/node.rs b/testsuite/forge/src/backend/k8s/node.rs index 9022e5c40d1ee..599f1b77e6b05 100644 --- a/testsuite/forge/src/backend/k8s/node.rs +++ b/testsuite/forge/src/backend/k8s/node.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/forge/src/backend/k8s/swarm.rs b/testsuite/forge/src/backend/k8s/swarm.rs index d12f9d6e53f53..cbec7c35de419 100644 --- a/testsuite/forge/src/backend/k8s/swarm.rs +++ b/testsuite/forge/src/backend/k8s/swarm.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/forge/src/backend/local/cargo.rs b/testsuite/forge/src/backend/local/cargo.rs index ea9ae70bc4c48..f38c8d626e2e7 100644 --- a/testsuite/forge/src/backend/local/cargo.rs +++ b/testsuite/forge/src/backend/local/cargo.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::Result; diff --git a/testsuite/forge/src/backend/local/mod.rs b/testsuite/forge/src/backend/local/mod.rs index 3fda2af332c57..0dcdc562fc05f 100644 --- a/testsuite/forge/src/backend/local/mod.rs +++ b/testsuite/forge/src/backend/local/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Factory, GenesisConfig, Result, Swarm, Version}; diff --git a/testsuite/forge/src/backend/local/node.rs b/testsuite/forge/src/backend/local/node.rs index 4d825a7a2e868..1efc6314ceadb 100644 --- a/testsuite/forge/src/backend/local/node.rs +++ b/testsuite/forge/src/backend/local/node.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{FullNode, HealthCheckError, LocalVersion, Node, NodeExt, Validator, Version}; diff --git a/testsuite/forge/src/backend/local/swarm.rs b/testsuite/forge/src/backend/local/swarm.rs index 54ac9368ebc97..3ab309ba78dd2 100644 --- a/testsuite/forge/src/backend/local/swarm.rs +++ b/testsuite/forge/src/backend/local/swarm.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/forge/src/backend/mod.rs b/testsuite/forge/src/backend/mod.rs index d1a2fdbe32355..527d992161fdc 100644 --- a/testsuite/forge/src/backend/mod.rs +++ b/testsuite/forge/src/backend/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod local; diff --git a/testsuite/forge/src/github.rs b/testsuite/forge/src/github.rs index b15d03945681a..52b5daed94d98 100644 --- a/testsuite/forge/src/github.rs +++ b/testsuite/forge/src/github.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/testsuite/forge/src/interface/admin.rs b/testsuite/forge/src/interface/admin.rs index 37507fa638285..ff88aa8aa0ed1 100644 --- a/testsuite/forge/src/interface/admin.rs +++ b/testsuite/forge/src/interface/admin.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::{ChainInfo, CoreContext, Test}; diff --git a/testsuite/forge/src/interface/aptos.rs b/testsuite/forge/src/interface/aptos.rs index 1a0e2b84eb3ad..c7c2795788949 100644 --- a/testsuite/forge/src/interface/aptos.rs +++ b/testsuite/forge/src/interface/aptos.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::Test; diff --git a/testsuite/forge/src/interface/chain_info.rs b/testsuite/forge/src/interface/chain_info.rs index 70d5e54f32cda..2711935e119d8 100644 --- a/testsuite/forge/src/interface/chain_info.rs +++ b/testsuite/forge/src/interface/chain_info.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{AptosPublicInfo, Coffer, NFTPublicInfo, PublicInfo, Result}; diff --git a/testsuite/forge/src/interface/factory.rs b/testsuite/forge/src/interface/factory.rs index 0a0af4733a6dc..25e900f8f42cf 100644 --- a/testsuite/forge/src/interface/factory.rs +++ b/testsuite/forge/src/interface/factory.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::{GenesisConfig, Swarm, Version}; diff --git a/testsuite/forge/src/interface/mod.rs b/testsuite/forge/src/interface/mod.rs index 67d135e899fcf..ae5d2f0421d44 100644 --- a/testsuite/forge/src/interface/mod.rs +++ b/testsuite/forge/src/interface/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod admin; diff --git a/testsuite/forge/src/interface/network.rs b/testsuite/forge/src/interface/network.rs index 3c2568c4c84d8..acbd3410bbbdb 100644 --- a/testsuite/forge/src/interface/network.rs +++ b/testsuite/forge/src/interface/network.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::Test; diff --git a/testsuite/forge/src/interface/nft.rs b/testsuite/forge/src/interface/nft.rs index 882b66b75410a..f5795f25228b6 100644 --- a/testsuite/forge/src/interface/nft.rs +++ b/testsuite/forge/src/interface/nft.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::Test; diff --git a/testsuite/forge/src/interface/node.rs b/testsuite/forge/src/interface/node.rs index 088e2fc251ec2..a4d16cbd55dd5 100644 --- a/testsuite/forge/src/interface/node.rs +++ b/testsuite/forge/src/interface/node.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{Result, Version}; diff --git a/testsuite/forge/src/interface/public.rs b/testsuite/forge/src/interface/public.rs index 0b5fd55c670fb..2b1254188fd94 100644 --- a/testsuite/forge/src/interface/public.rs +++ b/testsuite/forge/src/interface/public.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::Test; diff --git a/testsuite/forge/src/interface/swarm.rs b/testsuite/forge/src/interface/swarm.rs index f7c6727e1665e..03af9c3d96111 100644 --- a/testsuite/forge/src/interface/swarm.rs +++ b/testsuite/forge/src/interface/swarm.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ChainInfo, FullNode, NodeExt, Result, Validator, Version}; diff --git a/testsuite/forge/src/interface/test.rs b/testsuite/forge/src/interface/test.rs index dc6dceae00004..c792973d33a5f 100644 --- a/testsuite/forge/src/interface/test.rs +++ b/testsuite/forge/src/interface/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use rand::SeedableRng; diff --git a/testsuite/forge/src/lib.rs b/testsuite/forge/src/lib.rs index 2a09352766320..0dac919a7376c 100644 --- a/testsuite/forge/src/lib.rs +++ b/testsuite/forge/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Forge is a framework for writing and running end-to-end tests in Aptos diff --git a/testsuite/forge/src/report.rs b/testsuite/forge/src/report.rs index 1e4ba654b6e57..f4f323b63fde9 100644 --- a/testsuite/forge/src/report.rs +++ b/testsuite/forge/src/report.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::TxnStats; diff --git a/testsuite/forge/src/runner.rs b/testsuite/forge/src/runner.rs index 0f5c5073d73b0..d6c09a7445465 100644 --- a/testsuite/forge/src/runner.rs +++ b/testsuite/forge/src/runner.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::*; diff --git a/testsuite/forge/src/slack.rs b/testsuite/forge/src/slack.rs index 8a5b11d35a1ac..a55cdc13f7798 100644 --- a/testsuite/forge/src/slack.rs +++ b/testsuite/forge/src/slack.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/testsuite/generate-format/src/aptos.rs b/testsuite/generate-format/src/aptos.rs index e48782e58d26b..8a567a129f309 100644 --- a/testsuite/generate-format/src/aptos.rs +++ b/testsuite/generate-format/src/aptos.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::language_storage; diff --git a/testsuite/generate-format/src/compute.rs b/testsuite/generate-format/src/compute.rs index 46489f8c87596..d7af1a7a084b2 100644 --- a/testsuite/generate-format/src/compute.rs +++ b/testsuite/generate-format/src/compute.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use generate_format::Corpus; diff --git a/testsuite/generate-format/src/consensus.rs b/testsuite/generate-format/src/consensus.rs index b04931436c758..1f2eb3e82bfc4 100644 --- a/testsuite/generate-format/src/consensus.rs +++ b/testsuite/generate-format/src/consensus.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::language_storage; diff --git a/testsuite/generate-format/src/language_storage.rs b/testsuite/generate-format/src/language_storage.rs index ec01234c6c80e..c1cdc84c266f2 100644 --- a/testsuite/generate-format/src/language_storage.rs +++ b/testsuite/generate-format/src/language_storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use move_core_types::{account_address::AccountAddress, identifier::Identifier}; diff --git a/testsuite/generate-format/src/lib.rs b/testsuite/generate-format/src/lib.rs index e9dd3ad7776ee..9ae794677fe1d 100644 --- a/testsuite/generate-format/src/lib.rs +++ b/testsuite/generate-format/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! How and where to record the Serde format of interesting Aptos types. diff --git a/testsuite/generate-format/src/linter.rs b/testsuite/generate-format/src/linter.rs index ea89b19b08bc3..02ae33e017e52 100644 --- a/testsuite/generate-format/src/linter.rs +++ b/testsuite/generate-format/src/linter.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde_reflection::{ContainerFormat, Error, Format, FormatHolder, Result}; diff --git a/testsuite/generate-format/src/move_abi.rs b/testsuite/generate-format/src/move_abi.rs index b4e22d2e73725..c49ffccef35ce 100644 --- a/testsuite/generate-format/src/move_abi.rs +++ b/testsuite/generate-format/src/move_abi.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::language_storage; diff --git a/testsuite/generate-format/src/network.rs b/testsuite/generate-format/src/network.rs index b46365de23cdc..e837823ed95ea 100644 --- a/testsuite/generate-format/src/network.rs +++ b/testsuite/generate-format/src/network.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ diff --git a/testsuite/generate-format/tests/detect_format_change.rs b/testsuite/generate-format/tests/detect_format_change.rs index 15598b8dbce5a..7eea15742a433 100644 --- a/testsuite/generate-format/tests/detect_format_change.rs +++ b/testsuite/generate-format/tests/detect_format_change.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use generate_format::Corpus; diff --git a/testsuite/generate-format/tests/linter.rs b/testsuite/generate-format/tests/linter.rs index 0f842f75f2f11..4a02349c468a2 100644 --- a/testsuite/generate-format/tests/linter.rs +++ b/testsuite/generate-format/tests/linter.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use generate_format::lint_bcs_format; diff --git a/testsuite/smoke-test/src/aptos/account_creation.rs b/testsuite/smoke-test/src/aptos/account_creation.rs index 1d04e7074c4b5..2152b5332fc6c 100644 --- a/testsuite/smoke-test/src/aptos/account_creation.rs +++ b/testsuite/smoke-test/src/aptos/account_creation.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_builder::aptos_stdlib; diff --git a/testsuite/smoke-test/src/aptos/error_report.rs b/testsuite/smoke-test/src/aptos/error_report.rs index 7eb09bbd08fd1..216fbe180cf40 100644 --- a/testsuite/smoke-test/src/aptos/error_report.rs +++ b/testsuite/smoke-test/src/aptos/error_report.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_sdk::{transaction_builder::TransactionBuilder, types::LocalAccount}; diff --git a/testsuite/smoke-test/src/aptos/gas_check.rs b/testsuite/smoke-test/src/aptos/gas_check.rs index ec18a145e7216..42dc133cd430b 100644 --- a/testsuite/smoke-test/src/aptos/gas_check.rs +++ b/testsuite/smoke-test/src/aptos/gas_check.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_sdk::move_types::gas_schedule::{GasAlgebra, GasConstants}; diff --git a/testsuite/smoke-test/src/aptos/mint_transfer.rs b/testsuite/smoke-test/src/aptos/mint_transfer.rs index 5d588012da89e..96df30aa903a9 100644 --- a/testsuite/smoke-test/src/aptos/mint_transfer.rs +++ b/testsuite/smoke-test/src/aptos/mint_transfer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_transaction_builder::aptos_stdlib; diff --git a/testsuite/smoke-test/src/aptos/mod.rs b/testsuite/smoke-test/src/aptos/mod.rs index 5d078d397a584..f694f18c99dca 100644 --- a/testsuite/smoke-test/src/aptos/mod.rs +++ b/testsuite/smoke-test/src/aptos/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod account_creation; diff --git a/testsuite/smoke-test/src/aptos/module_publish.rs b/testsuite/smoke-test/src/aptos/module_publish.rs index 6b1ef9c03df9c..6abcb6c894edc 100644 --- a/testsuite/smoke-test/src/aptos/module_publish.rs +++ b/testsuite/smoke-test/src/aptos/module_publish.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_types::transaction::{ModuleBundle, TransactionPayload}; diff --git a/testsuite/smoke-test/src/client.rs b/testsuite/smoke-test/src/client.rs index 66e75ad8b8059..a5b1d0b43fda8 100644 --- a/testsuite/smoke-test/src/client.rs +++ b/testsuite/smoke-test/src/client.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/smoke-test/src/consensus.rs b/testsuite/smoke-test/src/consensus.rs index b18f815164014..3e039fd625751 100644 --- a/testsuite/smoke-test/src/consensus.rs +++ b/testsuite/smoke-test/src/consensus.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/smoke-test/src/dev_modules/module.move b/testsuite/smoke-test/src/dev_modules/module.move index 4050315053ab0..25354f8eda835 100644 --- a/testsuite/smoke-test/src/dev_modules/module.move +++ b/testsuite/smoke-test/src/dev_modules/module.move @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // Note: If this test file fails to run, it is possible that the diff --git a/testsuite/smoke-test/src/dev_modules/script.move b/testsuite/smoke-test/src/dev_modules/script.move index aae31d311808f..eac76e1916c0a 100644 --- a/testsuite/smoke-test/src/dev_modules/script.move +++ b/testsuite/smoke-test/src/dev_modules/script.move @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // Note: If this test file fails to run, it is possible that the diff --git a/testsuite/smoke-test/src/full_nodes.rs b/testsuite/smoke-test/src/full_nodes.rs index 623b32f7f2f52..2cc2fa7adf852 100644 --- a/testsuite/smoke-test/src/full_nodes.rs +++ b/testsuite/smoke-test/src/full_nodes.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/smoke-test/src/fullnode.rs b/testsuite/smoke-test/src/fullnode.rs index 3d15afcbaa6eb..bd156ee00bb32 100644 --- a/testsuite/smoke-test/src/fullnode.rs +++ b/testsuite/smoke-test/src/fullnode.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use std::time::{Duration, Instant}; diff --git a/testsuite/smoke-test/src/genesis.rs b/testsuite/smoke-test/src/genesis.rs index 3f709024948a5..3f1e687e1463a 100644 --- a/testsuite/smoke-test/src/genesis.rs +++ b/testsuite/smoke-test/src/genesis.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/smoke-test/src/lib.rs b/testsuite/smoke-test/src/lib.rs index 224e9aa1953f5..ae1980c3f2ce1 100644 --- a/testsuite/smoke-test/src/lib.rs +++ b/testsuite/smoke-test/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 // Defines Forge Tests diff --git a/testsuite/smoke-test/src/network.rs b/testsuite/smoke-test/src/network.rs index 9cc1f94efcc3f..e75f151e9685f 100644 --- a/testsuite/smoke-test/src/network.rs +++ b/testsuite/smoke-test/src/network.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::smoke_test_environment::new_local_swarm; diff --git a/testsuite/smoke-test/src/nft_transaction.rs b/testsuite/smoke-test/src/nft_transaction.rs index 153c35b89da19..c259e39546f08 100644 --- a/testsuite/smoke-test/src/nft_transaction.rs +++ b/testsuite/smoke-test/src/nft_transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_rest_client::Client as RestClient; diff --git a/testsuite/smoke-test/src/operational_tooling.rs b/testsuite/smoke-test/src/operational_tooling.rs index 05c5df79b23e0..551be65917d93 100644 --- a/testsuite/smoke-test/src/operational_tooling.rs +++ b/testsuite/smoke-test/src/operational_tooling.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/smoke-test/src/rest_api.rs b/testsuite/smoke-test/src/rest_api.rs index 614bf1e62e215..c33caea4bc408 100644 --- a/testsuite/smoke-test/src/rest_api.rs +++ b/testsuite/smoke-test/src/rest_api.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_rest_client::Client; diff --git a/testsuite/smoke-test/src/scripts_and_modules.rs b/testsuite/smoke-test/src/scripts_and_modules.rs index ddd2a34e8c2e6..bd44e86ae3c6a 100644 --- a/testsuite/smoke-test/src/scripts_and_modules.rs +++ b/testsuite/smoke-test/src/scripts_and_modules.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{bail, format_err}; diff --git a/testsuite/smoke-test/src/smoke_test_environment.rs b/testsuite/smoke-test/src/smoke_test_environment.rs index 70ee6f24b736a..e2a3a78667551 100644 --- a/testsuite/smoke-test/src/smoke_test_environment.rs +++ b/testsuite/smoke-test/src/smoke_test_environment.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use forge::{LocalFactory, LocalSwarm}; diff --git a/testsuite/smoke-test/src/state_sync.rs b/testsuite/smoke-test/src/state_sync.rs index abe8ce26a37cb..2ebe400d2b4aa 100644 --- a/testsuite/smoke-test/src/state_sync.rs +++ b/testsuite/smoke-test/src/state_sync.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/smoke-test/src/state_sync_v2.rs b/testsuite/smoke-test/src/state_sync_v2.rs index 77d61e296999a..035fd3630051e 100644 --- a/testsuite/smoke-test/src/state_sync_v2.rs +++ b/testsuite/smoke-test/src/state_sync_v2.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/smoke-test/src/storage.rs b/testsuite/smoke-test/src/storage.rs index 232c9b7b5cc21..26006dc0bf8b5 100644 --- a/testsuite/smoke-test/src/storage.rs +++ b/testsuite/smoke-test/src/storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/testsuite/smoke-test/src/test_utils.rs b/testsuite/smoke-test/src/test_utils.rs index bb3a1256b7dfd..2c9a7651bd487 100644 --- a/testsuite/smoke-test/src/test_utils.rs +++ b/testsuite/smoke-test/src/test_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_config::config::{Identity, NodeConfig, SecureBackend}; diff --git a/testsuite/smoke-test/src/transaction.rs b/testsuite/smoke-test/src/transaction.rs index 8bb43d1fc15a4..7f7ed19106002 100644 --- a/testsuite/smoke-test/src/transaction.rs +++ b/testsuite/smoke-test/src/transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::bail; diff --git a/testsuite/smoke-test/src/workspace_builder.rs b/testsuite/smoke-test/src/workspace_builder.rs index f2a7c3bd74703..01e6bc69f154a 100644 --- a/testsuite/smoke-test/src/workspace_builder.rs +++ b/testsuite/smoke-test/src/workspace_builder.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! DO NOT USE OUTSIDE OF SMOKE_TEST CRATE diff --git a/testsuite/smoke-test/tests/forge-aptos.rs b/testsuite/smoke-test/tests/forge-aptos.rs index bb82915bdf0d2..ac4759d3bfb79 100644 --- a/testsuite/smoke-test/tests/forge-aptos.rs +++ b/testsuite/smoke-test/tests/forge-aptos.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use forge::{forge_main, ForgeConfig, LocalFactory, Options, Result}; diff --git a/testsuite/smoke-test/tests/forge-nft.rs b/testsuite/smoke-test/tests/forge-nft.rs index 7f4bab662310d..dab076fff00fe 100644 --- a/testsuite/smoke-test/tests/forge-nft.rs +++ b/testsuite/smoke-test/tests/forge-nft.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use forge::{forge_main, ForgeConfig, LocalFactory, Options, Result}; diff --git a/testsuite/smoke-test/tests/forge.rs b/testsuite/smoke-test/tests/forge.rs index 3fdfc3ad8407e..71b7938cc5c7f 100644 --- a/testsuite/smoke-test/tests/forge.rs +++ b/testsuite/smoke-test/tests/forge.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use forge::{forge_main, ForgeConfig, LocalFactory, Options, Result}; diff --git a/testsuite/testcases/src/compatibility_test.rs b/testsuite/testcases/src/compatibility_test.rs index 2014a52b75c2c..39a6959e1126e 100644 --- a/testsuite/testcases/src/compatibility_test.rs +++ b/testsuite/testcases/src/compatibility_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{batch_update, generate_traffic}; diff --git a/testsuite/testcases/src/fixed_tps_test.rs b/testsuite/testcases/src/fixed_tps_test.rs index fea1bce12f734..83afec41d953c 100644 --- a/testsuite/testcases/src/fixed_tps_test.rs +++ b/testsuite/testcases/src/fixed_tps_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::generate_traffic; diff --git a/testsuite/testcases/src/gas_price_test.rs b/testsuite/testcases/src/gas_price_test.rs index 413adceceae17..5b30d1708dd28 100644 --- a/testsuite/testcases/src/gas_price_test.rs +++ b/testsuite/testcases/src/gas_price_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::generate_traffic; diff --git a/testsuite/testcases/src/lib.rs b/testsuite/testcases/src/lib.rs index f113b4c0b11f4..7b8454b2d16f8 100644 --- a/testsuite/testcases/src/lib.rs +++ b/testsuite/testcases/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod compatibility_test; diff --git a/testsuite/testcases/src/partial_nodes_down_test.rs b/testsuite/testcases/src/partial_nodes_down_test.rs index 528f205fd1615..a6a96eb790e84 100644 --- a/testsuite/testcases/src/partial_nodes_down_test.rs +++ b/testsuite/testcases/src/partial_nodes_down_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::generate_traffic; diff --git a/testsuite/testcases/src/performance_test.rs b/testsuite/testcases/src/performance_test.rs index 666b722ad8073..27ddf79c33442 100644 --- a/testsuite/testcases/src/performance_test.rs +++ b/testsuite/testcases/src/performance_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::generate_traffic; diff --git a/testsuite/testcases/src/reconfiguration_test.rs b/testsuite/testcases/src/reconfiguration_test.rs index f24b9c7a75279..47ca7bbd449ca 100644 --- a/testsuite/testcases/src/reconfiguration_test.rs +++ b/testsuite/testcases/src/reconfiguration_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::ensure; diff --git a/testsuite/testcases/src/state_sync_performance.rs b/testsuite/testcases/src/state_sync_performance.rs index dcda5e870ee75..3b04c298f3f90 100644 --- a/testsuite/testcases/src/state_sync_performance.rs +++ b/testsuite/testcases/src/state_sync_performance.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::generate_traffic; diff --git a/testsuite/testcases/tests/forge-local-compatibility.rs b/testsuite/testcases/tests/forge-local-compatibility.rs index 9adbbd0f6ad96..6958152f1e082 100644 --- a/testsuite/testcases/tests/forge-local-compatibility.rs +++ b/testsuite/testcases/tests/forge-local-compatibility.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use forge::{forge_main, ForgeConfig, InitialVersion, LocalFactory, Options, Result}; diff --git a/testsuite/testcases/tests/forge-local-performance.rs b/testsuite/testcases/tests/forge-local-performance.rs index 56e914aa45d85..8a6ac186c16c5 100644 --- a/testsuite/testcases/tests/forge-local-performance.rs +++ b/testsuite/testcases/tests/forge-local-performance.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use forge::{forge_main, ForgeConfig, InitialVersion, LocalFactory, Options, Result}; diff --git a/types/src/access_path.rs b/types/src/access_path.rs index 292e9361f3082..8f63ec165b3d3 100644 --- a/types/src/access_path.rs +++ b/types/src/access_path.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! Suppose we have the following data structure in a smart contract: diff --git a/types/src/account_address.rs b/types/src/account_address.rs index 533a753d4e85e..8953c000158a9 100644 --- a/types/src/account_address.rs +++ b/types/src/account_address.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::transaction::authenticator::AuthenticationKey; use aptos_crypto::{ diff --git a/types/src/account_config/constants/account.rs b/types/src/account_config/constants/account.rs index cd9dc62164c69..e3c44c343db98 100644 --- a/types/src/account_config/constants/account.rs +++ b/types/src/account_config/constants/account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub use move_core_types::vm_status::known_locations::{ diff --git a/types/src/account_config/constants/addresses.rs b/types/src/account_config/constants/addresses.rs index fb3f763a41b0d..3365a07df810b 100644 --- a/types/src/account_config/constants/addresses.rs +++ b/types/src/account_config/constants/addresses.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_address::AccountAddress; diff --git a/types/src/account_config/constants/coins.rs b/types/src/account_config/constants/coins.rs index 7f917ffad294c..52a2c1c4acc90 100644 --- a/types/src/account_config/constants/coins.rs +++ b/types/src/account_config/constants/coins.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::constants::{from_currency_code_string, CORE_CODE_ADDRESS}; diff --git a/types/src/account_config/constants/designated_dealer.rs b/types/src/account_config/constants/designated_dealer.rs index 7f0a80383da78..dd1d8ed52b450 100644 --- a/types/src/account_config/constants/designated_dealer.rs +++ b/types/src/account_config/constants/designated_dealer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub use move_core_types::vm_status::known_locations::{ diff --git a/types/src/account_config/constants/diem.rs b/types/src/account_config/constants/diem.rs index d983e2506ba12..6da058cdb5e81 100644 --- a/types/src/account_config/constants/diem.rs +++ b/types/src/account_config/constants/diem.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::constants::CORE_CODE_ADDRESS; diff --git a/types/src/account_config/constants/event.rs b/types/src/account_config/constants/event.rs index 94ec42ce1988e..01fa3cda587ff 100644 --- a/types/src/account_config/constants/event.rs +++ b/types/src/account_config/constants/event.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::constants::CORE_CODE_ADDRESS; diff --git a/types/src/account_config/constants/mod.rs b/types/src/account_config/constants/mod.rs index 4b6c732e16cbc..c33b542422b44 100644 --- a/types/src/account_config/constants/mod.rs +++ b/types/src/account_config/constants/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod account; diff --git a/types/src/account_config/events/admin_transaction.rs b/types/src/account_config/events/admin_transaction.rs index dff5ae13ab494..e958d6dcea485 100644 --- a/types/src/account_config/events/admin_transaction.rs +++ b/types/src/account_config/events/admin_transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::DIEM_ACCOUNT_MODULE_IDENTIFIER; diff --git a/types/src/account_config/events/base_url_rotation.rs b/types/src/account_config/events/base_url_rotation.rs index a6b2702671f67..ed028a0669b74 100644 --- a/types/src/account_config/events/base_url_rotation.rs +++ b/types/src/account_config/events/base_url_rotation.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/types/src/account_config/events/burn.rs b/types/src/account_config/events/burn.rs index c11b239a650eb..4fb12ca2e593e 100644 --- a/types/src/account_config/events/burn.rs +++ b/types/src/account_config/events/burn.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{account_address::AccountAddress, account_config::DIEM_MODULE_IDENTIFIER}; diff --git a/types/src/account_config/events/cancel_burn.rs b/types/src/account_config/events/cancel_burn.rs index e58c4ae2ef19f..736f1382f2408 100644 --- a/types/src/account_config/events/cancel_burn.rs +++ b/types/src/account_config/events/cancel_burn.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{account_address::AccountAddress, account_config::DIEM_MODULE_IDENTIFIER}; diff --git a/types/src/account_config/events/compliance_key_rotation.rs b/types/src/account_config/events/compliance_key_rotation.rs index c81674bbb4894..93bfefb33e1e6 100644 --- a/types/src/account_config/events/compliance_key_rotation.rs +++ b/types/src/account_config/events/compliance_key_rotation.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/types/src/account_config/events/create_account.rs b/types/src/account_config/events/create_account.rs index b94c8b925b2aa..cd8ebf3bf6aa9 100644 --- a/types/src/account_config/events/create_account.rs +++ b/types/src/account_config/events/create_account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/events/exchange_rate_update.rs b/types/src/account_config/events/exchange_rate_update.rs index 978b360171a78..0f4eada6c5476 100644 --- a/types/src/account_config/events/exchange_rate_update.rs +++ b/types/src/account_config/events/exchange_rate_update.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::DIEM_MODULE_IDENTIFIER; diff --git a/types/src/account_config/events/force_shift.rs b/types/src/account_config/events/force_shift.rs index ae1c7ed2e9098..007d810e920c7 100644 --- a/types/src/account_config/events/force_shift.rs +++ b/types/src/account_config/events/force_shift.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result; diff --git a/types/src/account_config/events/mint.rs b/types/src/account_config/events/mint.rs index 51a1def529ccf..6f85a6f6e57f6 100644 --- a/types/src/account_config/events/mint.rs +++ b/types/src/account_config/events/mint.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::DIEM_MODULE_IDENTIFIER; diff --git a/types/src/account_config/events/mod.rs b/types/src/account_config/events/mod.rs index 783bb50ff5f8d..8c1d7a2c47bac 100644 --- a/types/src/account_config/events/mod.rs +++ b/types/src/account_config/events/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod admin_transaction; diff --git a/types/src/account_config/events/new_block.rs b/types/src/account_config/events/new_block.rs index f49f2ce6b8351..7393655a5d1c6 100644 --- a/types/src/account_config/events/new_block.rs +++ b/types/src/account_config/events/new_block.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_address::AccountAddress; diff --git a/types/src/account_config/events/new_epoch.rs b/types/src/account_config/events/new_epoch.rs index 2d5f83b5b5ad2..7865f48707651 100644 --- a/types/src/account_config/events/new_epoch.rs +++ b/types/src/account_config/events/new_epoch.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::event::EventKey; diff --git a/types/src/account_config/events/preburn.rs b/types/src/account_config/events/preburn.rs index c8e756ed4889c..c542047e26937 100644 --- a/types/src/account_config/events/preburn.rs +++ b/types/src/account_config/events/preburn.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{account_address::AccountAddress, account_config::DIEM_MODULE_IDENTIFIER}; diff --git a/types/src/account_config/events/received_mint.rs b/types/src/account_config/events/received_mint.rs index 9e8c8c90f78a4..b04283b00c941 100644 --- a/types/src/account_config/events/received_mint.rs +++ b/types/src/account_config/events/received_mint.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{account_address::AccountAddress, account_config::DESIGNATED_DEALER_MODULE_IDENTIFIER}; diff --git a/types/src/account_config/events/received_payment.rs b/types/src/account_config/events/received_payment.rs index 4085c0f0a190b..28776758d29a2 100644 --- a/types/src/account_config/events/received_payment.rs +++ b/types/src/account_config/events/received_payment.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/events/sent_payment.rs b/types/src/account_config/events/sent_payment.rs index 6722b96a5def9..07466745d99df 100644 --- a/types/src/account_config/events/sent_payment.rs +++ b/types/src/account_config/events/sent_payment.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/mod.rs b/types/src/account_config/mod.rs index 815ec8835ba6c..f5dae4368d256 100644 --- a/types/src/account_config/mod.rs +++ b/types/src/account_config/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod constants; diff --git a/types/src/account_config/resources/account.rs b/types/src/account_config/resources/account.rs index 7b07b61ae0ad0..e3889b5743bc3 100644 --- a/types/src/account_config/resources/account.rs +++ b/types/src/account_config/resources/account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/resources/balance.rs b/types/src/account_config/resources/balance.rs index 88b3cf99c6958..ef9d812e9d968 100644 --- a/types/src/account_config/resources/balance.rs +++ b/types/src/account_config/resources/balance.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/resources/chain_account_info.rs b/types/src/account_config/resources/chain_account_info.rs index 40b48950bf5c4..705f29ad5a296 100644 --- a/types/src/account_config/resources/chain_account_info.rs +++ b/types/src/account_config/resources/chain_account_info.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::constants::{ diff --git a/types/src/account_config/resources/chain_id.rs b/types/src/account_config/resources/chain_id.rs index a574d0096ed0d..2c1e69eabdc21 100644 --- a/types/src/account_config/resources/chain_id.rs +++ b/types/src/account_config/resources/chain_id.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::chain_id::ChainId; diff --git a/types/src/account_config/resources/core_account.rs b/types/src/account_config/resources/core_account.rs index 37dfd43edbe91..2bdc9fa36db54 100644 --- a/types/src/account_config/resources/core_account.rs +++ b/types/src/account_config/resources/core_account.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::constants::CORE_ACCOUNT_MODULE_IDENTIFIER; diff --git a/types/src/account_config/resources/crsn.rs b/types/src/account_config/resources/crsn.rs index 38b679942de0b..d2c1cc8301514 100644 --- a/types/src/account_config/resources/crsn.rs +++ b/types/src/account_config/resources/crsn.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use move_core_types::{ diff --git a/types/src/account_config/resources/currency_info.rs b/types/src/account_config/resources/currency_info.rs index 83b3dfbc4b316..53c663024fe15 100644 --- a/types/src/account_config/resources/currency_info.rs +++ b/types/src/account_config/resources/currency_info.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/resources/designated_dealer.rs b/types/src/account_config/resources/designated_dealer.rs index 71a0c30790fb8..44e183393c910 100644 --- a/types/src/account_config/resources/designated_dealer.rs +++ b/types/src/account_config/resources/designated_dealer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/resources/dual_attestation.rs b/types/src/account_config/resources/dual_attestation.rs index 0dcfaa4ad8060..3e3e0a0bd65c0 100644 --- a/types/src/account_config/resources/dual_attestation.rs +++ b/types/src/account_config/resources/dual_attestation.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{event::EventHandle, on_chain_config::OnChainConfig}; diff --git a/types/src/account_config/resources/freezing_bit.rs b/types/src/account_config/resources/freezing_bit.rs index ed0923c256ddc..349f28cab4d3a 100644 --- a/types/src/account_config/resources/freezing_bit.rs +++ b/types/src/account_config/resources/freezing_bit.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use move_core_types::{ diff --git a/types/src/account_config/resources/key_rotation_capability.rs b/types/src/account_config/resources/key_rotation_capability.rs index e294ec1ae9c05..6f9bd90729ecc 100644 --- a/types/src/account_config/resources/key_rotation_capability.rs +++ b/types/src/account_config/resources/key_rotation_capability.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/resources/mod.rs b/types/src/account_config/resources/mod.rs index 255a5ce45eedd..eeb5fcc743fe6 100644 --- a/types/src/account_config/resources/mod.rs +++ b/types/src/account_config/resources/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod account; diff --git a/types/src/account_config/resources/preburn_balance.rs b/types/src/account_config/resources/preburn_balance.rs index 24246145640fe..b26a4e5a87fed 100644 --- a/types/src/account_config/resources/preburn_balance.rs +++ b/types/src/account_config/resources/preburn_balance.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/resources/preburn_queue.rs b/types/src/account_config/resources/preburn_queue.rs index 40bae067d70c4..6c213429603f2 100644 --- a/types/src/account_config/resources/preburn_queue.rs +++ b/types/src/account_config/resources/preburn_queue.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/resources/preburn_with_metadata.rs b/types/src/account_config/resources/preburn_with_metadata.rs index 97c62795966c0..6917f7dac481d 100644 --- a/types/src/account_config/resources/preburn_with_metadata.rs +++ b/types/src/account_config/resources/preburn_with_metadata.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_config/resources/role.rs b/types/src/account_config/resources/role.rs index 7eaf783def66e..1443106044f30 100644 --- a/types/src/account_config/resources/role.rs +++ b/types/src/account_config/resources/role.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::resources::{ diff --git a/types/src/account_config/resources/vasp.rs b/types/src/account_config/resources/vasp.rs index 3d995c6c13a6a..411e64152e5c3 100644 --- a/types/src/account_config/resources/vasp.rs +++ b/types/src/account_config/resources/vasp.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_address::AccountAddress; diff --git a/types/src/account_config/resources/withdraw_capability.rs b/types/src/account_config/resources/withdraw_capability.rs index f9145366f68d8..892ca3f1dc3fc 100644 --- a/types/src/account_config/resources/withdraw_capability.rs +++ b/types/src/account_config/resources/withdraw_capability.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_state.rs b/types/src/account_state.rs index 9922c2123ee49..e8ea1fbf01215 100644 --- a/types/src/account_state.rs +++ b/types/src/account_state.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/account_state_blob.rs b/types/src/account_state_blob.rs index 6a4fa1a098f6f..e45fdcf55de85 100644 --- a/types/src/account_state_blob.rs +++ b/types/src/account_state_blob.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/block_info.rs b/types/src/block_info.rs index 6b14ad3666af1..2384fbb617b3e 100644 --- a/types/src/block_info.rs +++ b/types/src/block_info.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{epoch_state::EpochState, on_chain_config::ValidatorSet, transaction::Version}; diff --git a/types/src/block_metadata.rs b/types/src/block_metadata.rs index e8336bbb1ba72..ab70fbfbf6cf5 100644 --- a/types/src/block_metadata.rs +++ b/types/src/block_metadata.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/chain_id.rs b/types/src/chain_id.rs index 63d04a4f986a6..d917be39172f0 100644 --- a/types/src/chain_id.rs +++ b/types/src/chain_id.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::{ensure, format_err, Error, Result}; use serde::{de::Visitor, Deserialize, Deserializer, Serialize}; diff --git a/types/src/contract_event.rs b/types/src/contract_event.rs index f8a3b0ebb52d8..15a6695fe74e4 100644 --- a/types/src/contract_event.rs +++ b/types/src/contract_event.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/epoch_change.rs b/types/src/epoch_change.rs index ae2fe56307246..07f0eeedd7b5c 100644 --- a/types/src/epoch_change.rs +++ b/types/src/epoch_change.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/types/src/epoch_state.rs b/types/src/epoch_state.rs index 3598f89172734..6060ed6b42ab1 100644 --- a/types/src/epoch_state.rs +++ b/types/src/epoch_state.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/event.rs b/types/src/event.rs index 54a119d5733be..d85ff3ba38b39 100644 --- a/types/src/event.rs +++ b/types/src/event.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_address::AccountAddress; diff --git a/types/src/ledger_info.rs b/types/src/ledger_info.rs index ac9ff9d66cb87..4fa01ef7a161b 100644 --- a/types/src/ledger_info.rs +++ b/types/src/ledger_info.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/lib.rs b/types/src/lib.rs index 20ee31306d577..597df0a9b42c0 100644 --- a/types/src/lib.rs +++ b/types/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/types/src/mempool_status.rs b/types/src/mempool_status.rs index 62f43b96cea4c..71064eed53278 100644 --- a/types/src/mempool_status.rs +++ b/types/src/mempool_status.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![allow(clippy::unit_arg)] diff --git a/types/src/move_resource.rs b/types/src/move_resource.rs index 40dd48b76fb99..9bd28b8263bfc 100644 --- a/types/src/move_resource.rs +++ b/types/src/move_resource.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{access_path::AccessPath, on_chain_config::ConfigID, transaction::Version}; diff --git a/types/src/network_address/mod.rs b/types/src/network_address/mod.rs index bffd8c4311b86..9e9a58c5afe18 100644 --- a/types/src/network_address/mod.rs +++ b/types/src/network_address/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use aptos_crypto::{ diff --git a/types/src/nft/mod.rs b/types/src/nft/mod.rs index 34f980d2ff27e..8854b64dfac45 100644 --- a/types/src/nft/mod.rs +++ b/types/src/nft/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod tokens; diff --git a/types/src/nft/tokens.rs b/types/src/nft/tokens.rs index 9ce310a39d32c..846815b03982a 100644 --- a/types/src/nft/tokens.rs +++ b/types/src/nft/tokens.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use move_core_types::{ diff --git a/types/src/nibble/mod.rs b/types/src/nibble/mod.rs index 4ce5c451ba9bd..6ca4ac9734e79 100644 --- a/types/src/nibble/mod.rs +++ b/types/src/nibble/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/types/src/nibble/nibble_path/mod.rs b/types/src/nibble/nibble_path/mod.rs index 17a94c7900604..18b15b2e74197 100644 --- a/types/src/nibble/nibble_path/mod.rs +++ b/types/src/nibble/nibble_path/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! NibblePath library simplify operations with nibbles in a compact format for modified sparse diff --git a/types/src/nibble/nibble_path/nibble_path_test.rs b/types/src/nibble/nibble_path/nibble_path_test.rs index be8e7ed7f584c..d1b63446ec95b 100644 --- a/types/src/nibble/nibble_path/nibble_path_test.rs +++ b/types/src/nibble/nibble_path/nibble_path_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::{arb_internal_nibble_path, skip_common_prefix, NibblePath}; diff --git a/types/src/on_chain_config/consensus_config.rs b/types/src/on_chain_config/consensus_config.rs index ff76d4ca70a1c..a53a0a870256d 100644 --- a/types/src/on_chain_config/consensus_config.rs +++ b/types/src/on_chain_config/consensus_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::on_chain_config::OnChainConfig; diff --git a/types/src/on_chain_config/diem_version.rs b/types/src/on_chain_config/diem_version.rs index fc35cd23f8aad..a7bf275c2a329 100644 --- a/types/src/on_chain_config/diem_version.rs +++ b/types/src/on_chain_config/diem_version.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::on_chain_config::OnChainConfig; diff --git a/types/src/on_chain_config/mod.rs b/types/src/on_chain_config/mod.rs index 662eb1009bde4..7d79db7030680 100644 --- a/types/src/on_chain_config/mod.rs +++ b/types/src/on_chain_config/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/on_chain_config/parallel_execution_config.rs b/types/src/on_chain_config/parallel_execution_config.rs index a8800997ffb15..58e9418e61cad 100644 --- a/types/src/on_chain_config/parallel_execution_config.rs +++ b/types/src/on_chain_config/parallel_execution_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::on_chain_config::OnChainConfig; diff --git a/types/src/on_chain_config/registered_currencies.rs b/types/src/on_chain_config/registered_currencies.rs index 701b1d743049b..e9c40e019f45c 100644 --- a/types/src/on_chain_config/registered_currencies.rs +++ b/types/src/on_chain_config/registered_currencies.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::on_chain_config::OnChainConfig; diff --git a/types/src/on_chain_config/validator_set.rs b/types/src/on_chain_config/validator_set.rs index ee44126e33185..af3063d3dd959 100644 --- a/types/src/on_chain_config/validator_set.rs +++ b/types/src/on_chain_config/validator_set.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{on_chain_config::OnChainConfig, validator_info::ValidatorInfo}; diff --git a/types/src/on_chain_config/vm_config.rs b/types/src/on_chain_config/vm_config.rs index dd7bec7096bbe..161fa9309565e 100644 --- a/types/src/on_chain_config/vm_config.rs +++ b/types/src/on_chain_config/vm_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::on_chain_config::OnChainConfig; diff --git a/types/src/on_chain_config/vm_publishing_option.rs b/types/src/on_chain_config/vm_publishing_option.rs index f37b230f6670d..e665a1aaa9b42 100644 --- a/types/src/on_chain_config/vm_publishing_option.rs +++ b/types/src/on_chain_config/vm_publishing_option.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::on_chain_config::OnChainConfig; diff --git a/types/src/proof/accumulator/accumulator_test.rs b/types/src/proof/accumulator/accumulator_test.rs index 94442b192bb72..a9706f35d87d4 100644 --- a/types/src/proof/accumulator/accumulator_test.rs +++ b/types/src/proof/accumulator/accumulator_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use super::InMemoryAccumulator; diff --git a/types/src/proof/accumulator/mock.rs b/types/src/proof/accumulator/mock.rs index 675732a349660..85bdd52e5c5d8 100644 --- a/types/src/proof/accumulator/mock.rs +++ b/types/src/proof/accumulator/mock.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/proof/accumulator/mod.rs b/types/src/proof/accumulator/mod.rs index 5de853988368b..d6f58fdc7f93c 100644 --- a/types/src/proof/accumulator/mod.rs +++ b/types/src/proof/accumulator/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module implements an in-memory Merkle Accumulator that is similar to what we use in diff --git a/types/src/proof/definition.rs b/types/src/proof/definition.rs index 1ea12a910a6e3..a0cea1557c4bc 100644 --- a/types/src/proof/definition.rs +++ b/types/src/proof/definition.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module has definition of various proofs. diff --git a/types/src/proof/mod.rs b/types/src/proof/mod.rs index 6867806163d73..e78917bb9db42 100644 --- a/types/src/proof/mod.rs +++ b/types/src/proof/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod accumulator; diff --git a/types/src/proof/position/mod.rs b/types/src/proof/position/mod.rs index 14846c2c430b7..2f83527a6804b 100644 --- a/types/src/proof/position/mod.rs +++ b/types/src/proof/position/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! This module provides an abstraction for positioning a node in a binary tree, diff --git a/types/src/proof/position/position_test.rs b/types/src/proof/position/position_test.rs index a8bf16517b981..b6d28ff350883 100644 --- a/types/src/proof/position/position_test.rs +++ b/types/src/proof/position/position_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::proof::position::*; diff --git a/types/src/proof/proptest_proof.rs b/types/src/proof/proptest_proof.rs index 14489ade9c916..cc369320db2ac 100644 --- a/types/src/proof/proptest_proof.rs +++ b/types/src/proof/proptest_proof.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! All proofs generated in this module are not valid proofs. They are only for the purpose of diff --git a/types/src/proof/unit_tests/mod.rs b/types/src/proof/unit_tests/mod.rs index dfd9b00813589..2cc5d2cb7b5eb 100644 --- a/types/src/proof/unit_tests/mod.rs +++ b/types/src/proof/unit_tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod proof_conversion_test; diff --git a/types/src/proof/unit_tests/proof_conversion_test.rs b/types/src/proof/unit_tests/proof_conversion_test.rs index 06c226537cfa4..a47911e422b43 100644 --- a/types/src/proof/unit_tests/proof_conversion_test.rs +++ b/types/src/proof/unit_tests/proof_conversion_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/proof/unit_tests/proof_test.rs b/types/src/proof/unit_tests/proof_test.rs index 2018eed657d6b..910135dfea40a 100644 --- a/types/src/proof/unit_tests/proof_test.rs +++ b/types/src/proof/unit_tests/proof_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/proptest_types.rs b/types/src/proptest_types.rs index ff2b089f4f9ff..65f2a241cfb41 100644 --- a/types/src/proptest_types.rs +++ b/types/src/proptest_types.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/serde_helper/mod.rs b/types/src/serde_helper/mod.rs index 4ca69d6dd61d5..51c4ca8cd939c 100644 --- a/types/src/serde_helper/mod.rs +++ b/types/src/serde_helper/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod vec_bytes; diff --git a/types/src/serde_helper/vec_bytes.rs b/types/src/serde_helper/vec_bytes.rs index 6e6847512abeb..15fd0d444efc5 100644 --- a/types/src/serde_helper/vec_bytes.rs +++ b/types/src/serde_helper/vec_bytes.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{ diff --git a/types/src/state_proof.rs b/types/src/state_proof.rs index 62efbbc1eea6f..70c9a1e58d68b 100644 --- a/types/src/state_proof.rs +++ b/types/src/state_proof.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/test_helpers/mod.rs b/types/src/test_helpers/mod.rs index f260d4e0b870a..5593fccbd24ae 100644 --- a/types/src/test_helpers/mod.rs +++ b/types/src/test_helpers/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod transaction_test_helpers; diff --git a/types/src/test_helpers/transaction_test_helpers.rs b/types/src/test_helpers/transaction_test_helpers.rs index ace63713013a7..2c6c4cca30718 100644 --- a/types/src/test_helpers/transaction_test_helpers.rs +++ b/types/src/test_helpers/transaction_test_helpers.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/timestamp.rs b/types/src/timestamp.rs index 789e166d35ac0..767693b50714e 100644 --- a/types/src/timestamp.rs +++ b/types/src/timestamp.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use move_core_types::{ diff --git a/types/src/transaction/authenticator.rs b/types/src/transaction/authenticator.rs index b7c5a80eb2f82..718e5e12b8c11 100644 --- a/types/src/transaction/authenticator.rs +++ b/types/src/transaction/authenticator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/transaction/change_set.rs b/types/src/transaction/change_set.rs index fcf03460a9dfc..5fa602d92668d 100644 --- a/types/src/transaction/change_set.rs +++ b/types/src/transaction/change_set.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{contract_event::ContractEvent, write_set::WriteSet}; diff --git a/types/src/transaction/helpers.rs b/types/src/transaction/helpers.rs index 14dd01b5846d8..744c306d3e07f 100644 --- a/types/src/transaction/helpers.rs +++ b/types/src/transaction/helpers.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/transaction/mod.rs b/types/src/transaction/mod.rs index dee905b99465c..d1ff327797c65 100644 --- a/types/src/transaction/mod.rs +++ b/types/src/transaction/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/transaction/module.rs b/types/src/transaction/module.rs index bc2e79301e033..e430725363c5b 100644 --- a/types/src/transaction/module.rs +++ b/types/src/transaction/module.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use serde::{Deserialize, Serialize}; diff --git a/types/src/transaction/script.rs b/types/src/transaction/script.rs index 140d4b5120da9..78f0b154f4721 100644 --- a/types/src/transaction/script.rs +++ b/types/src/transaction/script.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{serde_helper::vec_bytes, transaction::transaction_argument::TransactionArgument}; diff --git a/types/src/transaction/transaction_argument.rs b/types/src/transaction/transaction_argument.rs index bf67ffac9a38e..6e8520136f03e 100644 --- a/types/src/transaction/transaction_argument.rs +++ b/types/src/transaction/transaction_argument.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub use move_core_types::{ diff --git a/types/src/trusted_state.rs b/types/src/trusted_state.rs index d668f39cf6cbc..b3aa1d8052fb5 100644 --- a/types/src/trusted_state.rs +++ b/types/src/trusted_state.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/unit_tests/access_path_test.rs b/types/src/unit_tests/access_path_test.rs index 2076e02d013df..b7d8641090ee4 100644 --- a/types/src/unit_tests/access_path_test.rs +++ b/types/src/unit_tests/access_path_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{access_path::AccessPath, account_address::AccountAddress}; diff --git a/types/src/unit_tests/block_metadata_test.rs b/types/src/unit_tests/block_metadata_test.rs index 77e0025579655..aee739794955f 100644 --- a/types/src/unit_tests/block_metadata_test.rs +++ b/types/src/unit_tests/block_metadata_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::block_metadata::BlockMetadata; diff --git a/types/src/unit_tests/canonical_serialization_examples.rs b/types/src/unit_tests/canonical_serialization_examples.rs index c044f666d5762..5038f7e948daf 100644 --- a/types/src/unit_tests/canonical_serialization_examples.rs +++ b/types/src/unit_tests/canonical_serialization_examples.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! These tests verify the behavior of BCS against some known test vectors with various types. diff --git a/types/src/unit_tests/code_debug_fmt_test.rs b/types/src/unit_tests/code_debug_fmt_test.rs index 9e223ea57ff16..47d54b3aa7a91 100644 --- a/types/src/unit_tests/code_debug_fmt_test.rs +++ b/types/src/unit_tests/code_debug_fmt_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::transaction::Script; diff --git a/types/src/unit_tests/contract_event_test.rs b/types/src/unit_tests/contract_event_test.rs index f9cba5c0c9cb8..5d29d4915d68e 100644 --- a/types/src/unit_tests/contract_event_test.rs +++ b/types/src/unit_tests/contract_event_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/unit_tests/currency_code_test.rs b/types/src/unit_tests/currency_code_test.rs index 339e5cf0d32f5..2806ff636bb78 100644 --- a/types/src/unit_tests/currency_code_test.rs +++ b/types/src/unit_tests/currency_code_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_config::allowed_currency_code_string; diff --git a/types/src/unit_tests/mod.rs b/types/src/unit_tests/mod.rs index 32e844c605844..174581c704db6 100644 --- a/types/src/unit_tests/mod.rs +++ b/types/src/unit_tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 mod access_path_test; diff --git a/types/src/unit_tests/transaction_test.rs b/types/src/unit_tests/transaction_test.rs index 26a0eb0a8e546..91dd4d1a1babf 100644 --- a/types/src/unit_tests/transaction_test.rs +++ b/types/src/unit_tests/transaction_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/unit_tests/trusted_state_test.rs b/types/src/unit_tests/trusted_state_test.rs index d9d18abfa1e7e..f9244cd5d8a97 100644 --- a/types/src/unit_tests/trusted_state_test.rs +++ b/types/src/unit_tests/trusted_state_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/unit_tests/validator_set_test.rs b/types/src/unit_tests/validator_set_test.rs index 1e06fed5a1739..d7d2fb9f254ba 100644 --- a/types/src/unit_tests/validator_set_test.rs +++ b/types/src/unit_tests/validator_set_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::on_chain_config::ValidatorSet; diff --git a/types/src/unit_tests/write_set_test.rs b/types/src/unit_tests/write_set_test.rs index 5ae343aeee9ad..4b604416483b6 100644 --- a/types/src/unit_tests/write_set_test.rs +++ b/types/src/unit_tests/write_set_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::write_set::WriteSet; diff --git a/types/src/validator_config.rs b/types/src/validator_config.rs index 9ee4a9e498dbb..9eea8b883af8a 100644 --- a/types/src/validator_config.rs +++ b/types/src/validator_config.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{account_address::AccountAddress, network_address::NetworkAddress}; diff --git a/types/src/validator_info.rs b/types/src/validator_info.rs index 0eeb21b24eb6f..219cbf1454bd2 100644 --- a/types/src/validator_info.rs +++ b/types/src/validator_info.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #[cfg(any(test, feature = "fuzzing"))] diff --git a/types/src/validator_signer.rs b/types/src/validator_signer.rs index 70d48cdcac3e6..6ffbaf5e87921 100644 --- a/types/src/validator_signer.rs +++ b/types/src/validator_signer.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::account_address::AccountAddress; diff --git a/types/src/validator_verifier.rs b/types/src/validator_verifier.rs index 4cdec84aafb86..b837f574332a3 100644 --- a/types/src/validator_verifier.rs +++ b/types/src/validator_verifier.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{account_address::AccountAddress, on_chain_config::ValidatorSet}; diff --git a/types/src/vm_status.rs b/types/src/vm_status.rs index d6c8343434b01..623945c443491 100644 --- a/types/src/vm_status.rs +++ b/types/src/vm_status.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub use move_core_types::vm_status::{ known_locations, sub_status, AbortLocation, DiscardedVMStatus, KeptVMStatus, StatusCode, diff --git a/types/src/waypoint.rs b/types/src/waypoint.rs index 7f3ef08ea7461..1534d3bc84d7e 100644 --- a/types/src/waypoint.rs +++ b/types/src/waypoint.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::{ diff --git a/types/src/write_set.rs b/types/src/write_set.rs index bb457af3b3f82..e368f8b49dd68 100644 --- a/types/src/write_set.rs +++ b/types/src/write_set.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 //! For each transaction the VM executes, the VM will output a `WriteSet` that contains each access diff --git a/vm-validator/src/lib.rs b/vm-validator/src/lib.rs index 46555ebcb7d08..9a77d83c9d572 100644 --- a/vm-validator/src/lib.rs +++ b/vm-validator/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 #![forbid(unsafe_code)] diff --git a/vm-validator/src/mocks/mock_vm_validator.rs b/vm-validator/src/mocks/mock_vm_validator.rs index ec4efc6a39599..a9b17fccba9ae 100644 --- a/vm-validator/src/mocks/mock_vm_validator.rs +++ b/vm-validator/src/mocks/mock_vm_validator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::vm_validator::TransactionValidation; diff --git a/vm-validator/src/mocks/mod.rs b/vm-validator/src/mocks/mod.rs index d10d297a30d4e..dfd6672b803a6 100644 --- a/vm-validator/src/mocks/mod.rs +++ b/vm-validator/src/mocks/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 pub mod mock_vm_validator; diff --git a/vm-validator/src/unit_tests/vm_validator_test.rs b/vm-validator/src/unit_tests/vm_validator_test.rs index 28727e2322f14..1cbf9fcdac884 100644 --- a/vm-validator/src/unit_tests/vm_validator_test.rs +++ b/vm-validator/src/unit_tests/vm_validator_test.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use crate::vm_validator::{TransactionValidation, VMValidator}; diff --git a/vm-validator/src/vm_validator.rs b/vm-validator/src/vm_validator.rs index f1964907757e2..cf582ebb3e342 100644 --- a/vm-validator/src/vm_validator.rs +++ b/vm-validator/src/vm_validator.rs @@ -1,4 +1,4 @@ -// Copyright (c) The Diem Core Contributors +// Copyright (c) Aptos // SPDX-License-Identifier: Apache-2.0 use anyhow::Result;