Skip to content

Commit

Permalink
Merge pull request #483 from p2p-org/mbelt3/stage
Browse files Browse the repository at this point in the history
Mbelt3/stage
  • Loading branch information
rcrvano authored Dec 6, 2024
2 parents edbb8ee + dfca080 commit 8528ddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ environment: dev
additional_args: []
metrics:
enabled: true
image: {repository: europe-docker.pkg.dev/substrate-infra/images/mbelt3_preloader, tag: 9a700c973777ac4d863c837d1a9835ed8c5ab464}
image: {repository: europe-docker.pkg.dev/substrate-infra/images/mbelt3_preloader, tag: b23e2df7d6617598930fb87836922c7c539aedcb}
replicas: 1
port: 3000
migrations:
Expand Down
5 changes: 3 additions & 2 deletions main/src/modules/PolkadotStakingProcessor/helpers/polkadot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,9 @@ export class PolkadotStakingProcessorPolkadotHelper {
}

async getBlockHashByHeight(height: number): Promise<BlockHash> {
this.logger.info(`this.polkadotApi.rpc.chain.getBlockHash(${height})`);
return this.polkadotApi.rpc.chain.getBlockHash(height)
const hash = this.polkadotApi.rpc.chain.getBlockHash(height);
this.logger.info(`getBlockHashByHeight: this.polkadotApi.rpc.chain.getBlockHash(${height}): ${hash}`);
return hash;
}

async getBlockTime(blockHash: TBlockHash): Promise<number> {
Expand Down

0 comments on commit 8528ddf

Please sign in to comment.