MCPcopy Create free account
hub / github.com/Noumena-Network/code / getMaxVersionConfig

Function getMaxVersionConfig

src/utils/autoUpdater.ts:138–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138async function getMaxVersionConfig(): Promise<MaxVersionConfig> {
139 try {
140 return await getDynamicConfig_BLOCKS_ON_INIT<MaxVersionConfig>(
141 'ncode_max_version_config',
142 {},
143 )
144 } catch (error) {
145 logError(error as Error)
146 return {}
147 }
148}
149
150/**
151 * Checks if a target version should be skipped due to user's minimumVersion setting.

Callers 2

getMaxVersionFunction · 0.85
getMaxVersionMessageFunction · 0.85

Calls 1

logErrorFunction · 0.70

Tested by

no test coverage detected