-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
bug when debuging transaction #2582
Comments
What chain is this? |
@onbjerg thanks for the follow-up. Please, is there a way to generate an output exaclty the 'dapp.sol.json' ? so I can use the 'seth run --debug [tx]' meanwhile until the debugger becomes stable. |
this tx is not on mainnet, on which chain is it? |
using anvil, or other local network. As I posted here , it can be in any EVM compatible network, once we have the sources in the local machine we can bypass the etherscan dependency to download them, and debug on any network with the full source code locally |
I think you're misunderstanding: we can't find the transaction you reference in this issue. What chain is it on, so we can try to reproduce the error and fix it? |
sorry, it was only an example, this transaction was on my machine [anvil] |
Can you provide some steps on how to generate the transaction? E.g. what the transaction did. It looks like some data is missing, so the question is whether this is a bug in Anvil or in Cast. |
yes,
|
So the transaction just deploys a contract? |
almost, I am following the makerdao dss pattern, they did:
The example above is a simplification of their deployment, once in my case the fabs are already on-chain, so I deploy in two phases, the deploy contract and after I call the deploy function to create and configure the target contracts. |
@onbjerg , I think it's my fault, sorry. Seems the version was not updated. I saw 0.2.0 and thought that it was the last version, but after running forgeryup today, I got a 0.2.0 with a new build that worked. Let me suggest to use an incremental build number and make a small request once a day to check if there is a new version [as flutter does and shows a notification].
|
@henry-hz We're still running nightlies only (new release every night), stable version numbers and a method to check for updates is coming for 1.0.0. Glad to hear it was solved, though :) |
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (64fe4ac 2022-07-26T00:04:05.891537523Z)
What command(s) is the bug in?
cast run --debug
Operating System
Linux
Describe the bug
The text was updated successfully, but these errors were encountered: