Skip to content

Conversation

@chfast
Copy link
Member

@chfast chfast commented Aug 27, 2025

Use additional wrapping type StackSpace::Storage with alignas(32) instead of std::aligned_alloc to specify the EVM stack space alignment in portable way.

@chfast chfast requested a review from yperbasis August 27, 2025 17:30
@codecov
Copy link

codecov bot commented Aug 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.15%. Comparing base (6debfd4) to head (6e08832).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1304      +/-   ##
==========================================
- Coverage   87.15%   87.15%   -0.01%     
==========================================
  Files         167      167              
  Lines       24744    24732      -12     
  Branches     4059     4059              
==========================================
- Hits        21566    21554      -12     
  Misses        537      537              
  Partials     2641     2641              
Flag Coverage Δ
eest-develop 17.78% <100.00%> (-0.04%) ⬇️
eest-develop-gmp 15.81% <100.00%> (-0.05%) ⬇️
eest-fusaka 12.17% <100.00%> (-0.05%) ⬇️
eest-legacy 11.06% <100.00%> (-0.05%) ⬇️
eest-legacy-silkpre 17.67% <100.00%> (-0.05%) ⬇️
eest-static 18.70% <100.00%> (-0.04%) ⬇️
evmone-unittests 83.75% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
core 93.29% <100.00%> (-0.02%) ⬇️
tooling 88.35% <ø> (ø)
tests 84.12% <ø> (ø)
Files with missing lines Coverage Δ
lib/evmone/execution_state.hpp 92.64% <100.00%> (-1.11%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Use additional wrapping type `StackSpace::Storage` with `alignas(32)
instead of `std::aligned_alloc` to specify the EVM stack space
alignment in portable way.
@chfast chfast changed the title Use new[] with alignment for stack space allocation Use alignas to specify EVM stack space alignment Aug 27, 2025
@chfast chfast merged commit ec1b304 into master Aug 29, 2025
24 checks passed
@chfast chfast deleted the stack_space_new branch August 29, 2025 12: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.

2 participants