Skip to content

Commit

Permalink
contracts-bedrock: minor tweak in tests for L1BlockInterop
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfuturistic committed May 23, 2024
1 parent ef9203f commit 1e61b68
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/contracts-bedrock/test/L2/L1BlockInterop.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ contract L1BlockInteropTest is CommonTest {
emit GasPayingTokenSet({ token: _token, decimals: _decimals, name: _name, symbol: _symbol });

_l1BlockInterop().setConfig(
ConfigType.GAS_PAYING_TOKEN, StaticConfig.encodeSetGasPayingToken(_token, _decimals, _name, _symbol)
ConfigType.GAS_PAYING_TOKEN,
StaticConfig.encodeSetGasPayingToken({ _token: _token, _decimals: _decimals, _name: _name, _symbol: _symbol })
);
}

Expand All @@ -114,7 +115,8 @@ contract L1BlockInteropTest is CommonTest {

vm.expectRevert(NotDepositor.selector);
_l1BlockInterop().setConfig(
ConfigType.GAS_PAYING_TOKEN, StaticConfig.encodeSetGasPayingToken(_token, _decimals, _name, _symbol)
ConfigType.GAS_PAYING_TOKEN,
StaticConfig.encodeSetGasPayingToken({ _token: _token, _decimals: _decimals, _name: _name, _symbol: _symbol })
);
}

Expand Down

0 comments on commit 1e61b68

Please sign in to comment.