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

Add a way to log from the contract #1

Open
w1nt3r-eth opened this issue Apr 13, 2022 · 1 comment
Open

Add a way to log from the contract #1

w1nt3r-eth opened this issue Apr 13, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@w1nt3r-eth
Copy link
Owner

Sometimes it's useful to log some stuff from the contract. I see 2 ways we could support that:

  1. Add VM hooks that call a native function (similar to the way Hardhat does it, could even reuse their console.log)
  2. Emit a Solidity event and parse it from the transaction receipt
@w1nt3r-eth w1nt3r-eth added the good first issue Good for newcomers label Apr 13, 2022
@iltumio
Copy link

iltumio commented May 30, 2022

why not to migrate to hardhat? I did it here #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants