diff --git a/p2p/proto/snapshot.proto b/p2p/proto/snapshot.proto index acab828..d812ac4 100644 --- a/p2p/proto/snapshot.proto +++ b/p2p/proto/snapshot.proto @@ -1,7 +1,7 @@ syntax = "proto3"; import "p2p/proto/common.proto"; -import "p2p/proto/state.proto"; +import "p2p/proto/sync/state.proto"; import "p2p/proto/class.proto"; option go_package = "github.com/starknet-io/starknet-p2pspecs/p2p/proto/snapshot"; diff --git a/p2p/proto/state.proto b/p2p/proto/sync/state.proto similarity index 98% rename from p2p/proto/state.proto rename to p2p/proto/sync/state.proto index 9ba217c..9eb14e2 100644 --- a/p2p/proto/state.proto +++ b/p2p/proto/sync/state.proto @@ -2,7 +2,7 @@ syntax = "proto3"; import "p2p/proto/common.proto"; import "p2p/proto/sync/common.proto"; -option go_package = "github.com/starknet-io/starknet-p2pspecs/p2p/proto/state"; +option go_package = "github.com/starknet-io/starknet-p2pspecs/p2p/proto/sync/state"; // optimized for flat storage, not through a trie (not sharing key prefixes)