Skip to content

Commit

Permalink
Add more information about a failing transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
shanefontaine committed Aug 23, 2021
1 parent a6c26cc commit 840427b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/deployAndSetupHop/setupL1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,9 @@ export async function setupL1 (config: Config) {

logger.log('sending token to L2')
logger.log(
`IMPORTANT: if this transaction fails, it may be because you are using a patched OZ. Reinstall node modules &`,
`redeploy the L1 bridge. A failed transaction here will not show any internal calls and use very little gas.`
`IMPORTANT: if this transaction fails, it may be one of two things. (1) You are using a patched OZ. Reinstall`,
`node modules & redeploy the L1 bridge. A failed transaction here will not show any internal calls and use very`,
`little gas. (2) The L1 deployer does not have tokens to send over the bridge.`
)
modifiedGasPrice = await getModifiedGasPrice(ethers, l1ChainId)
tx = await l1_bridge
Expand Down

0 comments on commit 840427b

Please sign in to comment.