From 0e2633a4a099c9dccfacdf12e401085af5756207 Mon Sep 17 00:00:00 2001 From: agusduha Date: Thu, 22 Aug 2024 11:54:08 -0300 Subject: [PATCH] test: add erc20 asserts --- .../test/L2/OptimismSuperchainERC20Factory.t.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/contracts-bedrock/test/L2/OptimismSuperchainERC20Factory.t.sol b/packages/contracts-bedrock/test/L2/OptimismSuperchainERC20Factory.t.sol index eaf0579ca0e8..b82a40bf2bc7 100644 --- a/packages/contracts-bedrock/test/L2/OptimismSuperchainERC20Factory.t.sol +++ b/packages/contracts-bedrock/test/L2/OptimismSuperchainERC20Factory.t.sol @@ -74,6 +74,9 @@ contract OptimismSuperchainERC20FactoryTest is Test { // Assert assertTrue(addr == deployment); assertTrue(OptimismSuperchainERC20(deployment).decimals() == _decimals); + assertTrue(OptimismSuperchainERC20(deployment).remoteToken() == _remoteToken); + assertEq(OptimismSuperchainERC20(deployment).name(), _name); + assertEq(OptimismSuperchainERC20(deployment).symbol(), _symbol); assertEq(superchainERC20Factory.deployments(deployment), _remoteToken); }