Skip to content

feat: scripts to analyse 7683 logs#227

Merged
kss-t1 merged 3 commits into
canaryfrom
feat/script-to-analyze-bridge-activity
Jan 7, 2026
Merged

feat: scripts to analyse 7683 logs#227
kss-t1 merged 3 commits into
canaryfrom
feat/script-to-analyze-bridge-activity

Conversation

@kss-t1

@kss-t1 kss-t1 commented Jan 7, 2026

Copy link
Copy Markdown
Member

Description

Quick and kinda dirty scripts to analyse past Open/Filled intents in a given block range.

kss@kss-Legion-9-16IRX9:~/coding/t1/t1/contracts/script/test/7683/analyselogs$ bun arb-to-base.ts 
Searched in Arbitrum blocks from 418241010 to 418842847 and found...
Opened unique orderIds on Arbitrum: 156
Searched in Base blocks from 40423900 to 40499026 and found...
Filled unique orderIds on Base: 155
Unfilled count: 1
Unfilled orders: [
  {
    "orderId": "0x29b767e3f4e33ff37360ac2bd6df2b411aed772339693426784da1d700399034",
    "blockNumber": 418747048,
    "txHash": "0x88bef30959b855c6d077ca070fb6ee78fe4f49be6152dd83ab1f32766280e32f",
    "logIndex": 7
  }
]

Motivation and Context

Needed to quickly know if and how many intents we did not fill.

How Has This Been Tested?

On local

Types of changes (remove all unchecked types)

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Style (style only changes)
  • Docs
  • Refactor (code that does not add new functionality nor fixes a bug)

Checklist:

  • If my change requires a change to the documentation, I have updated the documentation accordingly, and in either case, have checked this box to attest to my assessment of this requirement with regard to my change.
  • If my change requires additions or updates to any deployment scripts to ensure that the protocol is functional (Makefile, Dockerfile, Forge Script, etc.), I have made these changes, and in either case, have checked this box to attest to my assessment of this requirement with regard to my change.
  • If my change requires additional test coverage, I have created those tests accordingly, and in either case, have checked this box to attest to my assessment of this requirement with regard to my change.

@kss-t1 kss-t1 requested a review from evchip January 7, 2026 13:17
@kss-t1

kss-t1 commented Jan 7, 2026

Copy link
Copy Markdown
Member Author

IDK why suddenly I have lint failures on the contracts... my changes are unrelated to that.

evchip
evchip previously approved these changes Jan 7, 2026
@evchip

evchip commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

IDK why suddenly I have lint failures on the contracts... my changes are unrelated to that.

Checking formatting...
[warn] script/test/7683/analyselogs/README.md
[warn] Code style issues found in the above file. Run Prettier to fix.

you need to lint the README @kss-t1

@kss-t1 kss-t1 merged commit 35b57c5 into canary Jan 7, 2026
4 checks passed
@kss-t1 kss-t1 deleted the feat/script-to-analyze-bridge-activity branch January 7, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants