Skip to content

Unique Chain 1.14 #2686

Unique Chain 1.14

Unique Chain 1.14 #2686

GitHub Actions / Main Sequential Tests opal succeeded Dec 25, 2024 in 1s

31 passed, 0 failed and 12 skipped

Tests passed successfully

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

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

Test suite Passed Failed Skipped Time
App promotion 3✔️ 404s
Create FT collection from EVM 2✔️ 92s
Create NFT collection from EVM 2✔️ 84s
EVM Migrations 4✔️ 340s
Integration Test: Collator Selection 5✖️ 0ms
Integration Test: Collection Properties with sudo 3✔️ 352s
integration test: Fees must be credited to Treasury: 7✔️ 352s
Integration Test: Identities Manipulation 7✖️ 0ms
integration test: Inflation 2✔️ 44s
Integration Test: Maintenance Functionality 6✔️ 1151s
Integration Test: Token Properties with sudo 2✔️ 316s

✔️ 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