As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
38 views

Smart contract has stopped working well (runs out of gas)

I created an ERC20-compliant token with a tax and redistribution mechanism and deployed to the Bitgert chain and it has worked fine for days now. It stopped working well yesterday and efforts to ...
King Einsteinet's user avatar
0 votes
1 answer
349 views

Foundry Forge Debugger: How to inspect contents of variables?

Is there a convenient way to view the contents of a variable while debugging? Similar to other tooling, like the python debugger in pycharm, or the lldb debugger in Xcode. The forge debugger has a ...
urlauba's user avatar
1 vote
1 answer
342 views

How debug a Hardhat task?

I've developed a task in my Hardhat Project but I'm getting some errors when I try to pass an array parameter (something in @ethersproject/strings/src.ts/utf8.ts says that Cannot read properties of ...
Fabiano's user avatar
  • 163
1 vote
1 answer
375 views

How to access Struct values in brownie

//transaction struct of what a tx should have struct Transaction{ address to; uint value; bool executed; uint numConfirmations; mapping(address => bool) isConfirmed; mapping(...
Francis Egboluche 's user avatar
1 vote
1 answer
379 views

How to get opcode trace of failed transaction without solidity source?

tldr: want to run simulated transactions against deployed bytecode on rinkeby that has no verified solidity source, and step through opcodes and view stack/memory leading up to revert. To clairfy: in ...
Kyle Baker's user avatar