Skip to content

Release v10090072

Release v10090072 #354

GitHub Actions / int test results - opal failed Jul 16, 2024 in 1s

1155 passed, 1 failed and 12 skipped

Tests failed

❌ js-packages/tests/mochawesome-report/test-1721119928.json

1168 tests were completed in 1272s with 1155 passed, 1 failed and 12 skipped.

Test suite Passed Failed Skipped Time
(!negative test!) integration test: ext. confirmSponsorship(): 7✔️ 4s
(!negative test!) integration test: ext. createCollection(): 6✔️ 1s
(!negative test!) integration test: ext. destroyCollection(): 6✔️ 2s
(!negative test!) integration test: ext. removeCollectionSponsor(): 5✔️ 3s
(!negative test!) integration test: ext. setCollectionSponsor(): 3✔️ 1s
(!negative tests!) Create FT collection from EVM 4✔️ 1s
(!negative tests!) Create NFT collection from EVM 5✔️ 2s
(!negative tests!) Create RFT collection from EVM 5✔️ 2s
[approveToken] Approved amount decreases by the transferred amount: 1✔️ 737ms
[approveToken] Approved users can transferFrom up to approved amount: 3✔️ 2s
[approveToken] Approved users cannot use transferFrom to repeat transfers if approved amount was already transferred: 3✔️ 2s
[approveToken] Integration Test approve(spender, collection_id, item_id, amount) with collection admin permissions: 1✔️ 592ms
[approveToken] Negative Integration Test approve(spender, collection_id, item_id, amount): 14✔️ 7s
[approveToken] Normal user can approve other users to transfer: 3✔️ 2s
[approveToken] User cannot approve for the amount greater than they own: 3✔️ 1s
[approveToken] User may clear the approvals to approving for 0 amount: 3✔️ 2s
[approveTokenFromEth] Approved amount decreases by the transferred amount: 1✔️ 684ms
[approveTokenFromEth] Approved users can transferFrom up to approved amount: 3✔️ 2s
[approveTokenFromEth] Approved users cannot use transferFrom to repeat transfers if approved amount was already transferred: 3✔️ 2s
[approveTokenFromEth] Integration Test approve(spender, collection_id, item_id, amount) with collection admin permissions: 1✔️ 569ms
[approveTokenFromEth] Negative Integration Test approve(spender, collection_id, item_id, amount): 14✔️ 6s
[approveTokenFromEth] Normal user can approve other users to transfer: 3✔️ 1s
[approveTokenFromEth] User cannot approve for the amount greater than they own: 3✔️ 1s
[approveTokenFromEth] User may clear the approvals to approving for 0 amount: 3✔️ 2s
[eth]CollectionHelperAddress test: ERC20/ERC721 4✔️ 1s
[FT] Sync sub & eth events 8✔️ 11s
[NFT] Sync sub & eth events 10✔️ 14s
[RFT] Sync sub & eth events 10✔️ 13s
Add collection admins 10✔️ 7s
Administrator and collection owner do not need approval in order to execute TransferFrom (with owner_can_transfer_flag = true): 3✔️ 3s
App promotion 53✔️ 78s
Burn Item event 1✔️ 918ms
Can set collection limits 3✔️ 3s
Cannot set invalid collection limits 6✔️ 3s
Change owner tests 3✔️ 3s
Change substrate owner tests 2✔️ 2s
Check ERC721 token URI for NFT 4✔️ 2s
Check ERC721 token URI for ReFungible 4✔️ 2s
Collection zero limits (Fungible) 1✔️ 1s
Collection zero limits (NFT) 1✔️ 1s
Collection zero limits (ReFungible) 1✔️ 1s
Common metadata 4✔️ 1s
Common nesting tests 9✔️ 9s
Composite nesting tests 2✔️ 3s
Connection smoke test 2✔️ 136ms
Contract calls 3✔️ 3s
Create collection event 1✔️ 694ms
Create collection from EVM 48✔️ 29s
Create FT collection from EVM 6✔️ 3s
Create Item event 1✔️ 608ms
Create Multiple Items Event event 1✔️ 760ms
Create NFT collection from EVM 6✔️ 3s
Create RFT collection from EVM 5✔️ 2s
Destroy collection event 1✔️ 685ms
Destroy Collection from EVM 3✔️ 2s
Effective collection limits (NFT) 1✔️ 491ms
Enable/Disable Transfers 2✔️ 956ms
ERC 1633 implementation 1✔️ 376ms
ERC-721 call methods 10✔️ 6s
ERC165 tests 6✔️ 864ms
Eth fees are correct 1✔️ 898ms
Ethereum native RPC calls 1✔️ 259ms
Evm Coder tests 1✔️ 729ms
EVM collection allowlist 10✔️ 10s
EVM collection properties 12✔️ 7s
EVM contract allowlist 2✔️ 2s
EVM Migrations 4✔️ 2s
EVM nesting tests group 14✔️ 11s
evm nft collection sponsoring 9✔️ 8s
EVM payable contracts 5✔️ 4s
evm RFT collection sponsoring 15✔️ 16s
evm RFT token sponsoring 6✔️ 9s
EVM sponsoring 2✔️ 3s
EVM token properties 13✔️ 13s
EVM token properties negative 20✔️ 9s
EVM transaction fees 7✔️ 4s
Fractionalizer contract usage 6✔️ 7s
FT: ERC-20 call methods 3✔️ 1s
Fungible (Via EVM proxy): Information getting 2✔️ 1s
Fungible (Via EVM proxy): Plain calls 3✔️ 3s
Fungible negative tests 1✔️ 1s
Fungible: Fees 3✔️ 3s
Fungible: Plain calls 15✔️ 11s
Fungible: Substrate calls 4✔️ 3s
Graphs 1✔️ 2s
Helpers sanity check 2✔️ 1s
Integration Test addCollectionAdmin(collection_id, new_admin_id): 1✔️ 626ms
Integration Test approveToken(spender, collection_id, item_id, amount): 7✔️ 4s
Integration Test approveTokenFromEth(spender, collection_id, item_id, amount): 7✔️ 4s
Integration Test changeCollectionOwner(collection_id, new_owner) special checks for exOwner: 3✔️ 2s
Integration Test changeCollectionOwner(collection_id, new_owner): 1✔️ 352ms
Integration Test createMultipleItems(collection_id, owner, items_data): 7✔️ 3s
Integration Test ext. Allow list tests 6✔️ 2s
Integration Test ext. Mint if included in Allow List 3✔️ 1s
Integration Test ext. Remove from Allow List 6✔️ 3s
Integration Test ext. Transfer if included in Allow List 10✔️ 8s
Integration Test getNextSponsored(collection_id, owner, item_id): 3✔️ 2s
Integration Test removeCollectionAdmin(collection_id, account_id): 2✔️ 866ms
Integration Test Transfer(recipient, collection_id, item_id, value) 8✔️ 4s
Integration Test transferFrom(from, recipient, collection_id, item_id, value): 5✔️ 3s
Integration Test: Access Rights to Token Properties 5✔️ 3s
integration test: API UNIQUE consts 15✔️ 2s
Integration Test: Collator Selection 5✖️ 0ms
Integration Test: Collection Properties 22✔️ 17s
Integration Test: Collection Properties with sudo 3✔️ 2s
Integration Test: createMultipleItemsEx 7✔️ 3s
integration test: ext. (): 13✔️ 6s
integration test: ext. burnItem() with admin permissions: 2✔️ 1s
integration test: ext. burnItem(): 2✔️ 945ms
integration test: ext. confirmSponsorship(): 11✔️ 8s
integration test: ext. createCollection(): 11✔️ 3s
integration test: ext. destroyCollection(): 3✔️ 1s
integration test: ext. removeCollectionSponsor(): 5✔️ 3s
integration test: ext. setCollectionSponsor(): 6✔️ 3s
integration test: Fees must be credited to Treasury: 7✔️ 4s
integration test: Fungible functionality: 7✔️ 5s
Integration Test: Identities Manipulation 7✖️ 0ms
integration test: Inflation 2✔️ 823ms
Integration Test: Maintenance Functionality 6✔️ 5s
Integration Test: ownerCanTransfer allows admins to use only transferFrom/burnFrom: 2✔️ 1s
integration test: Refungible functionality: 9✔️ 6s
integration test: RPC methods 2✔️ 2s
Integration Test: Set Permissions 3✔️ 2s
Integration Test: Token Properties 18✔️ 27s
Integration Test: Token Properties with sudo 2✔️ 1s
Integration Test: Unnesting 16✔️ 17s
Market V2 Contract 2✔️ 5s
Matcher contract usage 3✔️ 9s
Minting tokens 11✔️ 5s
Native fungible 27✔️ 7s
NativeFungible: ERC20 calls 8✔️ 2s
NativeFungible: ERC20UniqueExtensions calls 2✔️ 1s
Negative Enable/Disable Transfers 1✔️ 413ms
Negative Integration Test addCollectionAdmin(collection_id, new_admin_id): 5✔️ 4s
Negative Integration Test changeCollectionOwner(collection_id, new_owner): 4✔️ 2s
Negative Integration Test createMultipleItems(collection_id, owner, items_data): 12✔️ 4s
Negative Integration Test removeCollectionAdmin(collection_id, account_id): 4✔️ 2s
Negative Integration Test Transfer(recipient, collection_id, item_id, value) 16✔️ 8s
Negative Integration Test transferFrom(from, recipient, collection_id, item_id, value): 18✔️ 12s
Negative Integration Test: Access Rights to Token Properties 8✔️ 4s
Negative Integration Test: Collection Properties 15✔️ 8s
Negative integration test: ext. burnItem(): 6✔️ 4s
Negative integration test: ext. createItem(): 11✔️ 4s
Negative Integration Test: Set Permissions 3✔️ 1s
Negative Integration Test: Token Properties 14✔️ 33s
Negative Integration Tests for fractionalizer 15✔️ 14s
negative properties 4✔️ 2s
Negative test: createMultipleItemsEx 5✔️ 2s
Negative Test: Nesting 15✔️ 19s
Negative Test: Unnesting 7✔️ 5s
Negative tests 5✔️ 4s
Nesting by collection admin 3✔️ 4s
NFT (Via EVM proxy): Information getting 3✔️ 2s
NFT (Via EVM proxy): Plain calls 6✔️ 6s
NFT: Fees 4✔️ 3s
NFT: Plain calls 21✔️ 19s
NFT: Substrate calls 5✔️ 3s
Normal user can approve other users to be wallet operator: 2✔️ 918ms
Number of tokens per address (NFT) 2✔️ 2s
Number of tokens per address (ReFungible) 2✔️ 2s
Pallet presence 3✔️ 391ms
Performace tests 1✔️ 48s
Precompiles 2✔️ 889ms
query properties RPC 9✔️ 3s
Refungible nesting 4✔️ 5s
Refungible nesting negative tests 1✔️ 1❌ 257s
ReFungible token properties permissions tests 4✔️ 4s
Refungible transfer tests 2✔️ 2s
ReFungible-specific nesting tests 1✔️ 1s
Refungible: burn 4✔️ 3s
Refungible: burn negative tests 1✔️ 1s
Refungible: Fees 3✔️ 3s
Refungible: Plain calls 36✔️ 32s
Refungible: Substrate calls 3✔️ 2s
Remove collection admins 6✔️ 4s
RFT: ERC-20 call methods 3✔️ 1s
RFT: Fees 2✔️ 2s
RPC eth_getCode 3✔️ 557ms
Send value to contract 1✔️ 1s
setCollectionLimits negative 5✔️ 2s
setCollectionLimits positive 3✔️ 1s
Sponsoring EVM contracts 19✔️ 15s
Sponsoring Fee Limit 5✔️ 4s
Supports ERC721Metadata 2✔️ 4s
Token transfer between substrate address and EVM address. Fungible 2✔️ 2s
Token transfer between substrate address and EVM address. NFT 2✔️ 2s
Transfer event 2✔️ 2s
Transfers to self (potentially over substrate-evm boundary) 4✔️ 3s
TxVersion is present 1✔️ 124ms
Vesting 3✔️ 9s

❌ Refungible nesting negative tests

Refungible nesting negative tests
  ❌ non-Owner cannot nest someone else's token
	Error: Unable to create tokens!

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / int test results - opal

Refungible nesting negative tests ► Refungible nesting negative tests ► non-Owner cannot nest someone else's token

Failed test found in:
  js-packages/tests/mochawesome-report/test-1721119928.json
Error:
  Error: Unable to create tokens!
Raw output
Error: Unable to create tokens!
    at UniqueUtil.extractTokensFromCreationResult (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/playgrounds/unique.ts:160:19)
    at NFTGroup.mintToken (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/playgrounds/unique.ts:1464:48)
    at async UniqueNFTCollection.mintToken (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/playgrounds/unique.ts:2620:16)
    at async file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/tests/sub/refungible/nesting.test.ts:92:33
    at async file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/test-utils/util.ts:114:13
    at async usingPlaygroundsGeneral (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/test-utils/util.ts:49:18)
    at async Context.<anonymous> (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/test-utils/util.ts:110:9)