Skip to content

Unique Chain 1.14 #2686

Unique Chain 1.14

Unique Chain 1.14 #2686

GitHub Actions / Main Sequential Tests quartz failed Dec 25, 2024 in 1s

30 passed, 1 failed and 12 skipped

Tests failed

❌ js-packages/tests/mochawesome-report/test-sequential-1735142860.json

43 tests were completed in 3712s with 30 passed, 1 failed and 12 skipped.

Test suite Passed Failed Skipped Time
App promotion 3✔️ 396s
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✔️ 348s
integration test: Fees must be credited to Treasury: 7✔️ 436s
Integration Test: Identities Manipulation 7✖️ 0ms
integration test: Inflation 2✔️ 44s
Integration Test: Maintenance Functionality 5✔️ 1❌ 1119s
Integration Test: Token Properties with sudo 2✔️ 324s

✔️ 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
	AssertionError: expected promise to be rejected with an error matching /Returned error: unknown error/ but got 'Returned error: submit transaction to pool failed: Err(RuntimeApi("Api called for an unknown Block: State already discarded for 0x2fcc5c26faa35ee7e9f3935b741c1692188622f54ae8c0f192c5e42514652762"))'
  ✔️ 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

Annotations

Check failure on line 0 in js-packages/tests/mochawesome-report/test-sequential-1735142860.json

See this annotation in the file changed.

@github-actions github-actions / Main Sequential Tests quartz

Integration Test: Maintenance Functionality ► Integration Test: Maintenance Functionality Maintenance Mode ► Disallows Ethereum transactions to execute while in maintenance

Failed test found in:
  js-packages/tests/mochawesome-report/test-sequential-1735142860.json
Error:
  AssertionError: expected promise to be rejected with an error matching /Returned error: unknown error/ but got 'Returned error: submit transaction to pool failed: Err(RuntimeApi("Api called for an unknown Block: State already discarded for 0x2fcc5c26faa35ee7e9f3935b741c1692188622f54ae8c0f192c5e42514652762"))'
Raw output
AssertionError: expected promise to be rejected with an error matching /Returned error: unknown error/ but got 'Returned error: submit transaction to pool failed: Err(RuntimeApi("Api called for an unknown Block: State already discarded for 0x2fcc5c26faa35ee7e9f3935b741c1692188622f54ae8c0f192c5e42514652762"))'