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

patch encoding in tendermint 37 client #220

Merged
merged 3 commits into from
Jan 22, 2024
Merged

Conversation

jiqiang90
Copy link
Contributor

@jiqiang90 jiqiang90 commented Jan 22, 2024

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

This fix cosmos/cosmjs#1543 when we get block detail from Chihuahua block.

Patch been moved under node package, due to we are using mono repo, so when run locally postinstall patch will unable to find the correct node_module path, but in npm package it should able to find the correct path and patch.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I have tested locally
  • I have performed a self review of my changes
  • Updated any relevant documentation
  • Linked to any relevant issues
  • I have added tests relevant to my changes
  • Any dependent changes have been merged and published in downstream modules
  • My code is up to date with the base branch
  • I have updated relevant changelogs. We suggest using chan

await prepareApiService();
});

it('chihuahua test, can query block result', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be good to have a comment with details about the specific issue we faced

Copy link

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements 39.42% 1822/4622
🟡 Branches 65.66% 109/166
🔴 Functions 24.87% 47/189
🔴 Lines 39.42% 1822/4622

Test suite run success

39 tests passing in 6 suites.

Report generated by 🧪jest coverage report action from 5862d35

@jiqiang90 jiqiang90 merged commit e241274 into main Jan 22, 2024
1 of 3 checks passed
jiqiang90 added a commit that referenced this pull request Jan 23, 2024
jiqiang90 added a commit that referenced this pull request Jan 23, 2024
* Revert "patch encoding in tendermint 37 client (#220)"

This reverts commit e241274.

* Revert "manual prerelease (#221)"

This reverts commit 48b2382.

* prerelease 3.4.7-3
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.

blockResults got decodeConsensusParams error with Chihuahua
2 participants