Skip to content

Conversation

@CJ1470
Copy link

@CJ1470 CJ1470 commented Jun 29, 2018

Following warning were generated while compiling the code on remix:

  • Invoking events without "emit" prefix is deprecated.
  • Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.

Updates:
Added emit keyword to remove events emit warning.
Changed contracts' constructor definition to newer ones.

Following warning were generated while compiling the code on remix:
- Invoking events without "emit" prefix is deprecated.
- Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead.

Updates:
Added emit keyword remove.
Changed constructor definition to newer ones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant