Skip to content

[PART 8] test: token mint and melt integration tests#8

Merged
andreabadesso merged 1 commit into
masterfrom
feat/tests-token-mint-melt
Apr 1, 2026
Merged

[PART 8] test: token mint and melt integration tests#8
andreabadesso merged 1 commit into
masterfrom
feat/tests-token-mint-melt

Conversation

@andreabadesso

Copy link
Copy Markdown
Contributor

Summary

  • Test minting (increasing supply) and melting (decreasing supply) of custom tokens

Acceptance Criteria

  • test_token_mint creates 100 MNT, mints +500, mints +200, verifies total=800
  • test_token_melt creates 1000 MLT, melts 400, melts 200, verifies total=400
  • Melt test verifies HTR deposit is refunded (1% rule)
  • Each mint/melt operation waits for on-chain confirmation
  • Both tests use preflight_faucet to skip gracefully without funded fullnode

🤖 Generated with Claude Code

@andreabadesso andreabadesso changed the title test: token mint and melt integration tests [PART 8] test: token mint and melt integration tests Mar 31, 2026
@andreabadesso andreabadesso force-pushed the feat/tests-token-mint-melt branch from 273af98 to 494b48b Compare March 31, 2026 13:23
@andreabadesso andreabadesso changed the base branch from master to feat/tests-token-create-transfer March 31, 2026 13:23
@andreabadesso andreabadesso added the enhancement New feature or request label Mar 31, 2026
@andreabadesso andreabadesso self-assigned this Mar 31, 2026
@andreabadesso andreabadesso moved this to In Progress (Done) in Hathor Network Mar 31, 2026
@github-project-automation github-project-automation Bot moved this from In Progress (Done) to In Review (WIP) in Hathor Network Mar 31, 2026
@andreabadesso andreabadesso changed the base branch from feat/tests-token-create-transfer to master April 1, 2026 14:22
- test_token_mint: create token, mint additional supply twice, verify totals
- test_token_melt: create token, melt supply twice, verify HTR deposit refund

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@andreabadesso andreabadesso force-pushed the feat/tests-token-mint-melt branch from 494b48b to ff79955 Compare April 1, 2026 14:25
@andreabadesso andreabadesso merged commit 4d93ca2 into master Apr 1, 2026
1 check failed
@andreabadesso andreabadesso deleted the feat/tests-token-mint-melt branch April 1, 2026 14:25
@github-project-automation github-project-automation Bot moved this from In Review (WIP) to Waiting to be deployed in Hathor Network Apr 1, 2026
@andreabadesso andreabadesso moved this from Waiting to be deployed to Done in Hathor Network Apr 22, 2026
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

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants