Skip to content

Conversation

@Eittipat
Copy link
Collaborator

@Eittipat Eittipat commented Sep 5, 2025

Description

Provide configuration for encode/decode to update set and destoryed account db

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (changes that do NOT affect functionality)
  • Adds or updates testing
  • This change requires a documentation update

@codecov
Copy link

codecov bot commented Sep 5, 2025

Codecov Report

❌ Patch coverage is 80.79268% with 63 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rlp/rlp_updateset.go 0.00% 35 Missing ⚠️
db/update_set_encoding.go 87.50% 6 Missing and 3 partials ⚠️
protobuf/updateset.go 0.00% 7 Missing ⚠️
db/destroyed_account_db.go 75.00% 4 Missing and 2 partials ⚠️
db/update_db.go 80.64% 4 Missing and 2 partials ⚠️
Files with missing lines Coverage Δ
db/destroyed_account_encoding.go 100.00% <100.00%> (ø)
db/update_set_iterator.go 100.00% <100.00%> (ø)
protobuf/decode.go 98.36% <100.00%> (+0.74%) ⬆️
updateset/update_set.go 100.00% <100.00%> (ø)
db/destroyed_account_db.go 92.56% <75.00%> (-4.61%) ⬇️
db/update_db.go 92.62% <80.64%> (-4.41%) ⬇️
protobuf/updateset.go 0.00% <0.00%> (ø)
db/update_set_encoding.go 87.50% <87.50%> (ø)
rlp/rlp_updateset.go 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Eittipat Eittipat requested a review from wsodsong September 5, 2025 16:21
if err != nil {
t.Fatalf("get update-set returned error; %v", err)
}
t.Run("RLP", func(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: this looks like a good candidate for table driven test.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@wsodsong wsodsong left a comment

Choose a reason for hiding this comment

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

Looks good!

@Eittipat Eittipat force-pushed the iammop/remove-hardcoded-rlp branch from 8cfb331 to dab2614 Compare September 21, 2025 05:20
@Eittipat Eittipat merged commit 7a307ce into main Sep 21, 2025
3 checks passed
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