From 2286a2234aea6bd5c7950b33b07a4f0526f5c430 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Wed, 25 Oct 2023 19:40:19 +0000 Subject: [PATCH] Merge pull request #1028 from UniqueNetwork/ci/node-only-fix Fix bdk failure on node-only --- --- a/.github/workflows/node-only-update.yml +++ b/.github/workflows/node-only-update.yml @@ -187,7 +187,7 @@ 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 @@ 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) --- a/runtime/common/config/pallets/mod.rs +++ b/runtime/common/config/pallets/mod.rs @@ -112,7 +112,7 @@ 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; -- gitstuff