wip
This commit is contained in:
parent
01b5d1bebb
commit
6cc2b19ea7
|
@ -3,6 +3,9 @@
|
|||
version=3
|
||||
oldVersion=$((version - 1))
|
||||
|
||||
echo "version=${version}"
|
||||
echo "oldVersion=${oldVersion}"
|
||||
|
||||
rm extkeys/go.sum
|
||||
rm extkeys/go.mod
|
||||
rm exchanges/go.sum
|
||||
|
@ -11,6 +14,8 @@ rm exchanges/go.mod
|
|||
sed -i '' "s|github.com/status-im/status-go/v${oldVersion}|github.com/status-im/status-go/v${version}|g" cmd/generate_handlers/generate_handlers_template.txt
|
||||
sed -i '' "s|github.com/status-im/status-go/v${oldVersion}|github.com/status-im/status-go/v${version}|g" cmd/status-backend/server/parse-api/endpoints_template.txt
|
||||
|
||||
#make generate
|
||||
|
||||
mod upgrade -tag ${version}
|
||||
|
||||
find . -name "*.go" -exec sed -i '' "s/\/v${version}\/v${version}/\/v${version}/g" {} +
|
|
@ -5,15 +5,15 @@
|
|||
package protocol
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"errors"
|
||||
|
||||
"github.com/golang/protobuf/proto"
|
||||
"go.uber.org/zap"
|
||||
|
||||
"github.com/status-im/status-go/protocol/v2/common"
|
||||
"github.com/status-im/status-go/protocol/v2/protobuf"
|
||||
"github.com/status-im/status-go/protocol/v2/transport"
|
||||
v1protocol "github.com/status-im/status-go/v3/protocol/v1"
|
||||
"github.com/status-im/status-go/v2/protocol/common"
|
||||
"github.com/status-im/status-go/v2/protocol/protobuf"
|
||||
"github.com/status-im/status-go/v2/protocol/transport"
|
||||
v1protocol "github.com/status-im/status-go/v2/protocol/v1"
|
||||
)
|
||||
|
||||
func (m *Messenger) dispatchToHandler(messageState *ReceivedMessageState, protoBytes []byte, msg *v1protocol.StatusMessage, filter transport.Filter, fromArchive bool) error {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
package server
|
||||
|
||||
import statusgo "github.com/status-im/status-go/v3/mobile"
|
||||
import statusgo "github.com/status-im/status-go/v2/mobile"
|
||||
|
||||
var EndpointsWithRequest = map[string]func(string) string{
|
||||
{{- range .FunctionsWithResp }}
|
||||
|
|
Loading…
Reference in New Issue