Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
brtkx committed Jul 15, 2024
1 parent ac68c25 commit 4dd1fe1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/integration/l1l3Bridger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,13 @@ describe('L1 to L3 Bridging', () => {

itOnlyWhenCustomGasToken(
'should properly get l2 and l1 fee token addresses',
async () => {
async function () {
const { l1Provider, l2Network } = await testSetup()
const decimals = await getNativeTokenDecimals({ l1Provider, l2Network })

if (decimals !== 18) {
this.skip()
}
if (l1l3Bridger.l2GasTokenAddress === undefined) {
throw new Error('L2 fee token address is undefined')
}
Expand Down Expand Up @@ -859,6 +865,13 @@ describe('L1 to L3 Bridging', () => {
}
console.warn('3')

console.warn(amount.toString())

const address = await l1Signer.getAddress()
const bal = await l1Token.balanceOf(address)

console.warn(bal.toString())

const depositTx = await l1l3Bridger.deposit({
l1Signer,
txRequest: depositTxRequest.txRequest,
Expand Down

0 comments on commit 4dd1fe1

Please sign in to comment.