OffchainLabs / arbitrum-tutorials

Get started developing on Arbitrum
455 stars 280 forks source link

chore: L1 confirmation checker #87

Closed Jason-Wanxt closed 1 year ago

Jason-Wanxt commented 1 year ago

How would we summarize what this demo is doing? It seems like it should be getting finality info about a particular transaction — i.e., a transaction should be the provided input. But instead it asks for a block number to be provided. It seems like there is a missing step (i.e., user provides transaction, script uses that tx to find the l2 block number, then demo proceeds as-is)

yes, use tx hash would be better.