fix: reject log retrieval requests for not-in-context contracts#22047
Conversation
|
/claudebox fix conflicts |
|
⏳ Run #1 — Session completed (3m) Resolved merge conflicts in #22047 — all 3 files had the same |
benesjan
left a comment
There was a problem hiding this comment.
Given that we already have the contract address in the bulkRetrieveLogs then why do we even have it in the LogRetrievalRequest?
Shouldn't we just drop it from there instead of doing this check?
I think the address might have gotten in the LogRetrievalRequest at a time when we were considering whether we will want a contract B to process contract A's logs but that I have been abandoned.
I am not sure if it's abandoned for good though but if it is then I would just drop the contract address from the request.
I agree with this and we also discussed it with @nchamo, but changing the structure of |
Co-authored-by: Jan Beneš <janbenes1234@gmail.com>
|
/claudebox keep the fetchLogsByTag naming |
|
ClaudeBox: _keep the fetchLogsByTag naming _ ... workflow run |
Closes F-476 --------- Co-authored-by: AztecBot <tech@aztec-labs.com> Co-authored-by: Jan Beneš <janbenes1234@gmail.com>
|
✅ Successfully backported to backport-to-v4-next-staging #22091. |
Missing contractAddress argument in 3 test calls after merging next into merge-train/fairies. The fairies PR #22047 added contractAddress as first param but some tests from next still used the old signature.
Closes F-476