Skip to content

Commit 185e8f4

Browse files
committed
Fix cross chain tab event queries (#6465)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on modifying the `blockRange` parameter in the `page.tsx` file to adjust the maximum block number limit for a specific condition. ### Detailed summary - Updated `blockRange` from `latestBlockNumber < 2000000n` to `latestBlockNumber < 100000n`, changing the maximum limit from `2000000n` to `100000n`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent d8865b7 commit 185e8f4

File tree

1 file changed

+1
-1
lines changed
  • apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain

1 file changed

+1
-1
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/cross-chain/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default async function Page(props: {
120120
const events = await getContractEvents({
121121
contract: twCloneFactoryContract,
122122
events: [ProxyDeployedEvent],
123-
blockRange: latestBlockNumber < 2000000n ? latestBlockNumber : 2000000n,
123+
blockRange: latestBlockNumber < 100000n ? latestBlockNumber : 100000n,
124124
});
125125
const event = events.find(
126126
(e) =>

0 commit comments

Comments
 (0)