From a8e1b0f3563fcebd103c5a73538e9bfa657dadc3 Mon Sep 17 00:00:00 2001 From: Ayush Kumar Mishra Date: Wed, 17 Jul 2024 17:33:51 +0530 Subject: [PATCH] Refactoring --- .github/workflows/docker-img-hackathon.yaml | 26 --------------------- runtime/cere-dev/src/lib.rs | 4 +++- runtime/cere/src/lib.rs | 1 + 3 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/docker-img-hackathon.yaml diff --git a/.github/workflows/docker-img-hackathon.yaml b/.github/workflows/docker-img-hackathon.yaml deleted file mode 100644 index 47f300c7b..000000000 --- a/.github/workflows/docker-img-hackathon.yaml +++ /dev/null @@ -1,26 +0,0 @@ -name: "Build image from branch" - -on: - workflow_dispatch: - -jobs: - publish_docker_image: - runs-on: ubuntu-latest - steps: - - name: "Login to Docker Hub" - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: "Build and push docker image" - uses: docker/build-push-action@v5 - with: - push: true - no-cache: true - tags: | - cerebellumnetwork/blockchain-node:${{ github.sha }} - build-args: | - COMMIT=${{ github.sha }} - VERSION=${{ github.sha }} - NETWORK=local \ No newline at end of file diff --git a/runtime/cere-dev/src/lib.rs b/runtime/cere-dev/src/lib.rs index 400e22c56..bae7e2aad 100644 --- a/runtime/cere-dev/src/lib.rs +++ b/runtime/cere-dev/src/lib.rs @@ -1376,7 +1376,9 @@ pub type SignedPayload = generic::SignedPayload; pub type CheckedExtrinsic = generic::CheckedExtrinsic; /// Runtime migrations -type Migrations = (); +type Migrations = ( + pallet_ddc_customers::migration::MigrateToV1, +); /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< diff --git a/runtime/cere/src/lib.rs b/runtime/cere/src/lib.rs index 996fd5dce..a52409393 100644 --- a/runtime/cere/src/lib.rs +++ b/runtime/cere/src/lib.rs @@ -1387,6 +1387,7 @@ pub type CheckedExtrinsic = generic::CheckedExtrinsic, pallet_ddc_staking::migrations::v1::MigrateToV1, + pallet_ddc_customers::migration::MigrateToV1, ); /// Executive: handles dispatch to the various modules.