Skip to content

Commit

Permalink
chore: make contractId constant public
Browse files Browse the repository at this point in the history
  • Loading branch information
blockchainguyy committed Jun 24, 2024
1 parent 3a9cf09 commit 9c465f6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions contracts/gateway/AxelarAmplifierGatewayProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma solidity ^0.8.0;
import { Proxy } from '../upgradable/Proxy.sol';

contract AxelarAmplifierGatewayProxy is Proxy {
bytes32 private constant CONTRACT_ID = keccak256('axelar-amplifier-gateway-proxy');
bytes32 public constant CONTRACT_ID = keccak256('axelar-amplifier-gateway');

constructor(
address implementationAddress,
Expand All @@ -14,10 +14,6 @@ contract AxelarAmplifierGatewayProxy is Proxy {
) Proxy(implementationAddress, owner, setupParams) {}

function contractId() internal pure override returns (bytes32) {
return keccak256('axelar-amplifier-gateway');
}

function getContractId() public pure returns (bytes32) {
return CONTRACT_ID;
}
}

0 comments on commit 9c465f6

Please sign in to comment.