Skip to content

🐞 [Bug]: an unknown value was passed to the validate function #4504

@sameh-farouk

Description

@sameh-farouk

Is there an existing issue for this?

  • I have searched the existing issues

which package/s did you face the problem with?

Dashboard

What happened?

Clicking on "grace period" state cell in "your contracts page" shows an error

Steps To Reproduce

No response

which network/s did you face the problem on?

Dev

version

2.9.2

Twin ID/s

No response

Node ID/s

No response

Farm ID/s

No response

Contract ID/s

No response

Relevant screenshots/screen records

Screencast_20260403_175113.mp4

Relevant log output

[+] 4/3/2026, 5:40:12 PM [WARN]  2026-04-03 17:40:12        REGISTRY: Unknown signed extensions ContractIdProvides found, treating them as no-effect
[+] 4/3/2026, 5:42:04 PM [LOG]   Loading network nwqhe3i
[+] 4/3/2026, 5:46:39 PM [LOG]   Validation failed. errors: Array(1) [Object(5) {"target": 264344, "value": OfType(`undefined`), "property": OfType(`undefined`), "children": Array(0) [], "constraints": Object(1) {"unknownValue": an unknown value was passed to the validate function}}]
[+] 4/3/2026, 5:47:25 PM [LOG]   Validation failed. errors: Array(1) [Object(5) {"target": 264344, "value": OfType(`undefined`), "property": OfType(`undefined`), "children": Array(0) [], "constraints": Object(1) {"unknownValue": an unknown value was passed to the validate function}}]
[+] 4/3/2026, 5:48:23 PM [LOG]   Loading network nwqhe3i
[+] 4/3/2026, 5:48:46 PM [LOG]   Validation failed. errors: Array(1) [Object(5) {"target": 264344, "value": OfType(`undefined`), "property": OfType(`undefined`), "children": Array(0) [], "constraints": Object(1) {"unknownValue": an unknown value was passed to the validate function}}]
[+] 4/3/2026, 5:49:13 PM [LOG]   Validation failed. errors: Array(1) [Object(5) {"target": 264344, "value": OfType(`undefined`), "property": OfType(`undefined`), "children": Array(0) [], "constraints": Object(1) {"unknownValue": an unknown value was passed to the validate function}}]
[+] 4/3/2026, 5:49:46 PM [LOG]   Validation failed. errors: Array(1) [Object(5) {"target": 264344, "value": OfType(`undefined`), "property": OfType(`undefined`), "children": Array(0) [], "constraints": Object(1) {"unknownValue": an unknown value was passed to the validate function}}]
[+] 4/3/2026, 5:51:19 PM [LOG]   Validation failed. errors: Array(1) [Object(5) {"target": 264344, "value": OfType(`undefined`), "property": OfType(`undefined`), "children": Array(0) [], "constraints": Object(1) {"unknownValue": an unknown value was passed to the validate function}}]
[+] 4/3/2026, 5:51:40 PM [LOG]   Lock acquired
[+] 4/3/2026, 5:51:42 PM [LOG]   phase: {"applyExtrinsic":1}, section: balances, method: Withdraw, data: ["5HptZj1Pru9mwF6FzAidvyCC51fBaAbe7ociLhbdtwi2fjPu",10118]
[+] 4/3/2026, 5:51:42 PM [LOG]   phase: {"applyExtrinsic":1}, section: smartContractModule, method: ContractGracePeriodEnded, data: [264344,150,21336]
[+] 4/3/2026, 5:51:42 PM [LOG]   phase: {"applyExtrinsic":1}, section: balances, method: Reserved, data: ["5HptZj1Pru9mwF6FzAidvyCC51fBaAbe7ociLhbdtwi2fjPu",181212098]
[+] 4/3/2026, 5:51:42 PM [LOG]   phase: {"applyExtrinsic":1}, section: smartContractModule, method: ContractBilled, data: [{"contractId":264344,"timestamp":1775231502,"discountLevel":"Bronze","amountBilled":181212098}]
[+] 4/3/2026, 5:51:42 PM [LOG]   phase: {"applyExtrinsic":1}, section: utility, method: ItemCompleted, data: []
[+] 4/3/2026, 5:51:42 PM [LOG]   phase: {"applyExtrinsic":1}, section: utility, method: BatchCompleted, data: []
[+] 4/3/2026, 5:51:42 PM [LOG]   phase: {"applyExtrinsic":1}, section: balances, method: Deposit, data: ["5DZVVFwJyEKEAUtrwmvPxkWzvjtFc73LybFK8xJse57eBP4X",10118]
[+] 4/3/2026, 5:51:42 PM [LOG]   phase: {"applyExtrinsic":1}, section: transactionPayment, method: TransactionFeePaid, data: ["5HptZj1Pru9mwF6FzAidvyCC51fBaAbe7ociLhbdtwi2fjPu",10118,0]
[+] 4/3/2026, 5:51:42 PM [LOG]   phase: {"applyExtrinsic":1}, section: system, method: ExtrinsicSuccess, data: [{"weight":{"refTime":1100957416,"proofSize":8017},"class":"Normal","paysFee":"Yes"}]
[+] 4/3/2026, 5:51:42 PM [LOG]   Lock released

Metadata

Metadata

Assignees

No one assigned

    Labels

    type_bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions