Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: initial draft of single-sequencer EVM rollup binary
  • Loading branch information
tzdybal committed Apr 16, 2025
commit a59097fb99c246c8281c51468d785d5479451305
2 changes: 1 addition & 1 deletion block/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ func (m *Manager) publishBlock(ctx context.Context) error {
}

m.logger.Debug("Submitting transaction to sequencer",
"txCount", len(execTxs))
"txCount", len(execTxs), "rollupId", m.genesis.ChainID)
_, err = m.sequencer.SubmitRollupBatchTxs(ctx, coresequencer.SubmitRollupBatchTxsRequest{
RollupId: sequencing.RollupId(m.genesis.ChainID),
Batch: &coresequencer.Batch{Transactions: execTxs},
Expand Down
3 changes: 0 additions & 3 deletions rollups/evm/centralized/go.mod

This file was deleted.

29 changes: 29 additions & 0 deletions rollups/evm/single/cmd/commands/root.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package commands

import (
"github.com/spf13/cobra"

rollkitconfig "github.com/rollkit/rollkit/pkg/config"
)

func init() {
registerFlagsRootCmd(RootCmd)
}

// registerFlagsRootCmd registers the flags for the root command
func registerFlagsRootCmd(cmd *cobra.Command) {
cmd.PersistentFlags().String("log_level", rollkitconfig.DefaultLogLevel, "set the log level; default is info. other options include debug, info, error, none")
cmd.PersistentFlags().String("log_format", "plain", "set the log format; options include plain and json")
cmd.PersistentFlags().Bool("trace", false, "print out full stack trace on errors")
}

// RootCmd is the root command for Rollkit
var RootCmd = &cobra.Command{
Use: "rollkit",
Short: "The first sovereign rollup framework that allows you to launch a sovereign, customizable blockchain as easily as a smart contract.",
Long: `
Rollkit is the first sovereign rollup framework that allows you to launch a sovereign, customizable blockchain as easily as a smart contract.
The rollkit-cli uses the environment variable "RKHOME" to point to a file path where the node keys, config, and data will be stored.
If a path is not specified for RKHOME, the rollkit command will create a folder "~/.rollkit" where it will store said data.
`,
}
Loading