-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It's very hard to spot.
function callbackDecryptMultipleValues(
uint256 requestID,
bool decryptedBool,
uint32 decryptedUint32,
uint32 decryptedUint64, // this is hard to spot the error here! uint32 is wrong, should be uint64
bytes[] memory signatures
) external {
FHE.checkSignatures(requestID, signatures);
_clearBool = decryptedBool;
_clearUint32 = decryptedUint32;
_clearUint64 = decryptedUint64;
}
Error: Transaction reverted without a reason string
at <UnrecognizedContract>.<unknown> (0x7553cb9124f974ee475e5ce45482f90d5b6076bc)
at EdrProviderWrapper.request (node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:359:41)
at async FhevmProviderExtender._handleEthSendTransaction (node_modules/@fhevm/hardhat-plugin/src/internal/provider/FhevmProviderExtender.ts:108:14)
at async HardhatEthersSigner.sendTransaction (node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:181:18)
at async DecryptionOracleEventsHandler.handleEvent (node_modules/@fhevm/mock-utils/fhevm/decryptionOracle/DecryptionOracleEventsHandler.ts:59:16)
at async MockDecryptionOracle.awaitDecryptionOracle (node_modules/@fhevm/mock-utils/fhevm/decryptionOracle/MockDecryptionOracle.ts:188:33)
at async FhevmProviderExtender._handleFhevmAwaitDecryptionOracle (node_modules/@fhevm/hardhat-plugin/src/internal/provider/FhevmProviderExtender.ts:206:5)
at async minimalProviderSend (node_modules/@fhevm/mock-utils/ethers/provider.ts:46:16)
at async Object.requestFhevmAwaitDecryptionOracle (node_modules/@fhevm/mock-utils/fhevm/relayer/MockRelayer.ts:80:10)
at async Proxy.awaitDecryptionOracle (node_modules/@fhevm/hardhat-plugin/src/internal/FhevmExternalAPI.ts:102:5)
Metadata
Metadata
Assignees
Labels
No labels