16 static std::unique_ptr<kagome::crypto::Hasher> kHasher =
17 std::make_unique<kagome::crypto::HasherImpl>();
23 auto result = std::find_if(apis.begin(), apis.end(), [](
auto &api) {
26 return api.first == api_id;
28 if (result == apis.end()) {
31 return result->second;
std::vector< Api > ApisVec
A vector of pairs of ApiId and a u32 for version.
static SLBuffer fromString(const std::string_view &src)
stores content of a string to byte array
std::optional< uint32_t > coreVersionFromApis(const ApisVec &apis)