Skip to content

Commit a0295e1

Browse files
modify for test
1 parent bc7e823 commit a0295e1

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

.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
@@ -237,7 +237,15 @@ impl AppendableChain {
237237
});
238238
}
239239

240+
let start = Instant::now();
240241
let state = executor.execute((&block, U256::MAX).into())?;
242+
tracing::debug!(
243+
target: "blockchain_tree::chain",
244+
number = block.number,
245+
hash = %block_hash,
246+
elapsed = ?start.elapsed(),
247+
"Test info: executed block"
248+
);
241249
let BlockExecutionOutput { state, receipts, requests, .. } = state;
242250
externals
243251
.consensus

0 commit comments

Comments
 (0)