From e176c987675c021b11d6a861f320bbfb3adb1322 Mon Sep 17 00:00:00 2001 From: David Palm Date: Fri, 16 Feb 2024 09:33:52 +0100 Subject: [PATCH] chore: rename seq to cert producer --- ...ate_producer_topos_core_contract_test.yml} | 3 +- .github/workflows/coverage.yml | 2 +- .github/workflows/test.yml | 22 +-- Cargo.lock | 136 +++++++++--------- LICENSE | 5 +- 5 files changed, 84 insertions(+), 84 deletions(-) rename .github/workflows/{sequencer_topos_core_contract_test.yml => certificate_producer_topos_core_contract_test.yml} (85%) diff --git a/.github/workflows/sequencer_topos_core_contract_test.yml b/.github/workflows/certificate_producer_topos_core_contract_test.yml similarity index 85% rename from .github/workflows/sequencer_topos_core_contract_test.yml rename to .github/workflows/certificate_producer_topos_core_contract_test.yml index c81e0abcb..7f34647bf 100644 --- a/.github/workflows/sequencer_topos_core_contract_test.yml +++ b/.github/workflows/certificate_producer_topos_core_contract_test.yml @@ -1,4 +1,4 @@ -name: Sequencer Topos Core Contract interaction test +name: Certificate Producer Topos Core Contract interaction test on: push: @@ -16,6 +16,7 @@ jobs: owner: topos-protocol repo: e2e-tests github_token: ${{ secrets.ROBOT_PAT_TRIGGER_E2E_WORKFLOWS }} + # TODO: where is this file? workflow_file_name: topos:sequencer-contracts.yml ref: main wait_interval: 60 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index dfbf865bc..b030c984d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -37,7 +37,7 @@ jobs: RUSTFLAGS: "-Cinstrument-coverage" RUSTDOCFLAGS: "-Cinstrument-coverage" LLVM_PROFILE_FILE: "codecov-instrumentation-%p-%m.profraw" - run: cargo nextest run --workspace --exclude topos-sequencer-subnet-runtime + run: cargo nextest run --workspace --exclude topos-certificate-producer-subnet-runtime - name: Run grcov run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d57db3efa..1fb895531 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,16 +18,16 @@ jobs: name: Test documentation runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - - uses: ./.github/actions/install-rust - with: - toolchain: nightly - AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID}} - AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY}} + - name: Checkout + uses: actions/checkout@v4 + - uses: ./.github/actions/install-rust + with: + toolchain: nightly + AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID}} + AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY}} - - name: Build Documentation - run: cargo +nightly doc --no-deps --all --all-features + - name: Build Documentation + run: cargo +nightly doc --no-deps --all --all-features test_stable: runs-on: ubuntu-latest-16-core @@ -41,7 +41,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID}} AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY}} - - run: cargo nextest run --workspace --exclude topos-sequencer-subnet-runtime && cargo test --doc --workspace + - run: cargo nextest run --workspace --exclude topos-certificate-producer-subnet-runtime && cargo test --doc --workspace env: RUST_LOG: warn,topos=info @@ -58,7 +58,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID}} AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY}} - - run: cargo nextest run --workspace --exclude topos-sequencer-subnet-runtime && cargo test --doc --workspace + - run: cargo nextest run --workspace --exclude topos-certificate-producer-subnet-runtime && cargo test --doc --workspace env: RUST_LOG: topos=warn diff --git a/Cargo.lock b/Cargo.lock index 4712f223b..3b070db01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7708,11 +7708,11 @@ dependencies = [ "tokio-util", "toml 0.7.8", "tonic 0.10.2", + "topos-certificate-producer", "topos-certificate-spammer", "topos-config", "topos-core", "topos-p2p", - "topos-sequencer", "topos-tce", "topos-tce-api", "topos-tce-broadcast", @@ -7731,6 +7731,73 @@ dependencies = [ "uuid 1.7.0", ] +[[package]] +name = "topos-certificate-producer" +version = "0.1.0" +dependencies = [ + "hex", + "opentelemetry", + "serde", + "tokio", + "tokio-util", + "topos-certificate-producer-subnet-runtime", + "topos-core", + "topos-crypto", + "topos-tce-proxy", + "topos-wallet", + "tracing", + "tracing-opentelemetry", + "tracing-subscriber", +] + +[[package]] +name = "topos-certificate-producer-subnet-client" +version = "0.1.0" +dependencies = [ + "backoff", + "ethers", + "ethers-providers", + "hex", + "rustc-hex", + "serde", + "serde_json", + "thiserror", + "tiny-keccak 1.5.0", + "tokio", + "topos-core", + "tracing", +] + +[[package]] +name = "topos-certificate-producer-subnet-runtime" +version = "0.1.0" +dependencies = [ + "byteorder", + "env_logger 0.10.2", + "ethers", + "fs_extra", + "hex", + "opentelemetry", + "rand", + "rand_core", + "rstest", + "secp256k1", + "serde", + "serde_json", + "serial_test", + "test-log", + "thiserror", + "tiny-keccak 1.5.0", + "tokio", + "topos-certificate-producer-subnet-client", + "topos-core", + "topos-crypto", + "topos-test-sdk", + "tracing", + "tracing-opentelemetry", + "tracing-subscriber", +] + [[package]] name = "topos-certificate-spammer" version = "0.1.0" @@ -7919,73 +7986,6 @@ dependencies = [ "void", ] -[[package]] -name = "topos-sequencer" -version = "0.1.0" -dependencies = [ - "hex", - "opentelemetry", - "serde", - "tokio", - "tokio-util", - "topos-core", - "topos-crypto", - "topos-sequencer-subnet-runtime", - "topos-tce-proxy", - "topos-wallet", - "tracing", - "tracing-opentelemetry", - "tracing-subscriber", -] - -[[package]] -name = "topos-sequencer-subnet-client" -version = "0.1.0" -dependencies = [ - "backoff", - "ethers", - "ethers-providers", - "hex", - "rustc-hex", - "serde", - "serde_json", - "thiserror", - "tiny-keccak 1.5.0", - "tokio", - "topos-core", - "tracing", -] - -[[package]] -name = "topos-sequencer-subnet-runtime" -version = "0.1.0" -dependencies = [ - "byteorder", - "env_logger 0.10.2", - "ethers", - "fs_extra", - "hex", - "opentelemetry", - "rand", - "rand_core", - "rstest", - "secp256k1", - "serde", - "serde_json", - "serial_test", - "test-log", - "thiserror", - "tiny-keccak 1.5.0", - "tokio", - "topos-core", - "topos-crypto", - "topos-sequencer-subnet-client", - "topos-test-sdk", - "tracing", - "tracing-opentelemetry", - "tracing-subscriber", -] - [[package]] name = "topos-tce" version = "0.1.0" diff --git a/LICENSE b/LICENSE index 396d39e0c..f73a11e1c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -The Transmission Control Engine (TCE) and Sequencer are licensed under BSL-1.1. +The Transmission Control Engine (TCE) and Certificate Producer are licensed under BSL-1.1. ----------------------------------------------------------------------------- @@ -12,7 +12,7 @@ Parameters Licensor: zk Foundation Licensed Work: Code contained within the "topos" repository - Transmission Control Engine (TCE) and Sequencer + Transmission Control Engine (TCE) and Certificate Producer The Licensed Work is (c) zk Foundation Additional Use Grant: @@ -114,4 +114,3 @@ Notice The Business Source License (this document, or the "License") is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License. -