Skip to content

Unique Chain 1.14 #2707

Unique Chain 1.14

Unique Chain 1.14 #2707

GitHub Actions / Main Sequential Tests quartz failed Feb 18, 2025 in 0s

30 passed, 1 failed and 12 skipped

Tests failed

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

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

Test suite Passed Failed Skipped Time
App promotion 3✔️ 412s
Create FT collection from EVM 2✔️ 249s
Create NFT collection from EVM 1✔️ 1❌ 161s
EVM Migrations 4✔️ 358s
Integration Test: Collator Selection 5✖️ 0ms
Integration Test: Collection Properties with sudo 3✔️ 356s
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✔️ 1307s
Integration Test: Token Properties with sudo 2✔️ 308s

✔️ 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
	AssertionError: expected [ { address: '0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F', event: 'CollectionCreated', args: { owner: '0xCF7E8890353fD7d243EEf87BD1BcE30Db2B28BfD', collectionId: '0x17c4E6453cc49AAaAeACA894E6d9683E00000771' } }, { address: '0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F', event: 'CollectionCreated', args: { owner: '0xCF7E8890353fD7d243EEf87BD1BcE30Db2B28BfD', collectionId: '0x17c4E6453cc49AAaAeACA894E6d9683E00000771' } } ] to deeply equal [ { address: '0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F', event: 'CollectionCreated', args: { owner: '0xCF7E8890353fD7d243EEf87BD1BcE30Db2B28BfD', collectionId: '0x17c4E6453cc49AAaAeACA894E6d9683E00000771' } } ]

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

Annotations

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

See this annotation in the file changed.

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

Create NFT collection from EVM ► Create NFT collection from EVM ► Create collection

Failed test found in:
  js-packages/tests/mochawesome-report/test-sequential-1739856969.json
Error:
  AssertionError: expected [ { address: '0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F', event: 'CollectionCreated', args: { owner: '0xCF7E8890353fD7d243EEf87BD1BcE30Db2B28BfD', collectionId: '0x17c4E6453cc49AAaAeACA894E6d9683E00000771' } }, { address: '0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F', event: 'CollectionCreated', args: { owner: '0xCF7E8890353fD7d243EEf87BD1BcE30Db2B28BfD', collectionId: '0x17c4E6453cc49AAaAeACA894E6d9683E00000771' } } ] to deeply equal [ { address: '0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F', event: 'CollectionCreated', args: { owner: '0xCF7E8890353fD7d243EEf87BD1BcE30Db2B28BfD', collectionId: '0x17c4E6453cc49AAaAeACA894E6d9683E00000771' } } ]
Raw output
AssertionError: expected [ { address: '0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F', event: 'CollectionCreated', args: { owner: '0xCF7E8890353fD7d243EEf87BD1BcE30Db2B28BfD', collectionId: '0x17c4E6453cc49AAaAeACA894E6d9683E00000771' } }, { address: '0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F', event: 'CollectionCreated', args: { owner: '0xCF7E8890353fD7d243EEf87BD1BcE30Db2B28BfD', collectionId: '0x17c4E6453cc49AAaAeACA894E6d9683E00000771' } } ] to deeply equal [ { address: '0x6C4E9fE1AE37a41E93CEE429e8E1881aBdcbb54F', event: 'CollectionCreated', args: { owner: '0xCF7E8890353fD7d243EEf87BD1BcE30Db2B28BfD', collectionId: '0x17c4E6453cc49AAaAeACA894E6d9683E00000771' } } ]
    at file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/tests/eth/createNFTCollection.seqtest.ts:19:35
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/test-utils/eth/util.ts:64:13
    at async usingEthPlaygrounds (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/test-utils/eth/util.ts:50:9)
    at async Context.<anonymous> (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/test-utils/eth/util.ts:60:9)