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

Better error messages on ErgoTree evaluation #720

Merged
merged 74 commits into from
Sep 27, 2023
Merged

Conversation

greenhat
Copy link
Member

@greenhat greenhat commented Jul 18, 2023

Close #353

@coveralls
Copy link

coveralls commented Jul 18, 2023

Pull Request Test Coverage Report for Build 6324467950

  • 705 of 1132 (62.28%) changed or added relevant lines in 90 files are covered.
  • 14 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-1.9%) to 81.06%

Changes Missing Coverage Covered Lines Changed/Added Lines %
ergo-lib/src/chain/transaction/reduced.rs 4 5 80.0%
ergotree-interpreter/src/eval/create_prove_dh_tuple.rs 0 1 0.0%
ergotree-interpreter/src/eval/create_provedlog.rs 0 1 0.0%
ergotree-interpreter/src/eval/decode_point.rs 1 2 50.0%
ergotree-interpreter/src/eval/deserialize_register.rs 5 6 83.33%
ergotree-interpreter/src/eval/expr.rs 19 20 95.0%
ergotree-interpreter/src/eval/extract_reg_as.rs 1 2 50.0%
ergotree-ir/src/chain/ergo_box/register/id.rs 3 4 75.0%
ergotree-ir/src/type_check.rs 0 1 0.0%
ergotree-interpreter/src/eval/sbox.rs 1 3 33.33%
Files with Coverage Reduction New Missed Lines %
ergotree-ir/src/mir/expr.rs 2 82.23%
ergotree-interpreter/src/eval/env.rs 3 66.67%
ergotree-ir/src/serialization/types.rs 4 84.67%
ergotree-ir/src/chain/token.rs 5 72.58%
Totals Coverage Status
Change from base Build 6248584962: -1.9%
Covered Lines: 10511
Relevant Lines: 12967

💛 - Coveralls

@greenhat greenhat force-pushed the i353-eval-error-trace branch 2 times, most recently from 6c7e963 to a2b4774 Compare July 24, 2023 10:45
rename SourceSpan to Span and wrapper to Spanned;
@greenhat greenhat marked this pull request as ready for review September 27, 2023 10:08
@greenhat greenhat merged commit 9ab86db into develop Sep 27, 2023
12 checks passed
@greenhat greenhat deleted the i353-eval-error-trace branch September 27, 2023 13:05
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.

Better ErgoTree evaluation error messages
2 participants