From fcc1568cef889fc90358a1f9a4f071df9b711acf Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Wed, 25 Oct 2023 16:08:44 +0200 Subject: [PATCH] ci: fix bdk output --- .github/workflows/node-only-update.yml | 4 ++-- runtime/common/config/pallets/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node-only-update.yml b/.github/workflows/node-only-update.yml index 725705d346..73b9e61a92 100644 --- a/.github/workflows/node-only-update.yml +++ b/.github/workflows/node-only-update.yml @@ -187,7 +187,7 @@ jobs: if: success() || failure() uses: UniqueNetwork/baedeker-action/reconcile@built with: - baedeker: ${{ steps.bdk.baedeker }} + baedeker: ${{ steps.bdk.outputs.baedeker }} # Chain should always be built with the mainnet spec, this we first set binary for all nodes expect one, then set mainnet binary for the last node, and then force chainspec to be still generated from mainnet inputs: | snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.latest.outputs.name }}'}}, leave = 1, for_chain = false) @@ -205,7 +205,7 @@ jobs: if: success() || failure() uses: UniqueNetwork/baedeker-action/reconcile@built with: - baedeker: ${{ steps.bdk.baedeker }} + baedeker: ${{ steps.bdk.outputs.baedeker }} # Chain should always be built with the mainnet spec, this we first set binary for all nodes, and then force chainspec to be still generated from mainnet inputs: | snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.latest.outputs.name }}'}}, for_chain = false) diff --git a/runtime/common/config/pallets/mod.rs b/runtime/common/config/pallets/mod.rs index aa8ad4ad1d..9bab7683a3 100644 --- a/runtime/common/config/pallets/mod.rs +++ b/runtime/common/config/pallets/mod.rs @@ -112,7 +112,7 @@ impl BlockNumberProvider for OnInitializeBlockNumberProvider { fn current_block_number() -> Self::BlockNumber { // This code was broken previously, but after fixing, we decided it would be better to leave it broken for now. - 0u32.into() + 0 // use hex_literal::hex; // use parity_scale_codec::Decode; // use sp_io::storage;