Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase word log2 size #259

Merged
merged 3 commits into from
Aug 6, 2024
Merged

Increase word log2 size #259

merged 3 commits into from
Aug 6, 2024

Conversation

mpernambuco
Copy link
Collaborator

@mpernambuco mpernambuco commented Jul 16, 2024

This branch increases the merkle tree leaf size to 32 bytes.
We are still able to log accesses to data smaller than 32 bytes. We log the entire 32-byte leaf where the smaller data is located.

Related PR

cartesi/machine-solidity-step#68

@mpernambuco mpernambuco force-pushed the increase-word-log2-size branch from ac5f0f2 to 99ea5e0 Compare July 16, 2024 08:25
@mpernambuco mpernambuco marked this pull request as ready for review July 16, 2024 14:01
@mpernambuco mpernambuco force-pushed the increase-word-log2-size branch from 18482e4 to e8a9aba Compare July 22, 2024 18:15
@vfusco vfusco added this to the v0.18.0 milestone Jul 23, 2024
src/Makefile Outdated Show resolved Hide resolved
tests/misc/test-utils.h Outdated Show resolved Hide resolved
tests/misc/test-machine-c-api.cpp Outdated Show resolved Hide resolved
src/send-cmio-response.cpp Outdated Show resolved Hide resolved
tests/lua/cartesi/tests/util.lua Outdated Show resolved Hide resolved
tests/lua/cartesi/tests/util.lua Outdated Show resolved Hide resolved
tests/lua/machine-bind.lua Outdated Show resolved Hide resolved
tests/lua/machine-bind.lua Outdated Show resolved Hide resolved
@mpernambuco mpernambuco force-pushed the increase-word-log2-size branch from e8a9aba to bc6fca8 Compare July 24, 2024 21:57
@vfusco vfusco requested a review from diegonehab July 28, 2024 17:24
@vfusco vfusco added the enhancement New feature or request label Jul 28, 2024
@vfusco vfusco requested a review from mpolitzer July 28, 2024 17:26
@edubart
Copy link
Contributor

edubart commented Jul 29, 2024

I approve with remarks that EMULATOR_VERSION_LABEL=-test4 should be changed in src/Makefile for the release.

edubart
edubart previously approved these changes Jul 29, 2024
edubart
edubart previously approved these changes Jul 29, 2024
mpolitzer
mpolitzer previously approved these changes Jul 29, 2024
src/access-log.h Outdated Show resolved Hide resolved
src/access-log.h Outdated Show resolved Hide resolved
Copy link
Contributor

@diegonehab diegonehab left a comment

Choose a reason for hiding this comment

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

This looks great. Only minor comments.

@mpernambuco mpernambuco dismissed stale reviews from mpolitzer and edubart via 0721f0a August 1, 2024 20:35
@mpernambuco mpernambuco force-pushed the increase-word-log2-size branch from 22a73e3 to 0721f0a Compare August 1, 2024 20:35
edubart
edubart previously approved these changes Aug 1, 2024
mpolitzer
mpolitzer previously approved these changes Aug 1, 2024
@mpernambuco mpernambuco requested a review from diegonehab August 1, 2024 21:44
@mpernambuco mpernambuco dismissed stale reviews from mpolitzer and edubart via eaaaad1 August 4, 2024 00:11
@mpernambuco mpernambuco force-pushed the increase-word-log2-size branch 2 times, most recently from 6cd4894 to 3aaee22 Compare August 5, 2024 21:29
@mpernambuco mpernambuco force-pushed the increase-word-log2-size branch from 3aaee22 to 451a0fe Compare August 6, 2024 13:22
@mpernambuco mpernambuco force-pushed the increase-word-log2-size branch from 451a0fe to 70d0530 Compare August 6, 2024 14:40
@mpernambuco mpernambuco force-pushed the increase-word-log2-size branch from 70d0530 to e6bf24e Compare August 6, 2024 15:08
@vfusco vfusco dismissed diegonehab’s stale review August 6, 2024 17:24

Diego reviewed and had only minor comments that were already addressed. Dismissing so we can move forward.

@mpernambuco mpernambuco merged commit e6bf24e into main Aug 6, 2024
8 checks passed
@mpernambuco mpernambuco deleted the increase-word-log2-size branch August 6, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants