-
Notifications
You must be signed in to change notification settings - Fork 883
Fix assert_expected_events macro #7913
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
base: master
Are you sure you want to change the base?
Changes from all commits
5a8028c
d6ab120
372b07b
f05b6bf
0d070f9
18e57e6
fce326b
e75b2a2
4c92d5d
720886d
d259c9e
2652401
8bb78db
27ea4a9
a10fd08
690aefe
f49210c
0032000
ae3d1af
b67cf8b
8f87f35
3ed071c
74fbd17
f9fbd5a
6e521e6
702d913
4e1c25c
4543c05
3f67188
4525128
c564b8c
e0e856f
457f7e6
22171ce
1c415d1
ee72eae
82e3384
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ fn hop_assertions(test: ParaToParaThroughAHTest) { | |
RuntimeEvent::Balances( | ||
pallet_balances::Event::Burned { amount, .. } | ||
) => { | ||
amount: *amount == test.args.amount, | ||
amount: *amount > test.args.amount * 90/100, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @franciscoaguirre for |
||
}, | ||
] | ||
); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this because I can't figure out to which account these funds are deposited. The assets are deposited and then an asset conversion takes place, could it be related to the assets conversion pallet? I tried some combinations (like the asset conversion pallet index, account, neither worked).
I figured since these tests didn't really work, I would rather remove the assertion and it can be re-added, than having this buggy macro continue to be used without it actually working.