Skip to content

Commit 4151a26

Browse files
modify for test
1 parent 380dbb2 commit 4151a26

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ on:
1111
env:
1212
REPO_NAME: ${{ github.repository_owner }}/reth
1313
# IMAGE_NAME: ${{ github.repository_owner }}/reth
14-
OP_IMAGE_NAME: ${{ github.repository_owner }}/op-reth
14+
# OP_IMAGE_NAME: ${{ github.repository_owner }}/op-reth
1515
BSC_IMAGE_NAME: ${{ github.repository_owner }}/bsc-reth
1616
CARGO_TERM_COLOR: always
1717
# DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/reth
18-
OP_DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/op-reth
18+
# OP_DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/op-reth
1919
BSC_DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/bsc-reth
2020
DOCKER_USERNAME: ${{ github.actor }}
2121

@@ -44,10 +44,10 @@ jobs:
4444
# run: make PROFILE=maxperf docker-build-push-latest
4545
# - name: Build and push reth image
4646
# run: make PROFILE=maxperf docker-build-push
47-
- name: Build and push op-reth image, tag as "latest"
48-
run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push-latest
49-
- name: Build and push op-reth image
50-
run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push
47+
# - name: Build and push op-reth image, tag as "latest"
48+
# run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push-latest
49+
# - name: Build and push op-reth image
50+
# run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push
5151
- name: Build and push bsc-reth image, tag as "latest"
5252
run: make IMAGE_NAME=$BSC_IMAGE_NAME DOCKER_IMAGE_NAME=$BSC_DOCKER_IMAGE_NAME PROFILE=maxperf bsc-docker-build-push-latest
5353
- name: Build and push bsc-reth image

crates/blockchain-tree/src/chain.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,15 @@ impl AppendableChain {
209209
let block_hash = block.hash();
210210
let block = block.unseal();
211211

212+
let start = Instant::now();
212213
let state = executor.execute((&block, U256::MAX).into())?;
214+
tracing::debug!(
215+
target: "blockchain_tree::chain",
216+
number = block.number,
217+
hash = %block_hash,
218+
elapsed = ?start.elapsed(),
219+
"Test info: executed block"
220+
);
213221
let BlockExecutionOutput { state, receipts, requests, .. } = state;
214222
externals
215223
.consensus

0 commit comments

Comments
 (0)