Skip to content

Commit 6f3ec34

Browse files
authored
Merge branch 'main' into marko/grpc_execution
2 parents 0db423e + 56da391 commit 6f3ec34

File tree

18 files changed

+71
-63
lines changed

18 files changed

+71
-63
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
build-ev-node-image:
13-
name: Build Rollkit Docker Image
13+
name: Build ev-node Docker Image
1414
# skip building images for merge groups as they are already built on PRs and main
1515
if: github.event_name != 'merge_group'
1616
runs-on: ubuntu-latest
@@ -36,7 +36,7 @@ jobs:
3636
context: .
3737
push: true
3838
platforms: linux/amd64,linux/arm64
39-
tags: ghcr.io/${{ github.repository_owner }}/evstack:${{ inputs.image-tag }}
39+
tags: ghcr.io/${{ github.repository_owner }}/ev-node:${{ inputs.image-tag }}
4040

4141
build-ev-node-evm-single-image:
4242
name: Build ev-node EVM Single Docker Image

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ Ev-node is the basis of the Evolve Stack. For more in-depth information about Ev
88
[![GoDoc](https://godoc.org/github.com/evstack/ev-node?status.svg)](https://godoc.org/github.com/evstack/ev-node)
99
<!-- markdownlint-enable MD013 -->
1010

11-
## Using Rollkit
11+
## Using Evolve
1212

1313
### Example Implementation: TestApp CLI
1414

15-
The easiest way to understand how to use Rollkit is by exploring our example implementation, TestApp.
15+
The easiest way to understand how to use Evolve is by exploring our example implementation, TestApp.
1616

1717
Requires Go version >= 1.22.
1818

19-
TestApp is a CLI tool that demonstrates how to run different kinds of nodes using the Rollkit framework.
20-
It serves as a reference implementation and helps you understand how to build your own Rollkit-based blockchain.
19+
TestApp is a CLI tool that demonstrates how to run different kinds of nodes using the Evolve framework.
20+
It serves as a reference implementation and helps you understand how to build your own Evolve-based blockchain.
2121

2222
#### Install
2323

@@ -36,17 +36,17 @@ testapp version
3636

3737
#### Quick Start
3838

39-
You can spin up a local TestApp network (powered by Rollkit) with the following command:
39+
You can spin up a local TestApp network (powered by Evolve) with the following command:
4040

4141
```bash
4242
testapp start
4343
```
4444

45-
## Building with Rollkit
45+
## Building with Evolve
4646

47-
Rollkit is the first sovereign application framework that allows you to launch
47+
Evolve is the first sovereign application framework that allows you to launch
4848
a sovereign, customizable blockchain as easily as a smart contract.
49-
TestApp serves as a reference implementation to help you get started with your own Rollkit-based blockchain.
49+
TestApp serves as a reference implementation to help you get started with your own Evolve-based blockchain.
5050

5151
Check out our tutorials on our [website][docs].
5252

apps/evm/single/docker-compose.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
version: "3.8"
1+
name: "Evolve EVM"
22

33
services:
4-
rollkit-reth:
5-
container_name: rollkit-reth
4+
ev-reth:
5+
container_name: ev-reth
66
restart: unless-stopped
7-
image: ghcr.io/evstack/lumen:latest
7+
image: ghcr.io/evstack/ev-reth:latest
88
ports:
99
- "9001:9001" # metrics
1010
- "30303:30303" # eth/66 peering
@@ -18,7 +18,7 @@ services:
1818
entrypoint: /bin/sh -c
1919
command:
2020
- |
21-
lumen node \
21+
ev-reth node \
2222
--chain /root/chain/genesis.json \
2323
--datadir /home/reth/eth-home \
2424
--metrics 0.0.0.0:9001 \
@@ -39,22 +39,22 @@ services:
3939
--txpool.max-account-slots 2048 \
4040
--txpool.max-new-txns 2048 \
4141
--txpool.additional-validation-tasks 16 \
42-
--rollkit.enable
42+
--ev-reth.enable
4343
networks:
44-
- rollkit-network
44+
- evolve-network
4545

4646
local-da:
47-
image: ghcr.io/rollkit/local-da:v0.1.0
47+
image: ghcr.io/evstack/local-da:v0.1.0
4848
ports:
4949
- "7980:7980"
5050
command: ["-listen-all"]
5151
networks:
52-
- rollkit-network
52+
- evolve-network
5353

54-
rollkit-evm-single:
54+
ev-node-evm-single:
5555
image: ghcr.io/evstack/ev-node-evm-single:main
5656
depends_on:
57-
rollkit-reth:
57+
ev-reth:
5858
condition: service_started
5959
local-da:
6060
condition: service_started
@@ -64,8 +64,8 @@ services:
6464
entrypoint: /usr/bin/entrypoint.sh
6565
command: start
6666
environment:
67-
- EVM_ENGINE_URL=http://rollkit-reth:8551
68-
- EVM_ETH_URL=http://rollkit-reth:8545
67+
- EVM_ENGINE_URL=http://ev-reth:8551
68+
- EVM_ETH_URL=http://ev-reth:8545
6969
- EVM_JWT_SECRET=f747494bb0fb338a0d71f5f9fe5b5034c17cc988c229b59fd71e005ee692e9bf
7070
- EVM_GENESIS_HASH=0x2b8bbb1ea1e04f9c9809b4b278a8687806edc061a356c7dbc491930d8e922503
7171
- EVM_BLOCK_TIME=1s
@@ -74,14 +74,14 @@ services:
7474
# - DA_AUTH_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJwdWJsaWMiLCJyZWFkIiwid3JpdGUiXSwiTm9uY2UiOiJQcEswTmhyWi9IY05NWkVtUG9sSXNpRTRDcUpMdE9mbWtBMW0zMWFUaEswPSIsIkV4cGlyZXNBdCI6IjAwMDEtMDEtMDFUMDA6MDA6MDBaIn0.gaWh6tS6Rel1XFYclDkapNnZlaZVjrikCRNBxSDkCGk
7575
# - DA_NAMESPACE=00000000000000000000000000000000000000000008e5f679bf7116c1
7676
networks:
77-
- rollkit-network
77+
- evolve-network
7878

7979
volumes:
8080
evm-single-data:
8181
reth:
8282

8383
networks:
84-
rollkit-network:
84+
evolve-network:
8585
driver: bridge
8686
ipam:
8787
config:

block/aggregation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func (m *Manager) AggregationLoop(ctx context.Context, errCh chan<- error) {
2424
}
2525

2626
if delay > 0 {
27-
m.logger.Info("waiting to produce block", "delay", delay)
27+
m.logger.Info("waiting to produce block, delay:", delay)
2828
time.Sleep(delay)
2929
}
3030

block/aggregation_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func TestAggregationLoop_Normal_BasicInterval(t *testing.T) {
8686
m.logger.Info("AggregationLoop exited")
8787
}()
8888

89-
m.logger.Info("Waiting for blocks...", "duration", waitTime)
89+
m.logger.Info("Waiting for blocks..., duration:", waitTime)
9090
time.Sleep(waitTime)
9191

9292
m.logger.Info("Cancelling context")
@@ -98,7 +98,7 @@ func TestAggregationLoop_Normal_BasicInterval(t *testing.T) {
9898
publishLock.Lock()
9999
defer publishLock.Unlock()
100100

101-
m.logger.Info("Recorded publish times", "count", len(publishTimes), "times", publishTimes)
101+
m.logger.Info("Recorded publish times, count:", len(publishTimes), "times:", publishTimes)
102102

103103
expectedCallsLow := int(waitTime/blockTime) - 1
104104
expectedCallsHigh := int(waitTime/blockTime) + 1

block/manager.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ func (m *Manager) publishBlockInternal(ctx context.Context) error {
656656
m.logger.Info("no batch retrieved from sequencer, skipping block production")
657657
return nil
658658
}
659-
m.logger.Debug("creating empty block, height: ", newHeight)
659+
m.logger.Info("creating empty block, height: ", newHeight)
660660
} else {
661661
m.logger.Warn("failed to get transactions from batch", "error", err)
662662
return nil
@@ -665,8 +665,7 @@ func (m *Manager) publishBlockInternal(ctx context.Context) error {
665665
if batchData.Before(lastHeaderTime) {
666666
return fmt.Errorf("timestamp is not monotonically increasing: %s < %s", batchData.Time, m.getLastBlockTime())
667667
}
668-
m.logger.Info("creating and publishing block", "height", newHeight)
669-
m.logger.Debug("block info", "num_tx", len(batchData.Transactions))
668+
m.logger.Info("creating and publishing block", "height", newHeight, "num_tx", len(batchData.Transactions))
670669
}
671670

672671
header, data, err = m.createBlock(ctx, newHeight, lastSignature, lastHeaderHash, batchData)

block/reaper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (r *Reaper) Start(ctx context.Context) {
5555
ticker := time.NewTicker(r.interval)
5656
defer ticker.Stop()
5757

58-
r.logger.Info("Reaper started", "interval", r.interval)
58+
r.logger.Info("Reaper started, interval:", r.interval)
5959

6060
for {
6161
select {

block/submitter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func submitToDA[T any](
125125
// Record successful DA submission
126126
m.recordDAMetrics("submission", DAModeSuccess)
127127

128-
m.logger.Info(fmt.Sprintf("successfully submitted %s to DA layer", itemType), "gasPrice", gasPrice, "count", res.SubmittedCount)
128+
m.logger.Info(fmt.Sprintf("successfully submitted %s to DA layer with gasPrice %v and count %d", itemType, gasPrice, res.SubmittedCount))
129129
if res.SubmittedCount == uint64(remLen) {
130130
submittedAll = true
131131
}

docs/adr/adr-021-lazy-aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Leverage the existing empty batch mechanism and `dataHashForEmptyTxs` to maintai
6565
m.logger.Info("No batch retrieved from sequencer, skipping block production")
6666
return nil
6767
}
68-
m.logger.Info("Creating empty block. height", newHeight)
68+
m.logger.Info("Creating empty block, height: ", newHeight)
6969
} else {
7070
return fmt.Errorf("failed to get transactions from batch: %w", err)
7171
}

execution/evm/docker/docker-compose-full-node.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "rollkit-reth-full-node"
1+
name: "ev-reth-full-node"
22

33
services:
44
jwt-init-full-node:
@@ -18,10 +18,10 @@ services:
1818
openssl rand -hex 32 | tr -d '\n' > /jwt/jwt.hex;
1919
fi"
2020
21-
ev-node-reth-full-node:
22-
container_name: rollkit-reth-full-node
21+
ev-reth-full-node:
22+
container_name: ev-reth-full-node
2323
restart: unless-stopped
24-
image: ghcr.io/evstack/lumen:latest
24+
image: ghcr.io/evstack/ev-reth:latest
2525
depends_on:
2626
jwt-init-full-node:
2727
condition: service_completed_successfully
@@ -36,11 +36,11 @@ services:
3636
- ./jwttoken:/root/jwt:ro
3737
- reth:/home/reth/eth-home
3838
environment:
39-
- RUST_LOG=warn,lumen_rollkit=info
39+
- RUST_LOG=info
4040
entrypoint: /bin/sh -c
4141
command:
4242
- |
43-
lumen node \
43+
ev-reth node \
4444
--chain /root/chain/genesis.json \
4545
--datadir /home/reth/eth-home \
4646
--metrics 0.0.0.0:9001 \
@@ -61,7 +61,7 @@ services:
6161
--txpool.max-account-slots 2048 \
6262
--txpool.max-new-txns 2048 \
6363
--txpool.additional-validation-tasks 16 \
64-
--rollkit.enable
64+
--ev-reth.enable
6565
6666
volumes:
6767
reth:

0 commit comments

Comments
 (0)