-
Notifications
You must be signed in to change notification settings - Fork 32
fix(tests): claim burn into the account that owns the proof #1992
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: development
Are you sure you want to change the base?
Changes from all commits
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 |
|---|---|---|
|
|
@@ -25,7 +25,7 @@ Feature: Account transfers | |
| Then indexer INDEXER has scanned to at least height 40 | ||
|
|
||
| When I wait for proof BURN_PROOF to confirm on wallet MINOTARI_WALLET | ||
| When I claim burn BURN_PROOF and spend it into account ACCOUNT using wallet daemon WALLET_D | ||
| When I claim burn BURN_PROOF and spend it into account ACC using wallet daemon WALLET_D | ||
|
|
||
| # Wait for the wallet daemon account monitor to update the sender account information | ||
|
|
||
|
|
@@ -80,7 +80,7 @@ Feature: Account transfers | |
| Then indexer INDEXER has scanned to at least height 40 | ||
|
|
||
| When I wait for proof BURN_PROOF to confirm on wallet MINOTARI_WALLET | ||
| When I claim burn BURN_PROOF and spend it into account ACCOUNT_1 using wallet daemon WALLET_D | ||
| When I claim burn BURN_PROOF and spend it into account ACC using wallet daemon WALLET_D | ||
|
Contributor
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. Similar to the change at line 28, claiming the burn into |
||
|
|
||
| # Fund the sender account with faucet tokens | ||
| When I print the cucumber world | ||
|
|
||
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.
While this change fixes the ownership proof validation error by claiming the burn into the default account (
ACC), it creates an inconsistency with the test's stated intent. The comments at lines 21 and 30 indicate that the burn is intended to fund the 'sender account' (ACCOUNT). By claiming the funds intoACCinstead, the sender account does not receive the burned tokens, and the test no longer verifies that these funds are correctly credited to and usable by the sender. A more robust fix would be to setACCOUNTas the default account before the burn step (using 'When I set the default account for WALLET_D to ACCOUNT') or to update the burn step definition to accept a specific account name.