Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated code that were deprecated. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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