generated from midnightntwrk/midnight-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 14
test: dust generation using mNIGHT #480
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
Open
THErealARETE
wants to merge
10
commits into
main
Choose a base branch
from
test/dust-automation-scripts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7d747f7 to
db4b9e4
Compare
...sync_cache-undeployed/0x4dbc8b6ba499e9a1f0cecd7bfd579fee642f06478384a7fdc3778e58acd6416c.bin
Outdated
Show resolved
Hide resolved
db4b9e4 to
53c60e3
Compare
- Add toolkit-start: Starts toolkit container with correct version - Add toolkit-fund-wallet: Funds wallet with Night tokens to enable DUST generation - Add toolkit-show-wallet: Shows wallet state including DUST generation data - Add README.md: Documentation for DUST workflow DUST generation is automatic when wallets have Night tokens. No registration command needed - DUST begins immediately after funding. Version compatibility: 0.17.1-47a8ea28 (node and toolkit must match)
- Add fundWallet method for funding wallets with Night tokens - Add showWallet method for checking wallet state including DUST UTXOs - Add generateDust method for complete DUST generation workflow - Add comprehensive e2e test for DUST generation workflow - Fix JSON parsing for wallet state output with proper regex matching - used ToolkitTransactionResult interface in FundWalletResult
- Restructure test to use beforeAll hooks for data execution - Use test blocks for verification only - Implement clear data flow between test steps: * Step 1: fundingResult from fundWallet() * Step 2: walletStateAfterFunding from showWallet() * Step 3: dustGenerationResult from generateDust() * Step 4: finalWalletState with cross-referencing - All tests passing with explicit variable passing
- Add fundWallet method for funding wallets with Night tokens - Add showWallet method for checking wallet state including DUST UTXOs - Add generateDust method for complete DUST generation workflow - Add comprehensive e2e test for DUST generation workflow - Fix JSON parsing for wallet state output with proper regex matching - Remove interface duplication by extending ToolkitTransactionResult - Restructure test to use beforeAll hooks for data execution - Use test blocks for verification only - Implement clear data flow between test steps: * Step 1: fundingResult from fundWallet() * Step 2: walletStateAfterFunding from showWallet() * Step 3: dustGenerationResult from generateDust() * Step 4: finalWalletState with cross-referencing - All tests passing with explicit variable passing
- Add fundWallet method for funding wallets with Night tokens - Add showWallet method for checking wallet state including DUST UTXOs - Add generateDust method for complete DUST generation workflow - Add comprehensive e2e test for DUST generation workflow - Fix JSON parsing for wallet state output with proper regex matching - Remove interface duplication by extending ToolkitTransactionResult - Restructure test to use beforeAll hooks for data execution - Use test blocks for verification only - Implement clear data flow between test steps: * Step 1: fundingResult from fundWallet() * Step 2: walletStateAfterFunding from showWallet() * Step 3: dustGenerationResult from generateDust() * Step 4: finalWalletState with cross-referencing - All tests passing with explicit variable passing - Clean up codebase with TypeScript implementation
- Add fundWallet method for funding wallets with Night tokens - Add showWallet method for checking wallet state including DUST UTXOs - Add generateDust method for complete DUST generation workflow - Add comprehensive e2e test for DUST generation workflow - Fix JSON parsing for wallet state output with proper regex matching - Remove interface duplication by extending ToolkitTransactionResult - Restructure test to use beforeAll hooks for data execution - Use test blocks for verification only - Implement clear data flow between test steps: * Step 1: fundingResult from fundWallet() * Step 2: walletStateAfterFunding from showWallet() * Step 3: dustGenerationResult from generateDust() * Step 4: finalWalletState with cross-referencing - All tests passing with explicit variable passing - Clean up codebase with TypeScript implementation
- Add dust-transfer.test.ts: Complete DUST transfer test with appreciation/depreciation verification
- Add comprehensive DUST indexer verification test - Verify DUST records using 4 query methods: * Transaction hash * Block hash * Block height * Transaction identifier - Validates indexer accuracy for DUST ledger events
- Add comprehensive DUST indexer verification test - Verify DUST records using 4 query methods: * Transaction hash * Block hash * Block height * Transaction identifier - Validates indexer accuracy for DUST ledger events
53c60e3 to
3715eb1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
-Add comprehensive DUST indexer verification test