26034/warning-invoking-without-prefix-deprecated-truffle-compile
truffle compile outputs Warning: Invoking events without "emit" prefix is deprecated.
Compilation warnings encountered: zeppelin-solidity/contracts/token/ERC20/BasicToken.sol:38:5: Warning: Invoking events without "emit" prefix is deprecated. Transfer(msg.sender, _to, _value);
As the warning mentions, add emit as a prefix like this:
emit Transfer(msg.sender, _to, _value);
The emit keyword is used to call the events explicitly.
Try removing zeppelin-solidity and reinstalling version zeppelin-solidity 1.8.0
npm install --save zeppelin-solidity@1.8.0
This should help
The challenge you are facing is mostly ...READ MORE
A nonce is just "some arbitrary number". In ...READ MORE
I ran into a similar issue to ...READ MORE
It appears like you have already migrated ...READ MORE
This was a bug. They've fixed it. ...READ MORE
recipes is a dynamic storage array. You need ...READ MORE
I guess you have ganache running already ...READ MORE
The problem lies in the command: truffle migrate Your truffle migrate command ...READ MORE
Alternatively you could assign this to a local variable ...READ MORE
You can't claim BCH without knowing private ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.