Skip to content

fix: use provided code hash when setting account code#3324

Merged
rakita merged 1 commit intobluealloy:mainfrom
Bashmunta:fix/journaled-account-code-hash
Jan 20, 2026
Merged

fix: use provided code hash when setting account code#3324
rakita merged 1 commit intobluealloy:mainfrom
Bashmunta:fix/journaled-account-code-hash

Conversation

@Bashmunta
Copy link
Copy Markdown
Contributor

Use the provided code hash when setting account code in JournaledAccount to avoid redundant hashing and preserve the caller’s hash, aligning behavior with the intended API and the set_code_with_hash flow.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Jan 17, 2026

CodSpeed Performance Report

Merging this PR will improve performance by 4.42%

Comparing Bashmunta:fix/journaled-account-code-hash (fcfbe9f) with main (ecd3fc5)

Summary

⚡ 1 improved benchmark
✅ 172 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
transact_1000tx_commit_inner_every_40 2.6 ms 2.5 ms +4.42%

@rakita rakita merged commit 9016fd0 into bluealloy:main Jan 20, 2026
31 checks passed
@github-actions github-actions bot mentioned this pull request Jan 20, 2026
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