Skip to content

feat(ethexe): commit only head of blocks #4788

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

Merged
merged 16 commits into from
Jul 29, 2025
Merged

feat(ethexe): commit only head of blocks #4788

merged 16 commits into from
Jul 29, 2025

Conversation

grishasobol
Copy link
Member

@grishasobol grishasobol commented Jul 23, 2025

instead of committing a vector of GearBlock, we commit now only hash of the last block in chain.
This should be considered as temporary solution and head have to be changed from block hash to announce hash, I will do in the next PR.

@grishasobol grishasobol self-assigned this Jul 23, 2025
@grishasobol grishasobol added the A1-inprogress Issue is in progress or PR draft is not ready to be reviewed label Jul 23, 2025
Copy link

semanticdiff-com bot commented Jul 23, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  ethexe/ethereum/WrappedVara.json  100% smaller
  ethexe/ethereum/Mirror.json  95% smaller
  ethexe/compute/src/prepare.rs  48% smaller
  ethexe/consensus/src/validator/producer.rs  39% smaller
  ethexe/consensus/src/mock.rs  35% smaller
  ethexe/consensus/src/utils.rs  25% smaller
  ethexe/common/src/gear.rs  20% smaller
  ethexe/common/src/db.rs  17% smaller
  ethexe/consensus/src/validator/participant.rs  8% smaller
  ethexe/ethereum/src/abi/gear.rs  5% smaller
  gprimitives/src/lib.rs  4% smaller
  ethexe/common/src/primitives.rs  1% smaller
  ethexe/observer/src/lib.rs  1% smaller
  ethexe/blob-loader/Cargo.toml Unsupported file format
  ethexe/cli/Cargo.toml Unsupported file format
  ethexe/common/src/events/router.rs  0% smaller
  ethexe/compute/Cargo.toml Unsupported file format
  ethexe/compute/src/compute.rs  0% smaller
  ethexe/compute/src/lib.rs  0% smaller
  ethexe/compute/src/service.rs  0% smaller
  ethexe/compute/src/tests.rs  0% smaller
  ethexe/consensus/Cargo.toml Unsupported file format
  ethexe/consensus/src/validator/initial.rs  0% smaller
  ethexe/consensus/src/validator/mod.rs  0% smaller
  ethexe/consensus/src/validator/subordinate.rs  0% smaller
  ethexe/contracts/src/IRouter.sol Unsupported file format
  ethexe/contracts/src/Router.sol Unsupported file format
  ethexe/contracts/src/libraries/Gear.sol Unsupported file format
  ethexe/contracts/test/Base.t.sol Unsupported file format
  ethexe/db/Cargo.toml Unsupported file format
  ethexe/db/src/database.rs  0% smaller
  ethexe/ethereum/Cargo.toml Unsupported file format
  ethexe/ethereum/Router.json Unsupported file format
  ethexe/ethereum/src/abi/events/router.rs  0% smaller
  ethexe/ethereum/src/router/events.rs  0% smaller
  ethexe/network/Cargo.toml Unsupported file format
  ethexe/observer/Cargo.toml Unsupported file format
  ethexe/processor/Cargo.toml Unsupported file format
  ethexe/rpc/src/apis/block.rs  0% smaller
  ethexe/runtime/Cargo.toml Unsupported file format
  ethexe/service/Cargo.toml Unsupported file format
  ethexe/service/src/fast_sync.rs Unsupported file format
  ethexe/service/src/tests/mod.rs  0% smaller
  ethexe/tx-pool/Cargo.toml Unsupported file format
  gprimitives/Cargo.toml Unsupported file format
  pallets/gear-builtin/Cargo.toml Unsupported file format
  pallets/gear-eth-bridge/Cargo.toml Unsupported file format

@grishasobol grishasobol added A0-pleasereview PR is ready to be reviewed by the team and removed A0-pleasereview PR is ready to be reviewed by the team A1-inprogress Issue is in progress or PR draft is not ready to be reviewed labels Jul 24, 2025
@grishasobol grishasobol merged commit 87e0985 into master Jul 29, 2025
27 checks passed
@grishasobol grishasobol deleted the gsobol/head branch July 29, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-pleasereview PR is ready to be reviewed by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants