axelarnetwork / axelar-gmp-sdk-solidity

Solidity libraries and utilities provided by Axelar.
27 stars 32 forks source link

Foundry Compilation Error: Some immutables not read #178

Open mergd opened 4 months ago

mergd commented 4 months ago

Error (1284): Some immutables were read from but never assigned, possibly because of optimization.

Simple fix, remove the address 0 check or make it not immutable.

https://github.com/axelarnetwork/axelar-gmp-sdk-solidity/blob/1db893b373ec9fcd7cf838ebea4b3a7a24585791/contracts/executable/AxelarExecutable.sol#L11C1-L16C1