(Proxy) Contract initialization functions are not called

Somehow I can not manage that the functions:



are called during the contract initialization.

NNNToken.sol (implements EnhancedMinterPauser) is initialized

and initializes other contracts including EnhancedMinterPauser, calling __EnhancedMinterPauser_init_unchained method. This calls
setMintingFeePercent, but the parameters are not set.

Short gist:

full Code:

1 Like

fixed it.

was calling the super method initialize from ERC20 instead of the NNNToken.sol __initialize function while deploying.

1 Like

Hi @intoverq,

Welcome to the community forum :wave:

Iā€™m glad you were able to resolve.