Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Fix Tutorial: Debugging a Smart Contract #1077

Open
5 tasks
fainashalts opened this issue Feb 22, 2021 · 0 comments
Open
5 tasks

Fix Tutorial: Debugging a Smart Contract #1077

fainashalts opened this issue Feb 22, 2021 · 0 comments
Assignees

Comments

@fainashalts
Copy link
Contributor

fainashalts commented Feb 22, 2021

This tutorial requires some updates to work properly. This issue arose from work on trufflesuite/issue-target-tmp#1.

Issues to Fix

  • need to update solidity version; going past 0.5.0 will require that the get() function in Store.sol is designated as view rather than constant
  • typo: “We will see how the issues present itself
  • Running truffle develop —log doesn’t seem to work as expected; perhaps this is a bug? I get a stack trace in the original debugger window. Not sure if that is intentional, but nothing seems to come up within the "log window"
  • Getting “transaction completed successfully” in the debug console when there should be something about the while(true) line? And then “Transaction has halted: cannot advance”
  • Not seeing a way to get the transaction id for the failed transaction since logging seems not to work?
  • main issues seem to be 1) versioning and 2) getting transaction hashes properly for failed transactions (is there a bug or a step missing in the tutorial?)
@its-everdred its-everdred self-assigned this Sep 28, 2021
@gnidan gnidan transferred this issue from another repository Sep 28, 2021
@gnidan gnidan transferred this issue from another repository Sep 28, 2021
@its-everdred its-everdred removed their assignment Sep 29, 2021
@kevinbluer kevinbluer self-assigned this Dec 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants