Skip to content

Unique Chain 1.14 #2670

Unique Chain 1.14

Unique Chain 1.14 #2670

GitHub Actions / Main Sequential Tests opal succeeded Dec 10, 2024 in 0s

31 passed, 0 failed and 12 skipped

Tests passed successfully

✔️ js-packages/tests/mochawesome-report/test-sequential-1733790486.json

43 tests were completed in 3704s with 31 passed, 0 failed and 12 skipped.

Test suite Passed Failed Skipped Time
App promotion 3✔️ 432s
Create FT collection from EVM 2✔️ 99s
Create NFT collection from EVM 2✔️ 108s
EVM Migrations 4✔️ 353s
Integration Test: Collator Selection 5✖️ 0ms
Integration Test: Collection Properties with sudo 3✔️ 324s
integration test: Fees must be credited to Treasury: 7✔️ 432s
Integration Test: Identities Manipulation 7✖️ 0ms
integration test: Inflation 2✔️ 61s
Integration Test: Maintenance Functionality 6✔️ 1131s
Integration Test: Token Properties with sudo 2✔️ 288s

✔️ App promotion

App promotion admin adress
  ✔️ can be any valid CrossAccountId
  ✔️ can be reassigned
  ✔️ can be set by sudo only

✔️ Create FT collection from EVM

Create FT collection from EVM
  ✔️ Check collection address exist
  ✔️ Create collection

✔️ Create NFT collection from EVM

Create NFT collection from EVM
  ✔️ Check collection address exist
  ✔️ Create collection

✔️ EVM Migrations

EVM Migrations
  ✔️ Deploy contract saved state
  ✔️ Fake collection creation on substrate side
  ✔️ Fake token creation on ethereum side
  ✔️ Fake token creation on substrate side

✔️ Integration Test: Collator Selection

Integration Test: Collator Selection Dynamic shuffling of collators
  ✖️ Change invulnerables and make sure they start producing blocks
Integration Test: Collator Selection Getting and releasing licenses to collate Negative
  ✖️ Cannot force revoke a license as non-sudo
  ✖️ Cannot get a license without session keys set
  ✖️ Cannot register a license twice
  ✖️ Cannot release a license twice

✔️ Integration Test: Collection Properties with sudo

Integration Test: Collection Properties with sudo FT
  ✔️ Repairing an unbroken collection's properties preserves the consumed space
Integration Test: Collection Properties with sudo NFT
  ✔️ Repairing an unbroken collection's properties preserves the consumed space
Integration Test: Collection Properties with sudo RFT
  ✔️ Repairing an unbroken collection's properties preserves the consumed space

✔️ integration test: Fees must be credited to Treasury:

integration test: Fees must be credited to Treasury:
  ✔️ Evm Transactions send fees to Treasury
  ✔️ Fees are sane
  ✔️ NFT Transactions also send fees to Treasury
  ✔️ NFT Transfer fee is close to 0.1 Unique
  ✔️ Sender balance decreased by fee+sent amount, Treasury balance increased by fee
  ✔️ Total issuance does not change
  ✔️ Treasury balance increased by failed tx fee

✔️ Integration Test: Identities Manipulation

Integration Test: Identities Manipulation Identities
  ✖️ Removes identities
  ✖️ Sets identities
  ✖️ Setting identities does not delete existing but does overwrite
Integration Test: Identities Manipulation Sub-identities
  ✖️ Removes sub-identities
  ✖️ Removing identities deletes associated sub-identities
  ✖️ Sets subs
  ✖️ Setting sub-identities does not delete other existing but does overwrite own

✔️ integration test: Inflation

integration test: Inflation
  ✔️ First year inflation is 10%
  ✔️ Inflation happens after inflation block interval

✔️ Integration Test: Maintenance Functionality

Integration Test: Maintenance Functionality Maintenance Mode
  ✔️ Allows superuser to enable and disable maintenance mode - and disallows anyone else
  ✔️ Allows to enable and disable MM repeatedly
  ✔️ Disallows Ethereum transactions to execute while in maintenance
  ✔️ MM allows native token transfers and RPC calls
  ✔️ MM blocks unique pallet calls
  ✔️ MM blocks unique pallet calls (Re-Fungible)

✔️ Integration Test: Token Properties with sudo

Integration Test: Token Properties with sudo NFT
  ✔️ force_repair_item preserves valid consumed space
Integration Test: Token Properties with sudo RFT
  ✔️ force_repair_item preserves valid consumed space