chore(deps): update all non-major dependencies #998
Annotations
10 errors and 1 warning
test/contracts/character.test.ts > character > create a character and check > check if a character exists:
src/contract/subcontracts/character.ts#L605
ContractFunctionExecutionError: HTTP request failed.
URL: https://rpc.testnet.crossbell.io
Request body: {"method":"eth_call","params":[{"data":"0x2abc6bf60000000000000000000000004aa5e421e3348dc2d209a0701ebf69e16a8ba1ca","to":"0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8"},"latest"]}
Raw Call Arguments:
to: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8
data: 0x2abc6bf60000000000000000000000004aa5e421e3348dc2d209a0701ebf69e16a8ba1ca
Contract Call:
address: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8
function: getPrimaryCharacterId(address account)
args: (0x4aa5E421e3348Dc2D209a0701eBf69e16a8Ba1cA)
Docs: https://viem.sh/docs/contract/readContract
Details: fetch failed
Version: viem@2.21.35
❯ getContractError node_modules/.pnpm/viem@2.21.35_typescript@5.6.3/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ readContract node_modules/.pnpm/viem@2.21.35_typescript@5.6.3/node_modules/viem/actions/public/readContract.ts:136:11
❯ CharacterContract.existsForAddress src/contract/subcontracts/character.ts:605:23
❯ test/contracts/character.test.ts:42:29
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'fetch failed', docsPath: '/docs/contract/readContract', metaMessages: [ 'URL: https://rpc.testnet.crossbell.io', 'Request body: {"method":"eth_call","params":[{"data":"0x2abc6bf60000000000000000000000004aa5e421e3348dc2d209a0701ebf69e16a8ba1ca","to":"0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8"},"latest"]}', ' ', 'Raw Call Arguments:', ' to: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8\n data: 0x2abc6bf60000000000000000000000004aa5e421e3348dc2d209a0701ebf69e16a8ba1ca', ' ', 'Contract Call:', ' address: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8\n function: getPrimaryCharacterId(address account)\n args: (0x4aa5E421e3348Dc2D209a0701eBf69e16a8Ba1cA)' ], shortMessage: 'HTTP request failed.', version: '2.21.35', abi: [ { inputs: [ { name: 'characterId', type: 'uint256' } ], name: 'ErrCharacterNotExists', type: 'error' }, { inputs: [], name: 'ErrHandleContainsInvalidCharacters', type: 'error' }, { inputs: [], name: 'ErrHandleExists', type: 'error' }, { inputs: [], name: 'ErrHandleLengthInvalid', type: 'error' }, { inputs: [], name: 'ErrNotCharacterOwner', type: 'error' }, { inputs: [], name: 'ErrNotEnoughPermission', type: 'error' }, { inputs: [], name: 'ErrNotEnoughPermissionForThisNote', type: 'error' }, { inputs: [], name: 'ErrNoteIsDeleted', type: 'error' }, { inputs: [], name: 'ErrNoteLocked', type: 'error' }, { inputs: [], name: 'ErrNoteNotExists', type: 'error' }, { inputs: [], name: 'ErrSignatureExpired', type: 'error' }, { inputs: [], name: 'ErrSignatureInvalid', type: 'error' }, { inputs: [], name: 'ErrSocialTokenExists', type: 'error' }, { inputs: [], name: 'ErrTokenNotExists', type: 'error' }, { inputs: [ { indexed: true, name: 'owner', type: 'address' }, { indexed: true, name: 'approved', type: 'address' }, { indexed: true, name: 'tokenId', type: 'uint256' } ], name: 'Approval', type: 'event' }, { inputs: [ { indexed: true, name: 'owner', type: 'address' }, { indexed: true, name: 'operator', type: 'address' }, { indexed: false, name: 'approved', type: 'bool' } ], name: 'ApprovalForAll', type: 'event' }, { inputs: [ { indexed: false, name: 'version', type: 'uint8' } ], name: 'Initialized', type: 'event' }, { inputs: [ { indexed: true, name: 'from', type: 'address' }, { indexed: true, name: 'to', type: 'address' }, { indexed: true, name: 'tokenId', type: 'uint256' } ], name: 'Transfer', type: 'event' }, { inputs: [ { name: 'to', type: 'address' }, { name: 'tokenId', type: 'uint256' } ], name: 'approve', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { name: 'owner', type: 'address' } ], name: 'balanceOf', outputs: [ { name: '', type: 'uint256' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { name: 'tokenId', type: 'uint256' } ], name: 'burn', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { name: 'linklistId', type: 'uint256' } ], name: 'burnLinklist', output
|
test/contracts/character.test.ts > character > create a character and check > getCharacter:
test/contracts/character.test.ts#L89
Error: characterId is null
❯ test/contracts/character.test.ts:89:28
|
test/contracts/character.test.ts > character > create a character and check > getCharacterByHandle:
src/contract/subcontracts/character.ts#L456
ContractFunctionExecutionError: HTTP request failed.
URL: https://rpc.testnet.crossbell.io
Request body: {"method":"eth_call","params":[{"data":"0x9a50248d0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a612d72616e646f6d2d68616e646c652d696d75667963746d7a65000000000000","to":"0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8"},"latest"]}
Raw Call Arguments:
to: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8
data: 0x9a50248d0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a612d72616e646f6d2d68616e646c652d696d75667963746d7a65000000000000
Contract Call:
address: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8
function: getCharacterByHandle(string handle)
args: (a-random-handle-imufyctmze)
Docs: https://viem.sh/docs/contract/readContract
Details: fetch failed
Version: viem@2.21.35
❯ getContractError node_modules/.pnpm/viem@2.21.35_typescript@5.6.3/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ readContract node_modules/.pnpm/viem@2.21.35_typescript@5.6.3/node_modules/viem/actions/public/readContract.ts:136:11
❯ CharacterContract.getByHandle src/contract/subcontracts/character.ts:456:21
❯ test/contracts/character.test.ts:98:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'fetch failed', docsPath: '/docs/contract/readContract', metaMessages: [ 'URL: https://rpc.testnet.crossbell.io', 'Request body: {"method":"eth_call","params":[{"data":"0x9a50248d0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a612d72616e646f6d2d68616e646c652d696d75667963746d7a65000000000000","to":"0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8"},"latest"]}', ' ', 'Raw Call Arguments:', ' to: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8\n data: 0x9a50248d0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a612d72616e646f6d2d68616e646c652d696d75667963746d7a65000000000000', ' ', 'Contract Call:', ' address: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8\n function: getCharacterByHandle(string handle)\n args: (a-random-handle-imufyctmze)' ], shortMessage: 'HTTP request failed.', version: '2.21.35', abi: [ { inputs: [ { name: 'characterId', type: 'uint256' } ], name: 'ErrCharacterNotExists', type: 'error' }, { inputs: [], name: 'ErrHandleContainsInvalidCharacters', type: 'error' }, { inputs: [], name: 'ErrHandleExists', type: 'error' }, { inputs: [], name: 'ErrHandleLengthInvalid', type: 'error' }, { inputs: [], name: 'ErrNotCharacterOwner', type: 'error' }, { inputs: [], name: 'ErrNotEnoughPermission', type: 'error' }, { inputs: [], name: 'ErrNotEnoughPermissionForThisNote', type: 'error' }, { inputs: [], name: 'ErrNoteIsDeleted', type: 'error' }, { inputs: [], name: 'ErrNoteLocked', type: 'error' }, { inputs: [], name: 'ErrNoteNotExists', type: 'error' }, { inputs: [], name: 'ErrSignatureExpired', type: 'error' }, { inputs: [], name: 'ErrSignatureInvalid', type: 'error' }, { inputs: [], name: 'ErrSocialTokenExists', type: 'error' }, { inputs: [], name: 'ErrTokenNotExists', type: 'error' }, { inputs: [ { indexed: true, name: 'owner', type: 'address' }, { indexed: true, name: 'approved', type: 'address' }, { indexed: true, name: 'tokenId', type: 'uint256' } ], name: 'Approval', type: 'event' }, { inputs: [ { indexed: true, name: 'owner', type: 'address' }, { indexed: true, name: 'operator', type: 'address' }, { indexed: false, name: 'approved', type: 'bool' } ], name: 'ApprovalForAll', type: 'event' }, { inputs: [ { indexed: false, name: 'version', type: 'uint8' } ], name: 'Initialized', type: 'event' }, { inputs: [ { indexed: true, name: 'from', type: 'address' }, { indexed: true, name: 'to', type: 'address' }, { indexed: true, name: 'tokenId', type: 'uint256' } ], name: 'Transfer', type: 'event' }, { inputs: [ { name: 'to', type: 'address' }, { name: 'tokenId', type:
|
test/contracts/character.test.ts > character > create a character and check > getHandle:
test/contracts/character.test.ts#L107
Error: characterId is null
❯ test/contracts/character.test.ts:107:28
|
test/contracts/character.test.ts > character > create a character and check > getCharacterMetadataUri:
test/contracts/character.test.ts#L115
Error: characterId is null
❯ test/contracts/character.test.ts:115:28
|
test/contracts/character.test.ts > character > change a character and check > setPrimaryCharacter:
test/contracts/character.test.ts#L125
Error: characterId is null
❯ test/contracts/character.test.ts:125:28
|
test/contracts/character.test.ts > character > change a character and check > getPrimaryCharacter:
src/contract/subcontracts/character.ts#L402
ContractFunctionExecutionError: HTTP request failed.
URL: https://rpc.testnet.crossbell.io
Request body: {"method":"eth_call","params":[{"data":"0x2abc6bf600000000000000000000000000000081d48ba02daa6c13d55c2916ad0570b652","to":"0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8"},"latest"]}
Raw Call Arguments:
to: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8
data: 0x2abc6bf600000000000000000000000000000081d48ba02daa6c13d55c2916ad0570b652
Contract Call:
address: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8
function: getPrimaryCharacterId(address account)
args: (***)
Docs: https://viem.sh/docs/contract/readContract
Details: fetch failed
Version: viem@2.21.35
❯ getContractError node_modules/.pnpm/viem@2.21.35_typescript@5.6.3/node_modules/viem/utils/errors/getContractError.ts:72:10
❯ readContract node_modules/.pnpm/viem@2.21.35_typescript@5.6.3/node_modules/viem/actions/public/readContract.ts:136:11
❯ CharacterContract.getPrimaryId src/contract/subcontracts/character.ts:402:23
❯ test/contracts/character.test.ts:130:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'fetch failed', docsPath: '/docs/contract/readContract', metaMessages: [ 'URL: https://rpc.testnet.crossbell.io', 'Request body: {"method":"eth_call","params":[{"data":"0x2abc6bf600000000000000000000000000000081d48ba02daa6c13d55c2916ad0570b652","to":"0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8"},"latest"]}', ' ', 'Raw Call Arguments:', ' to: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8\n data: 0x2abc6bf600000000000000000000000000000081d48ba02daa6c13d55c2916ad0570b652', ' ', 'Contract Call:', ' address: 0xa6f969045641Cf486a747A2688F3a5A6d43cd0D8\n function: getPrimaryCharacterId(address account)\n args: (***)' ], shortMessage: 'HTTP request failed.', version: '2.21.35', abi: [ { inputs: [ { name: 'characterId', type: 'uint256' } ], name: 'ErrCharacterNotExists', type: 'error' }, { inputs: [], name: 'ErrHandleContainsInvalidCharacters', type: 'error' }, { inputs: [], name: 'ErrHandleExists', type: 'error' }, { inputs: [], name: 'ErrHandleLengthInvalid', type: 'error' }, { inputs: [], name: 'ErrNotCharacterOwner', type: 'error' }, { inputs: [], name: 'ErrNotEnoughPermission', type: 'error' }, { inputs: [], name: 'ErrNotEnoughPermissionForThisNote', type: 'error' }, { inputs: [], name: 'ErrNoteIsDeleted', type: 'error' }, { inputs: [], name: 'ErrNoteLocked', type: 'error' }, { inputs: [], name: 'ErrNoteNotExists', type: 'error' }, { inputs: [], name: 'ErrSignatureExpired', type: 'error' }, { inputs: [], name: 'ErrSignatureInvalid', type: 'error' }, { inputs: [], name: 'ErrSocialTokenExists', type: 'error' }, { inputs: [], name: 'ErrTokenNotExists', type: 'error' }, { inputs: [ { indexed: true, name: 'owner', type: 'address' }, { indexed: true, name: 'approved', type: 'address' }, { indexed: true, name: 'tokenId', type: 'uint256' } ], name: 'Approval', type: 'event' }, { inputs: [ { indexed: true, name: 'owner', type: 'address' }, { indexed: true, name: 'operator', type: 'address' }, { indexed: false, name: 'approved', type: 'bool' } ], name: 'ApprovalForAll', type: 'event' }, { inputs: [ { indexed: false, name: 'version', type: 'uint8' } ], name: 'Initialized', type: 'event' }, { inputs: [ { indexed: true, name: 'from', type: 'address' }, { indexed: true, name: 'to', type: 'address' }, { indexed: true, name: 'tokenId', type: 'uint256' } ], name: 'Transfer', type: 'event' }, { inputs: [ { name: 'to', type: 'address' }, { name: 'tokenId', type: 'uint256' } ], name: 'approve', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { name: 'owner', type: 'address' } ], name: 'balanceOf', outputs: [ { name: '', type: 'uint256' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { name: 'tokenId', type: 'uint256' } ], name: 'burn', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { name: 'linklistId', type: 'uint256' } ], name: 'burnLinklist', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { component
|
test/contracts/character.test.ts > character > change a character and check > isPrimaryCharacterId:
test/contracts/character.test.ts#L137
Error: characterId is null
❯ test/contracts/character.test.ts:137:28
|
test/contracts/character.test.ts > character > change a character and check > setHandle:
test/contracts/character.test.ts#L145
Error: characterId is null
❯ test/contracts/character.test.ts:145:28
|
test/contracts/character.test.ts > character > change a character and check > getHandle - after changed:
test/contracts/character.test.ts#L153
Error: characterId is null
❯ test/contracts/character.test.ts:153:28
|
test (ubuntu-latest, 20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|