Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(core): core review (1/n) #21193

Merged
merged 3 commits into from
Aug 7, 2024
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 core/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type QueryResponse struct {
Value []byte
}

type BlockRequest[T any] struct {
type BlockRequest[T transaction.Tx] struct {
Height uint64
Time time.Time
Hash []byte
Expand Down
23 changes: 0 additions & 23 deletions core/store/database.go

This file was deleted.

2 changes: 2 additions & 0 deletions core/store/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ type MemoryStoreService interface {
// TransientStoreService represents a unique, non-forgeable handle to a memory-backed
// KVStore which is reset at the start of every block. It should be provided as
// a module-scoped dependency by the runtime module being used to build the app.
// WARNING: This service is not available in server/v2 apps. Store/v2 does not support
// transient stores.
type TransientStoreService interface {
// OpenTransientStore retrieves the transient store from the context.
OpenTransientStore(context.Context) KVStore
Expand Down
Loading