-
Notifications
You must be signed in to change notification settings - Fork 63
test(e2e): rewards test #441
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
Conversation
4a1f774 to
ae8a385
Compare
AngelCastilloB
left a comment
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 think this test should be located at test/wallet/SingleAddressWallet/ together with the rest of the SingleAddressWallet tests, maybe in delegation.test.ts? or in a new staking-rewards.test.ts.
|
Hi @rhyslbw , @mkazlauskas , @AngelCastilloB , @mirceahasegan ;
Now I'm keeping my eyes on this and this CI builds to check if the test works on CI as well. |
packages/e2e/test/wallet/SingleAddressWallet/staking-rewards.test.ts
Outdated
Show resolved
Hide resolved
mirceahasegan
left a comment
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.
packages/e2e/test/wallet/SingleAddressWallet/staking-rewards.test.ts
Outdated
Show resolved
Hide resolved
packages/e2e/test/wallet/SingleAddressWallet/staking-rewards.test.ts
Outdated
Show resolved
Hide resolved
c9b4c36 to
8ca0385
Compare
mkazlauskas
left a comment
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.
Looking good, just a few minor improvements suggested
packages/e2e/test/wallet/SingleAddressWallet/delegation-rewards.test.ts
Outdated
Show resolved
Hide resolved
packages/e2e/test/wallet/SingleAddressWallet/delegation-rewards.test.ts
Outdated
Show resolved
Hide resolved
packages/e2e/test/wallet/SingleAddressWallet/delegation-rewards.test.ts
Outdated
Show resolved
Hide resolved
packages/e2e/test/wallet/SingleAddressWallet/delegation.test.ts
Outdated
Show resolved
Hide resolved
|
Hi @rhyslbw , I'm sorry but I'm not able to go on this test. This is not the only problem: once added this test to the I tried to investigate the |
5399beb to
acd6a37
Compare
acd6a37 to
7687c7c
Compare
extraSigner used in nft e2e test was sometimes signing with stake key, while it should only be signing with the key used for minting
ogmios provider sometimes throws this due to websocket being disconnected
interpret UnknownOrIncompleteWithdrawalsError as tx already submitted
e8db388 to
91986fd
Compare
91986fd to
08785cc
Compare
08785cc to
c53c1ae
Compare
AngelCastilloB
left a comment
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.
LGTM 🚀
rhyslbw
left a comment
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.
Looks good
rewards were still not generated consistently
some cleanup on delegation-rewards test
since inputs are unordered, jest would sometimes incorrectly fail the test
initializeTx awaits for epoch rollover when near it
by taking into account rewards generated between building tx and submission confirmation
… CI not exiting the issue most likely lies within wallet package and will be easier to reproduce and fix in unit tests once we de-promisify SingleAddressWallet dependencies
4e622b7 to
b7285f7
Compare
E2E test for rewards