Skip to content

Commit

Permalink
ci: fix bdk output
Browse files Browse the repository at this point in the history
  • Loading branch information
CertainLach committed Oct 25, 2023
1 parent bdb29fd commit fcc1568
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node-only-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion runtime/common/config/pallets/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fcc1568

Please sign in to comment.