Skip to content

Commit

Permalink
fix: check for L2/L3 orbit
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-altr committed May 2, 2024
1 parent 9c82353 commit 43242b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/l3Configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export async function l3Configuration(

// Setting L1 basefee on L3
const l2ChainId = (await L2Provider.getNetwork()).chainId
if (l2ChainId === 421614) {
if ((l2ChainId === 421614) || (l2ChainId === 42161)) {
console.log(`This is an L3 Orbit`)

const arbGasInfoAbi = ArbGasInfo__abi
Expand Down

0 comments on commit 43242b0

Please sign in to comment.