From 93f4c8c4d08cfe8eb5c7dced20923e19fa25cb10 Mon Sep 17 00:00:00 2001 From: Karim Date: Sun, 29 Dec 2024 11:22:28 +0000 Subject: [PATCH] Remove role check in the `logMetadata` (#169) --- evm/src/omni-bridge/contracts/OmniBridge.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evm/src/omni-bridge/contracts/OmniBridge.sol b/evm/src/omni-bridge/contracts/OmniBridge.sol index 8b61f0d3..e2354237 100644 --- a/evm/src/omni-bridge/contracts/OmniBridge.sol +++ b/evm/src/omni-bridge/contracts/OmniBridge.sol @@ -143,7 +143,7 @@ contract OmniBridge is function logMetadata( address tokenAddress - ) external onlyRole(DEFAULT_ADMIN_ROLE) { + ) external { string memory name = IERC20Metadata(tokenAddress).name(); string memory symbol = IERC20Metadata(tokenAddress).symbol(); uint8 decimals = IERC20Metadata(tokenAddress).decimals();