Skip to content
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

feat: print call trees on error #292

Merged

Conversation

charles-cooper
Copy link
Member

What I did

print call trees on error
fix some bugs (related to modules, printing errors)

How I did it

How to verify it

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Copy link
Collaborator

@DanielSchiavini DanielSchiavini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

boa/contracts/abi/abi_contract.py Outdated Show resolved Hide resolved
boa/contracts/base_evm_contract.py Show resolved Hide resolved
boa/contracts/call_trace.py Outdated Show resolved Hide resolved
@charles-cooper charles-cooper merged commit a8c3170 into vyperlang:master Sep 5, 2024
9 checks passed
@charles-cooper charles-cooper deleted the feat/call-tree-on-error branch September 5, 2024 08:18
Leminkay pushed a commit to Leminkay/titanoboa that referenced this pull request Oct 28, 2024
* fix VyperTraceSource.func_t

this way is more robust

* fix: handle errors in call tree, refactor TraceFrame

move more data into TraceFrame properties, they are like implementation
details

* use net_gas_used for trace
* fix call tree for create computations
* fix call tree from internal functions
* small refactor: BoaError.create()
* factor out format_error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants