Questions tagged [debugging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
327 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 ...
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 ...
0 votes
1 answer
315 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 ...
1 vote
1 answer
368 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(...
1 vote
1 answer
375 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 ...