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

Not possible to differentiate two events of one type #58

Closed
muharem opened this issue Oct 10, 2022 · 1 comment · Fixed by #73
Closed

Not possible to differentiate two events of one type #58

muharem opened this issue Oct 10, 2022 · 1 comment · Fixed by #73
Labels
enhancement New feature or request

Comments

@muharem
Copy link
Contributor

muharem commented Oct 10, 2022

When asserting events, its not possible to differentiate one event from another if they have same type and received in a row.

If I try to assert the first event from the example below, it will be asserted against second one

                - name: balances.Deposit
                  chain: *relay_chain
                  attributes:
                    - type: AccountId32
                      key: who
                      value: '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'

Example:
Screenshot 2022-10-10 at 12 14 43

@muharem muharem added the enhancement New feature or request label Oct 10, 2022
@NachoPal
Copy link
Contributor

It can be solved by adding a boolean ignore attribute in the Events.

@evilrobot-01 evilrobot-01 linked a pull request Oct 28, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants