Skip to content

[TEST] Datastream Tests MVP#7

Closed
antdanchenko wants to merge 274 commits into
zkevmfrom
test_datastream_mvp
Closed

[TEST] Datastream Tests MVP#7
antdanchenko wants to merge 274 commits into
zkevmfrom
test_datastream_mvp

Conversation

@antdanchenko

Copy link
Copy Markdown

No description provided.

V-Staykov and others added 8 commits December 11, 2023 11:18
* feat(stream): add stateroot to l2tx

* feat(rpcroots): remove roots files

* feat(rpcroots): consume stateroot from the l2 datastream

* fix(state_domain): temp fix effective gas %

* changed block stateroot to tx stateroot

* feat(rpcroots): remove lfs and update readme

---------

Co-authored-by: Valentin Staykov <v.staykov@razorlabs.com>
@cla-bot

cla-bot Bot commented Dec 13, 2023

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: anton@gateway.fm.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@revitteth revitteth changed the title datastream test mvp [TEST] Datastream Tests MVP Dec 13, 2023
@mandrigin mandrigin closed this Dec 14, 2023
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Nov 3, 2024
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

chore: revert format changes, and add mev config json (0xPolygon#6)

add mev-infra service

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

fix(mev): fix parent block nil panic (0xPolygon#17)

chore(mev): improve histoical state response (0xPolygon#19)

patch after merge

no block para
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Nov 3, 2024
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

chore: revert format changes, and add mev config json (0xPolygon#6)

add mev-infra service

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

fix(mev): fix parent block nil panic (0xPolygon#17)

chore(mev): improve histoical state response (0xPolygon#19)

patch after merge

no block para
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Nov 3, 2024
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

chore: revert format changes, and add mev config json (0xPolygon#6)

add mev-infra service

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

fix(mev): fix parent block nil panic (0xPolygon#17)

chore(mev): improve histoical state response (0xPolygon#19)

patch after merge

no block para
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Nov 3, 2024
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

chore: revert format changes, and add mev config json (0xPolygon#6)

add mev-infra service

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

fix(mev): fix parent block nil panic (0xPolygon#17)

chore(mev): improve histoical state response (0xPolygon#19)

patch after merge

no block para
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Nov 3, 2024
migrate sentio tracers

fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

chore: revert format changes, and add mev config json (0xPolygon#6)

add mev-infra service

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

fix(mev): fix parent block nil panic (0xPolygon#17)

chore(mev): improve histoical state response (0xPolygon#19)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Nov 3, 2024
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Nov 3, 2024
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Nov 8, 2024
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Mar 17, 2025
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Mar 17, 2025
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Apr 30, 2025
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Apr 30, 2025
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Apr 30, 2025
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request May 22, 2025
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
zfy0701 added a commit to sentioxyz/cdk-erigon that referenced this pull request Jul 25, 2025
fix tracemany error format

migrate override and gas changes (0xPolygon#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (0xPolygon#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (0xPolygon#9)

fix when tracer failed before start and zero gas (0xPolygon#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (0xPolygon#12)

code address for mapping keys (0xPolygon#13)

return gas price of execution

ignore init code size limit (0xPolygon#15)

api change

code address field (0xPolygon#16)

emit output field for revert (0xPolygon#18)

patch after merge

no block para

fix stack encoding
tamingchaos referenced this pull request in tamingchaos/cdk-erigon Nov 6, 2025
Implements Phase 1 of Kubernetes deployment project replacing Kurtosis-based
testing with native K8s deployment using Helm charts.

- Separate K8s-specific Dockerfile (preserves Kurtosis compatibility)
- Embedded NATS JetStream support (ports 4222, 8222, 6222)
- Multi-stage build: builder → tools-builder → Alpine final
- Optimized binary build: cdk-erigon, rpcdaemon, relay (3 of 17 binaries)
- Non-root user (UID 1000), security hardened
- OCI and Kubernetes labels for traceability

- build-image.sh: Build with version tagging and metadata injection
- image-load.sh: Load into kind/k3d/minikube/OrbStack
- validate-build.sh: Automated smoke tests (ports, labels, runtime)

- Excluded 72GB of unnecessary context (datadir: 68GB, .git: 2.6GB)
- Build context reduced: 76GB → 4GB (94% smaller)
- Build time reduced: 19min → 7min (62% faster)
- Image size optimized: ~450MB → ~350MB (22% smaller)

- PROJECT.md: Rules, phases, decisions, change log
- container-requirements.md: Complete container specs for Helm
- build-workflow.md: Build and deployment guide
- phases/phase-1/: Sequential documentation (design, optimization)

- **Isolation**: All K8s work in /k8s directory
- **Non-Breaking**: Separate Dockerfile preserves existing workflows
- **NATS**: Embedded JetStream in sequencer, RPC nodes as clients
- **Config**: YAML ConfigMaps as primary, ENV vars as secondary
- **Health Probes**: HTTP on port 8545 (existing RPC endpoint)
- **Graceful Shutdown**: 60s grace period with PreStop hook

Established Rule #7: Every change documented in phases/phase-N/NN-name.md
- 01-design.md: Initial container foundation design
- 02-build-optimization.md: Build context and binary optimization

See k8s/docs/phases/phase-1/README.md for complete phase summary.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
tamingchaos referenced this pull request in tamingchaos/cdk-erigon Nov 6, 2025
Implements Phase 1 of Kubernetes deployment project replacing Kurtosis-based
testing with native K8s deployment using Helm charts.

- Separate K8s-specific Dockerfile (preserves Kurtosis compatibility)
- Embedded NATS JetStream support (ports 4222, 8222, 6222)
- Multi-stage build: builder → tools-builder → Alpine final
- Optimized binary build: cdk-erigon, rpcdaemon, relay (3 of 17 binaries)
- Non-root user (UID 1000), security hardened
- OCI and Kubernetes labels for traceability

- build-image.sh: Build with version tagging and metadata injection
- image-load.sh: Load into kind/k3d/minikube/OrbStack
- validate-build.sh: Automated smoke tests (ports, labels, runtime)

- Excluded 72GB of unnecessary context (datadir: 68GB, .git: 2.6GB)
- Build context reduced: 76GB → 4GB (94% smaller)
- Build time reduced: 19min → 7min (62% faster)
- Image size optimized: ~450MB → ~350MB (22% smaller)

- PROJECT.md: Rules, phases, decisions, change log
- container-requirements.md: Complete container specs for Helm
- build-workflow.md: Build and deployment guide
- phases/phase-1/: Sequential documentation (design, optimization)

- **Isolation**: All K8s work in /k8s directory
- **Non-Breaking**: Separate Dockerfile preserves existing workflows
- **NATS**: Embedded JetStream in sequencer, RPC nodes as clients
- **Config**: YAML ConfigMaps as primary, ENV vars as secondary
- **Health Probes**: HTTP on port 8545 (existing RPC endpoint)
- **Graceful Shutdown**: 60s grace period with PreStop hook

Established Rule #7: Every change documented in phases/phase-N/NN-name.md
- 01-design.md: Initial container foundation design
- 02-build-optimization.md: Build context and binary optimization

See k8s/docs/phases/phase-1/README.md for complete phase summary.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
tamingchaos referenced this pull request in tamingchaos/cdk-erigon Nov 6, 2025
Implements Phase 1 of Kubernetes deployment project replacing Kurtosis-based
testing with native K8s deployment using Helm charts.

- Separate K8s-specific Dockerfile (preserves Kurtosis compatibility)
- Embedded NATS JetStream support (ports 4222, 8222, 6222)
- Multi-stage build: builder → tools-builder → Alpine final
- Optimized binary build: cdk-erigon, rpcdaemon, relay (3 of 17 binaries)
- Non-root user (UID 1000), security hardened
- OCI and Kubernetes labels for traceability

- build-image.sh: Build with version tagging and metadata injection
- image-load.sh: Load into kind/k3d/minikube/OrbStack
- validate-build.sh: Automated smoke tests (ports, labels, runtime)

- Excluded 72GB of unnecessary context (datadir: 68GB, .git: 2.6GB)
- Build context reduced: 76GB → 4GB (94% smaller)
- Build time reduced: 19min → 7min (62% faster)
- Image size optimized: ~450MB → ~350MB (22% smaller)

- PROJECT.md: Rules, phases, decisions, change log
- container-requirements.md: Complete container specs for Helm
- build-workflow.md: Build and deployment guide
- phases/phase-1/: Sequential documentation (design, optimization)

- **Isolation**: All K8s work in /k8s directory
- **Non-Breaking**: Separate Dockerfile preserves existing workflows
- **NATS**: Embedded JetStream in sequencer, RPC nodes as clients
- **Config**: YAML ConfigMaps as primary, ENV vars as secondary
- **Health Probes**: HTTP on port 8545 (existing RPC endpoint)
- **Graceful Shutdown**: 60s grace period with PreStop hook

Established Rule #7: Every change documented in phases/phase-N/NN-name.md
- 01-design.md: Initial container foundation design
- 02-build-optimization.md: Build context and binary optimization

See k8s/docs/phases/phase-1/README.md for complete phase summary.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

5 participants