Skip to content

Latest commit

 

History

History
135 lines (108 loc) · 4.72 KB

TEST_REPORT_1_MILESTONE.md

File metadata and controls

135 lines (108 loc) · 4.72 KB

Test Report: Morpheus Token Program


1. Initialize Global Config

Description:

The test initializes the GlobalConfig account.

Logs:

  • Generating Global Config PDA...

  • Global Config Address: Solana Logo View Account on Solana Explorer

  • Transaction Signature: Solana LogoView Transaction on Solana Explorer

  • Global Config Account Data:

    {
      "admin": "AwaK517AuviY4K5RfVxBQJWtpHPAAYrSUfGaimG21kDy",
      "transferManagerBumps": 255,
      "mintBumps": 255,
      "transferManager": "6Qfrazzzqifu3e4Ff1J6WB4765yjZC1AbnQJ4bzhdUYb",
      "mint": "Gt41GseFWhefDMwS8gKs3PBz2NQBpuVL6kiGTRRi6srN"
    }

Outcome:

✅ All assertions passed. Global Config initialized successfully.


2. Create Token

Description:

The test creates a token and its associated metadata.

Logs:

  • Fetching Global Config...
  • Global Config Account:
    {
      "admin": "AwaK517AuviY4K5RfVxBQJWtpHPAAYrSUfGaimG21kDy",
      "transferManagerBumps": 255,
      "mintBumps": 255,
      "transferManager": "6Qfrazzzqifu3e4Ff1J6WB4765yjZC1AbnQJ4bzhdUYb",
      "mint": "Gt41GseFWhefDMwS8gKs3PBz2NQBpuVL6kiGTRRi6srN"
    }
  • Starting transaction to create a token...
  • Transaction Signature: Solana LogoView Transaction on Solana Explorer
  • Fetching newly created Mint Account...
  • Mint Account Info:
    {
      "address": "Gt41GseFWhefDMwS8gKs3PBz2NQBpuVL6kiGTRRi6srN",
      "mintAuthority": "6Qfrazzzqifu3e4Ff1J6WB4765yjZC1AbnQJ4bzhdUYb",
      "supply": 0,
      "decimals": 9,
      "isInitialized": true,
      "freezeAuthority": "6Qfrazzzqifu3e4Ff1J6WB4765yjZC1AbnQJ4bzhdUYb"
    }

Outcome:

✅ Token successfully created and validated.


3. Mint Tokens

Description:

The test mints tokens to an associated token account.

Logs:

  • Fetching Global Config...

  • Fetching or creating Associated Token Account...

  • Associated Token Account Address: Solana LogoView Account on Solana Explorer

  • Starting transaction to mint tokens...

  • Transaction Signature: Solana LogoView Transaction on Solana Explorer

  • Fetching Associated Token Account Info...

  • Associated Token Account Info (After Mint):

    {
      "address": "38qoL6hKoTJzne9AN3i2CXrEs67chz83ZKtZt7nvp55E",
      "mint": "Gt41GseFWhefDMwS8gKs3PBz2NQBpuVL6kiGTRRi6srN",
      "owner": "AwaK517AuviY4K5RfVxBQJWtpHPAAYrSUfGaimG21kDy",
      "amount": 1000000000000000,
      "isInitialized": true,
      "isFrozen": false
    }

Outcome:

✅ Tokens minted successfully and validated.


4. Burn Tokens

Description:

The test burns tokens from an associated token account.

Logs:

  • Fetching Global Config...
  • Fetching or creating Associated Token Account...
  • Associated Token Account Address: Solana LogoView Account on Solana Explorer
  • Token Account Info (Before Burn):
    {
      "amount": 1000000000000000
    }
  • Burning tokens...
  • Transaction Signature: Solana LogoView Transaction on Solana Explorer
  • Token Account Info (After Burn):
    {
      "amount": 999500000000000
    }

Outcome:

✅ Burn successful. Tokens burned as expected.


Summary:

  • Total Tests: 4
  • Passed: 4
  • Failed: 0
  • Execution Time: ~15s