Skip to content

Comments

fix(database): return correct bytecode in BenchmarkDB::code_by_hash#3170

Merged
rakita merged 1 commit intobluealloy:mainfrom
viktorking7:patch-7
Nov 13, 2025
Merged

fix(database): return correct bytecode in BenchmarkDB::code_by_hash#3170
rakita merged 1 commit intobluealloy:mainfrom
viktorking7:patch-7

Conversation

@viktorking7
Copy link
Contributor

The BenchmarkDB::code_by_hash method always returned empty bytecode, ignoring the stored bytecode hash that was set during initialization. This broke the contract between basic() (which returns account info with code hash) and code_by_hash() (which should return the corresponding bytecode).

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 13, 2025

CodSpeed Performance Report

Merging #3170 will not alter performance

Comparing viktorking7:patch-7 (faf15b1) with main (84d41bc)

Summary

✅ 173 untouched

Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

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

lgtm

@rakita rakita merged commit 6a5f718 into bluealloy:main Nov 13, 2025
31 checks passed
@github-actions github-actions bot mentioned this pull request Nov 13, 2025
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