Comments (4)
@davidmurdoch, I didn't understand what you meant by the tracer
option. I see it now. Thank you very much.
from ganache-cli-archive.
You'll want to use debug_traceTransaction
for that (see https://geth.ethereum.org/docs/rpc/ns-debug#example-2). Note: ganache doesn't support the tracer
option.
The o:
looks to be an issue with webpack minifying the name of the class (RuntimeError
, I think) into the single letter, o
. Calling toString() on an Error object causes the name
of the error object to be prepended to the error's message, e.g., new Error("message").toString() === "Error: message"
.
Let me know if this answers your questions!
from ganache-cli-archive.
Thanks, @davidmurdoch, debug_tracerTransaction is exactly what I would need.
One option could be, collect ganache logs, and once I have recovered the hash of the failed transaction, via web3 catch error, recover values which normally, "debug.traceTransaction" would return. Does this make sense to you? Any idea to collect these logs? I am thinking, in something similar to this, i.e., definition of a place to collect transactions (e.g.: ganache_data).
Thanks in advance.
from ganache-cli-archive.
Why can't you just use debug_traceTransaction
?
from ganache-cli-archive.
Related Issues (20)
- ganache-cli not getting installed on Ubuntu HOT 2
- Error installing ganache-cli following Azure blockchain HelloWorld example HOT 3
- Unable to reach ganache-cli in a docker container from docker compose HOT 13
- eth_getTransactionCount returns an incorrect value HOT 2
- scrypt optional dependency HOT 1
- Ganache and BuilderEVM use different gas HOT 1
- How can I determine right ganache instance? HOT 2
- Extra bytes returned on revert("") HOT 2
- How to listen to existing Ganache instance in another Terminal tab or window? HOT 4
- Ganache-cli Fork hang on net_version HOT 3
- Ganache-cli Fork will not last. Subsequent transactions fail with nonce error and / or out of gas error HOT 2
- Error: VM Exception while processing migration transaction: invalid opcode when testing on different machines HOT 3
- ganache-cli failing on estimateGas
- Error running -h "0.0.0.0" HOT 7
- How to use ganache-cli to fork the block specified by the bsc main network? HOT 2
- Ganache Crashes on estimateGas HOT 1
- can solidity have console.log()? HOT 2
- security vulnerabilities HOT 1
- [Errno 2] No such file or directory: 'ganache-cli'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ganache-cli-archive.