Skip to content

CI fixes for polkadot 1.14 #2525

CI fixes for polkadot 1.14

CI fixes for polkadot 1.14 #2525

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

1155 passed, 1 failed and 12 skipped

Tests failed

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

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

Test suite Passed Failed Skipped Time
(!negative test!) integration test: ext. confirmSponsorship(): 7✔️ 3s
(!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✔️ 1s
[approveToken] Approved users can transferFrom up to approved amount: 3✔️ 3s
[approveToken] Approved users cannot use transferFrom to repeat transfers if approved amount was already transferred: 3✔️ 3s
[approveToken] Integration Test approve(spender, collection_id, item_id, amount) with collection admin permissions: 1✔️ 865ms
[approveToken] Negative Integration Test approve(spender, collection_id, item_id, amount): 14✔️ 10s
[approveToken] Normal user can approve other users to transfer: 3✔️ 2s
[approveToken] User cannot approve for the amount greater than they own: 3✔️ 3s
[approveToken] User may clear the approvals to approving for 0 amount: 3✔️ 3s
[approveTokenFromEth] Approved amount decreases by the transferred amount: 1✔️ 1s
[approveTokenFromEth] Approved users can transferFrom up to approved amount: 3✔️ 3s
[approveTokenFromEth] Approved users cannot use transferFrom to repeat transfers if approved amount was already transferred: 3✔️ 3s
[approveTokenFromEth] Integration Test approve(spender, collection_id, item_id, amount) with collection admin permissions: 1✔️ 1s
[approveTokenFromEth] Negative Integration Test approve(spender, collection_id, item_id, amount): 14✔️ 10s
[approveTokenFromEth] Normal user can approve other users to transfer: 3✔️ 3s
[approveTokenFromEth] User cannot approve for the amount greater than they own: 3✔️ 2s
[approveTokenFromEth] User may clear the approvals to approving for 0 amount: 3✔️ 3s
[eth]CollectionHelperAddress test: ERC20/ERC721 4✔️ 1s
[FT] Sync sub & eth events 8✔️ 8s
[NFT] Sync sub & eth events 10✔️ 10s
[RFT] Sync sub & eth events 10✔️ 10s
Add collection admins 10✔️ 6s
Administrator and collection owner do not need approval in order to execute TransferFrom (with owner_can_transfer_flag = true): 3✔️ 3s
App promotion 53✔️ 85s
Burn Item event 1✔️ 1s
Can set collection limits 3✔️ 2s
Cannot set invalid collection limits 6✔️ 3s
Change owner tests 3✔️ 2s
Change substrate owner tests 2✔️ 1s
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✔️ 13s
Composite nesting tests 2✔️ 4s
Connection smoke test 2✔️ 143ms
Contract calls 3✔️ 2s
Create collection event 1✔️ 871ms
Create collection from EVM 48✔️ 24s
Create FT collection from EVM 6✔️ 3s
Create Item event 1✔️ 895ms
Create Multiple Items Event event 1✔️ 985ms
Create NFT collection from EVM 6✔️ 3s
Create RFT collection from EVM 5✔️ 2s
Destroy collection event 1✔️ 952ms
Destroy Collection from EVM 3✔️ 2s
Effective collection limits (NFT) 1✔️ 465ms
Enable/Disable Transfers 2✔️ 966ms
ERC 1633 implementation 1✔️ 411ms
ERC-721 call methods 10✔️ 5s
ERC165 tests 6✔️ 951ms
Eth fees are correct 1✔️ 876ms
Ethereum native RPC calls 1✔️ 295ms
Evm Coder tests 1✔️ 617ms
EVM collection allowlist 10✔️ 8s
EVM collection properties 12✔️ 6s
EVM contract allowlist 2✔️ 1s
EVM Migrations 4✔️ 2s
EVM nesting tests group 14✔️ 9s
evm nft collection sponsoring 9✔️ 7s
EVM payable contracts 5✔️ 4s
evm RFT collection sponsoring 15✔️ 12s
evm RFT token sponsoring 6✔️ 6s
EVM sponsoring 2✔️ 2s
EVM token properties 13✔️ 10s
EVM token properties negative 20✔️ 9s
EVM transaction fees 7✔️ 3s
Fractionalizer contract usage 6✔️ 4s
FT: ERC-20 call methods 3✔️ 1s
Fungible (Via EVM proxy): Information getting 2✔️ 1s
Fungible (Via EVM proxy): Plain calls 3✔️ 2s
Fungible negative tests 1✔️ 948ms
Fungible: Fees 3✔️ 3s
Fungible: Plain calls 15✔️ 10s
Fungible: Substrate calls 4✔️ 2s
Graphs 1✔️ 3s
Helpers sanity check 2✔️ 850ms
Integration Test addCollectionAdmin(collection_id, new_admin_id): 1✔️ 1s
Integration Test approveToken(spender, collection_id, item_id, amount): 7✔️ 6s
Integration Test approveTokenFromEth(spender, collection_id, item_id, amount): 7✔️ 6s
Integration Test changeCollectionOwner(collection_id, new_owner) special checks for exOwner: 3✔️ 2s
Integration Test changeCollectionOwner(collection_id, new_owner): 1✔️ 370ms
Integration Test createMultipleItems(collection_id, owner, items_data): 7✔️ 3s
Integration Test ext. Allow list tests 6✔️ 4s
Integration Test ext. Mint if included in Allow List 3✔️ 3s
Integration Test ext. Remove from Allow List 6✔️ 5s
Integration Test ext. Transfer if included in Allow List 10✔️ 12s
Integration Test getNextSponsored(collection_id, owner, item_id): 3✔️ 2s
Integration Test removeCollectionAdmin(collection_id, account_id): 2✔️ 896ms
Integration Test Transfer(recipient, collection_id, item_id, value) 8✔️ 6s
Integration Test transferFrom(from, recipient, collection_id, item_id, value): 5✔️ 3s
Integration Test: Access Rights to Token Properties 5✔️ 4s
integration test: API UNIQUE consts 15✔️ 5s
Integration Test: Collator Selection 5✖️ 0ms
Integration Test: Collection Properties 22✔️ 25s
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✔️ 1s
integration test: ext. confirmSponsorship(): 10✔️ 1❌ 264s
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✔️ 11s
integration test: Fungible functionality: 7✔️ 5s
Integration Test: Identities Manipulation 7✖️ 0ms
integration test: Inflation 2✔️ 832ms
Integration Test: Maintenance Functionality 6✔️ 5s
Integration Test: ownerCanTransfer allows admins to use only transferFrom/burnFrom: 2✔️ 2s
integration test: Refungible functionality: 9✔️ 7s
integration test: RPC methods 2✔️ 2s
Integration Test: Set Permissions 3✔️ 2s
Integration Test: Token Properties 18✔️ 31s
Integration Test: Token Properties with sudo 2✔️ 2s
Integration Test: Unnesting 16✔️ 24s
Market V2 Contract 2✔️ 4s
Matcher contract usage 3✔️ 6s
Minting tokens 11✔️ 5s
Native fungible 27✔️ 8s
NativeFungible: ERC20 calls 8✔️ 2s
NativeFungible: ERC20UniqueExtensions calls 2✔️ 982ms
Negative Enable/Disable Transfers 1✔️ 387ms
Negative Integration Test addCollectionAdmin(collection_id, new_admin_id): 5✔️ 6s
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✔️ 10s
Negative Integration Test transferFrom(from, recipient, collection_id, item_id, value): 18✔️ 15s
Negative Integration Test: Access Rights to Token Properties 8✔️ 6s
Negative Integration Test: Collection Properties 15✔️ 12s
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✔️ 41s
Negative Integration Tests for fractionalizer 15✔️ 9s
negative properties 4✔️ 2s
Negative test: createMultipleItemsEx 5✔️ 2s
Negative Test: Nesting 15✔️ 26s
Negative Test: Unnesting 7✔️ 8s
Negative tests 5✔️ 4s
Nesting by collection admin 3✔️ 5s
NFT (Via EVM proxy): Information getting 3✔️ 2s
NFT (Via EVM proxy): Plain calls 6✔️ 5s
NFT: Fees 4✔️ 3s
NFT: Plain calls 21✔️ 16s
NFT: Substrate calls 5✔️ 3s
Normal user can approve other users to be wallet operator: 2✔️ 2s
Number of tokens per address (NFT) 2✔️ 2s
Number of tokens per address (ReFungible) 2✔️ 2s
Pallet presence 3✔️ 469ms
Performace tests 1✔️ 132s
Precompiles 2✔️ 810ms
query properties RPC 9✔️ 3s
Refungible nesting 4✔️ 7s
Refungible nesting negative tests 2✔️ 3s
ReFungible token properties permissions tests 4✔️ 5s
Refungible transfer tests 2✔️ 3s
ReFungible-specific nesting tests 1✔️ 2s
Refungible: burn 4✔️ 4s
Refungible: burn negative tests 1✔️ 2s
Refungible: Fees 3✔️ 3s
Refungible: Plain calls 36✔️ 26s
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✔️ 716ms
Send value to contract 1✔️ 780ms
setCollectionLimits negative 5✔️ 2s
setCollectionLimits positive 3✔️ 1s
Sponsoring EVM contracts 19✔️ 13s
Sponsoring Fee Limit 5✔️ 3s
Supports ERC721Metadata 2✔️ 2s
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✔️ 293ms
Vesting 3✔️ 9s

❌ integration test: ext. confirmSponsorship():

integration test: ext. confirmSponsorship():
  ❌ NFT: Sponsoring of createItem is rate limited
	Error: No CollectionPermissionSet event was found!

Annotations

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

See this annotation in the file changed.

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

integration test: ext. confirmSponsorship(): ► integration test: ext. confirmSponsorship(): ► NFT: Sponsoring of createItem is rate limited

Failed test found in:
  js-packages/tests/mochawesome-report/test-1727776507.json
Error:
  Error: No CollectionPermissionSet event was found!
Raw output
Error: No CollectionPermissionSet event was found!
    at UniqueUtil.findCollectionInEvents (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/playgrounds/unique.ts:208:19)
    at CollectionGroup.setPermissions (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/playgrounds/unique.ts:914:33)
    at async UniqueNFTCollection.setPermissions (file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/playgrounds/unique.ts:2565:16)
    at async file:///opt/actions-runner/_work/unique-chain/unique-chain/js-packages/tests/confirmSponsorship.test.ts:133:9
    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)