Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QN mappings review & fixes #4856

Merged
merged 11 commits into from
Nov 4, 2023
Merged

Conversation

zeeshanakram3
Copy link
Contributor

addresses #4842

This PR:

Copy link
Member

@mnaamani mnaamani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great improvement, and code looks so much more readable.
Small change and merge conflict fix needed otherwise good to go.

I ran processor against mainnet works great. I think it would be nice to have a tool to compare state between two query-node instances.

},
"devDependencies": {
"eslint-plugin-local-rules": "2.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this package seems to require native build on mac/arm64 so I had to add node-gyp as a dev dependency to successfully build docker image of query-node.

Copy link
Contributor Author

@zeeshanakram3 zeeshanakram3 Oct 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in b3f01a3


// log error
logger.error(errorMessage, data)

// eslint-disable-next-line local-rules/no-throw
throw errorMessage
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to call process.exit here instead of throwing?
This would be to prevent any code capturing this throw, and also caller doesn't need to return from the calling function.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 810240d

@mnaamani
Copy link
Member

mnaamani commented Nov 3, 2023

@zeeshanakram3 I fixed conflicts and updated version here zeeshanakram3#7
I would like to merge this to master soon, so I can updated nara branch from master soon.

fix merge conflicts to master branch
@mnaamani mnaamani merged commit a2a9ce2 into Joystream:master Nov 4, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gracefully handle actions by Lead as ContentActor Implement mapping for UpdateGlobalNftLimit proposal type
2 participants