Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
substrate-api-sidecar
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
substrate-api-sidecar
Commits
52d508a4
Unverified
Commit
52d508a4
authored
4 years ago
by
Maciej Hirsz
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Reset specVersion Metadata errors (#13)
* chore: Reset specVersion on metadata errors * chore: version bump
parent
53d1ec53
Branches
Branches containing commit
Tags
v0.1.5
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package.json
+1
-1
1 addition, 1 deletion
package.json
src/ApiHandler.ts
+1
-0
1 addition, 0 deletions
src/ApiHandler.ts
with
2 additions
and
1 deletion
package.json
+
1
−
1
View file @
52d508a4
{
"name"
:
"polkadot-rpc-proxy"
,
"version"
:
"0.1.
4
"
,
"version"
:
"0.1.
5
"
,
"description"
:
""
,
"main"
:
"index.js"
,
"scripts"
:
{
...
...
This diff is collapsed.
Click to expand it.
src/ApiHandler.ts
+
1
−
0
View file @
52d508a4
...
...
@@ -173,6 +173,7 @@ export default class ApiHandler {
}
catch
(
err
)
{
console
.
error
(
`Failed to get Metadata for block
${
hash
}
, using latest.`
);
console
.
error
(
err
);
this
.
specVersion
=
api
.
createType
(
'
u32
'
,
-
1
);
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment