Skip to content

Commit

Permalink
Merge v0.0.8 into develop (0xPolygonHermez#2077)
Browse files Browse the repository at this point in the history
  • Loading branch information
tclemos authored May 4, 2023
1 parent 146b3f0 commit 0b88165
Show file tree
Hide file tree
Showing 12 changed files with 693 additions and 483 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
go-version: [ 1.19.x ]
goarch: [ "amd64" ]
e2e-group: [ 1, 2, 3, 4, 5, 6, 7 ]
e2e-group: [ 1, 2, 3, 4, 5, 6, 7, 8 ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ run:
skip-dirs:
- state/runtime/fakevm
- state/runtime/instrumentation
- test
- ci

linters:
enable:
Expand Down
1 change: 1 addition & 0 deletions ci/e2e-group5/debug_shared.go
1 change: 1 addition & 0 deletions ci/e2e-group8/debug_calltracer_test.go
1 change: 1 addition & 0 deletions ci/e2e-group8/debug_shared.go
1 change: 1 addition & 0 deletions ci/e2e-group8/shared.go
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ services:
zkevm-prover:
container_name: zkevm-prover
restart: unless-stopped
image: hermeznetwork/zkevm-prover:b6fe2db
image: hermeznetwork/zkevm-prover:c231382
depends_on:
zkevm-state-db:
condition: service_healthy
Expand Down
4 changes: 2 additions & 2 deletions jsonrpc/endpoints_debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type traceTransactionResponse struct {
}

type traceBlockTransactionResponse struct {
Result traceTransactionResponse `json:"result"`
Result interface{} `json:"result"`
}

// TraceTransaction creates a response for debug_traceTransaction request.
Expand Down Expand Up @@ -127,7 +127,7 @@ func (d *DebugEndpoints) buildTraceBlock(ctx context.Context, txs []*ethTypes.Tr
return rpcErrorResponse(types.DefaultErrorCode, errMsg, err)
}
traceBlockTransaction := traceBlockTransactionResponse{
Result: traceTransaction.(traceTransactionResponse),
Result: traceTransaction,
}
traces = append(traces, traceBlockTransaction)
}
Expand Down
11 changes: 11 additions & 0 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,17 @@ test-e2e-group-7: stop ## Runs group 7 e2e tests checking race conditions
docker logs $(DOCKERCOMPOSEZKPROVER)
trap '$(STOP)' EXIT; MallocNanoZone=0 go test -count=1 -race -v -p 1 -timeout 600s ../ci/e2e-group7/...

.PHONY: test-e2e-group-8
test-e2e-group-8: stop ## Runs group 8 e2e tests checking race conditions
$(RUNSTATEDB)
$(RUNPOOLDB)
$(RUNEVENTDB)
sleep 5
$(RUNZKPROVER)
docker ps -a
docker logs $(DOCKERCOMPOSEZKPROVER)
trap '$(STOP)' EXIT; MallocNanoZone=0 go test -count=1 -race -v -p 1 -timeout 600s ../ci/e2e-group8/...

.PHONY: benchmark-sequencer-eth-transfers
benchmark-sequencer-eth-transfers: stop
$(RUNL1NETWORK)
Expand Down
Loading

0 comments on commit 0b88165

Please sign in to comment.