Skip to content

Fix edge case in mocked relayer #67

@jatZama

Description

@jatZama

Similarly to what was done at this commit : zama-ai/fhevm@4a844a8
To handle the case where two requestIDs are equal, but one correspond to a failing callback but not the other one, the array toSkip should track the unique global oracle counter, instead of the dapp-specific request id.
Also should add the same test TestAsyncDecryptMultiContracts in fhevm-mocks repo to be future-proof.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions