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

Release 184.0.0 #4607

Merged
merged 4 commits into from
Aug 13, 2024
Merged

Release 184.0.0 #4607

merged 4 commits into from
Aug 13, 2024

Conversation

kanthesha
Copy link
Contributor

Explanation

Release PR to release @metamask/eth-json-rpc-provider. This includes the bugfix of SafeEventEmitterProvider invalid default params.

References

@kanthesha kanthesha marked this pull request as ready for review August 13, 2024 20:36
@kanthesha kanthesha requested review from a team as code owners August 13, 2024 20:36
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!


### Fixed

- Fix SafeEventEmitterProvider invalid default params ([#4603](https://github.com/MetaMask/core/pull/4603))
Copy link
Contributor

@MajorLift MajorLift Aug 13, 2024

Choose a reason for hiding this comment

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

Looks like there's more detail in the PR description that we could supply here. Currently the entry is a bit vague.

Suggested change
- Fix SafeEventEmitterProvider invalid default params ([#4603](https://github.com/MetaMask/core/pull/4603))
- Fix the `params` property of the `SafeEventEmitterProvider` class EIP-1193 request object so that its default value is an empty array, not an empty object ([#4603](https://github.com/MetaMask/core/pull/4603))
- Fixes `SafeEventEmitterProvider` failure to send `net_version` requests correctly.
- In general, passing an empty object `params` property into a method that has array parameters can result in failure.
- This issue was introduced in `4.1.0`.

Copy link
Contributor

Choose a reason for hiding this comment

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

For a Fixed entry, we should also add info about where the bug was introduced wherever possible (edited above comment).

@kanthesha kanthesha merged commit a6177fb into main Aug 13, 2024
116 checks passed
@kanthesha kanthesha deleted the release/184.0.0 branch August 13, 2024 21:40
@Gudahtt Gudahtt mentioned this pull request Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release [safe-event-emitter-provider] invalid default params fix
4 participants