git.delta.rocks / unique-network / refs/commits / 2286a2234aea

difftreelog

Merge pull request #1028 from UniqueNetwork/ci/node-only-fix

Yaroslav Bolyukin2023-10-25parents: #bdb29fd #fcc1568.patch.diff
in: master
Fix bdk failure on node-only

2 files changed

modified.github/workflows/node-only-update.ymldiffbeforeafterboth
--- 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)
modifiedruntime/common/config/pallets/mod.rsdiffbeforeafterboth
112112
113 fn current_block_number() -> Self::BlockNumber {113 fn current_block_number() -> Self::BlockNumber {
114 // This code was broken previously, but after fixing, we decided it would be better to leave it broken for now.114 // This code was broken previously, but after fixing, we decided it would be better to leave it broken for now.
115 0u32.into()115 0
116 // use hex_literal::hex;116 // use hex_literal::hex;
117 // use parity_scale_codec::Decode;117 // use parity_scale_codec::Decode;
118 // use sp_io::storage;118 // use sp_io::storage;