Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ with-expecter: true
packages:
github.com/rollkit/go-execution:
interfaces:
Execute:
Executor:
config:
dir: mocks
outpkg: mocks
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ proto-lint: check-proto-deps
.PHONY: proto-lint

## mock-gen: Re-generates DA mock
mock-gen: mocks/Execute.go
mock-gen: mocks/mock_Executor.go
.PHONY: mock-gen

mocks/Execute.go: execution.go .mockery.yaml
mocks/mock_Executor.go: execution.go .mockery.yaml
@mockery
4 changes: 2 additions & 2 deletions execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/rollkit/go-execution/types"
)

// Execute defines a common interface for interacting with the execution client.
type Execute interface {
// Executor defines a common interface for interacting with the execution client.
type Executor interface {
// InitChain initializes the blockchain with genesis information.
InitChain(
genesisTime time.Time,
Expand Down
276 changes: 0 additions & 276 deletions mocks/mock_Execute.go

This file was deleted.

Loading