-
Notifications
You must be signed in to change notification settings - Fork 554
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
Cannot access transaction's "return_value" with Anvil #1754
Comments
In this place we have to create or describe "_Value". In essence we are setting the digital parameters. The "_strategy" is to be defined based on concurrent data as well as the accounts from which you wish to send. I hope this Helps Cheers. |
Does anvil expose the |
i found a workaround adding "--steps-tracing" anvil's flag in network-config.yaml (typically located in ~/.brownie/) for anvil's fork: |
Environment information
brownie
Version: 1.20.2anvil
Version: 0.2.0 commit 43b4e23solc
Version: 0.8.24What was wrong?
Brownie v1.20.2 works great! Thank you. But I have the following issue with it:
When I use Anvil, features such as "tx.return_value" or "tx.call_trace" do not work. They return none type. It works great with Hardhat. But Anvil is faster and it would be great if we can access "return_value" with Anvil as well.
Please include information like:
I first run anvil with the following command in terminal:
anvil --hardfork cancun
I then open another terminal and run brownie:
brownie console --network anvil
I then run the following script:
I am supposed to get a bool as return value, but the following command returns nothing:
tx.return_value
The text was updated successfully, but these errors were encountered: