Skip to content

Commit 529dc69

Browse files
test: add test log
1 parent 74948d9 commit 529dc69

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-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/bsc/evm/src/execute.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ where
210210
}
211211
})?;
212212

213+
debug!("test: tx {:?} result {:?} state {:?}", transaction.recalculate_hash(), result, state);
214+
213215
evm.db_mut().commit(state);
214216

215217
self.patch_mainnet_after_tx(transaction, evm.db_mut());

crates/bsc/evm/src/post_execution.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ where
315315
BscBlockExecutionError::ProviderInnerError { error: Box::new(err.into()) }
316316
})?;
317317

318+
debug!("test: system account status: {:?}", system_account.status);
319+
318320
if system_account.account.is_none() ||
319321
system_account.account.as_ref().unwrap().info.balance == U256::ZERO
320322
{

crates/stages/stages/src/stages/execution.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ where
329329
let time = Instant::now();
330330
let ExecutionOutcome { bundle, receipts, requests, first_block, snapshots } =
331331
executor.finalize();
332+
333+
debug!("test: bundle state {:?}", bundle);
334+
332335
let state = ExecutionOutcome::new_with_snapshots(
333336
bundle,
334337
receipts,

0 commit comments

Comments
 (0)