Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subquery/subql
/ getParentBlock
Function
getParentBlock
packages/node-core/src/configure/ProjectUpgrade.service.ts:61–63 ·
view source on GitHub ↗
(parent: ParentProject)
Source
from the content-addressed store, hash-verified
59
}
60
61
function
getParentBlock(parent: ParentProject): number {
62
return
parent.untilBlock ?? parent.block;
63
}
64
65
const
logger = getLogger(
'ProjectUpgradeService'
);
66
Callers
1
create
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected