I am encountering an access control error with the following details:
{
"message": "Access control failed for Smart contract",
"errorCode": "NodeContractAuthsigUnauthorized",
"errorKind": "Validation",
"status": 401,
"details": [
"validation error: Authsig failed for contract 0xd68fa46952bC848f8675a89383c5B074e1E22E40: EIP1271 Authsig failed"
]
}
However, when I call the isValidSignature function of the contract, it returns true.
To Reproduce
replit
Expected behavior
Since the contract returns 0x1626ba7e which means the signature is valid, it should work
Environment:
- @lit-protocol/lit-node-client: "^2.2.61"
- litNetwork: "serrano"
- Node: v20.3.1
I am encountering an access control error with the following details:
{ "message": "Access control failed for Smart contract", "errorCode": "NodeContractAuthsigUnauthorized", "errorKind": "Validation", "status": 401, "details": [ "validation error: Authsig failed for contract 0xd68fa46952bC848f8675a89383c5B074e1E22E40: EIP1271 Authsig failed" ] }However, when I call the
isValidSignaturefunction of the contract, it returnstrue.To Reproduce
replit
Expected behavior
Since the contract returns
0x1626ba7ewhich means the signature is valid, it should workEnvironment: