Skip to content

Commit adb89fb

Browse files
committed
feat(cli): change default block to latest
1 parent 5f28484 commit adb89fb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/spicy-bananas-hope.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cartesi/cli": major
3+
---
4+
5+
change default block to 'latest'

apps/cli/src/commands/rollups/start.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const createStartCommand = () => {
156156
"default block to be used when fetching new blocks.",
157157
)
158158
.choices(["latest", "safe", "pending", "finalized"])
159-
.default("finalized"),
159+
.default("latest"),
160160
)
161161
.addOption(
162162
new Option(

0 commit comments

Comments
 (0)