Skip to content

Conversation

@masih
Copy link
Member

@masih masih commented Jun 20, 2024

Fix bug where tipset stringer would panic if its length is less than 16 bytes.

Refine ECChain stringer to skip building the string value if max length is reached, instead of fully build then truncate.

Fix bug where tipset stringer would panic if its length is less than 16
bytes.

Refine `ECChain` stringer to skip building the string value if max
length is reached, instead of fully build then truncate.
@masih masih force-pushed the masih/echchain-stringer-fix branch from d733afd to 8cccd2c Compare June 20, 2024 16:07
@masih masih requested review from Kubuxu and Stebalien June 20, 2024 16:08
@codecov
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.16%. Comparing base (8854527) to head (8cccd2c).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #357      +/-   ##
==========================================
+ Coverage   83.14%   83.16%   +0.01%     
==========================================
  Files          15       15              
  Lines        1774     1776       +2     
==========================================
+ Hits         1475     1477       +2     
  Misses        174      174              
  Partials      125      125              
Files Coverage Δ
gpbft/chain.go 90.54% <100.00%> (+0.12%) ⬆️

@masih masih enabled auto-merge June 20, 2024 16:22
@masih masih added this pull request to the merge queue Jun 20, 2024
Merged via the queue into main with commit 752bb6b Jun 20, 2024
@masih masih deleted the masih/echchain-stringer-fix branch June 20, 2024 18:34
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.

3 participants