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

fix: optional keys and address in eventfilters #693

Merged
merged 5 commits into from
Jul 27, 2023
Merged

fix: optional keys and address in eventfilters #693

merged 5 commits into from
Jul 27, 2023

Conversation

PhilippeR26
Copy link
Collaborator

Motivation and Resolution

Solve issue #692

RPC version (if applicable)

In EVENT_FILTER, keys and address should be optional.

Usage related changes

Keys and Address filters are not mandatory.

Development related changes

Checklist:

  • Performed a self-review of the code
  • Rebased to the last commit of the target branch (or merged it into my branch)
  • Linked the issues which this PR resolves
  • Documented the changes in code (API docs will be generated automatically)
  • Updated the tests
  • All tests are passing

penovicp and others added 4 commits July 17, 2023 12:02
# [5.17.0](v5.16.0...v5.17.0) (2023-07-18)

### Bug Fixes

* add FailedTransactionResponse ([994925e](994925e))
* remedy type declaration roll-up issues ([48625f4](48625f4))
* transaction_failure_reason ([77329b7](77329b7))

### Features

* add Enum in contract ([515e233](515e233)), closes [#670](#670) [#665](#665) [#664](#664) [#1](#1)
* calldata result in populate ([d44dc56](d44dc56)), closes [#675](#675) [#1](#1)
* contractFactory Cairo1 & changed constructor signature, 0.12 test fixes ([9b44c54](9b44c54))
* rename Failed to Rejected for transaction type ([65b1ef4](65b1ef4))
@netlify
Copy link

netlify bot commented Jul 19, 2023

Deploy Preview for starknetjs canceled.

Name Link
🔨 Latest commit a746354
🔍 Latest deploy log https://app.netlify.com/sites/starknetjs/deploys/64be33c53d5e160008106a2b

@ivpavici ivpavici requested a review from tabaktoni July 20, 2023 07:39
@tabaktoni
Copy link
Collaborator

Originally we had as a specification sad none was required, I don't know why v4 set ti to required, but none of it should be required

Copy link
Collaborator

@tabaktoni tabaktoni left a comment

Choose a reason for hiding this comment

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

I will do implementation on 0.4 so this will be changed based on specification

__tests__/rpcProvider.test.ts Outdated Show resolved Hide resolved
src/types/api/openrpc.ts Show resolved Hide resolved
@PhilippeR26
Copy link
Collaborator Author

Could you finalize the PR? (I am in the train to Paris)

@tabaktoni
Copy link
Collaborator

Could you finalize the PR? (I am in the train to Paris)

I will do RPC 0.4 PR and deal with it, don't worry

@tabaktoni tabaktoni changed the base branch from develop to next-version July 27, 2023 07:03
@tabaktoni tabaktoni merged commit 5d6a3b1 into starknet-io:next-version Jul 27, 2023
8 checks passed
@github-actions
Copy link

github-actions bot commented Aug 5, 2023

🎉 This PR is included in version 5.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

4 participants