wip
This commit is contained in:
parent
7ee45bab1c
commit
01b5d1bebb
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
version=3
|
||||
oldVersion=$((version - 1))
|
||||
|
||||
rm extkeys/go.sum
|
||||
rm extkeys/go.mod
|
||||
rm exchanges/go.sum
|
||||
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
|
||||
|
||||
mod upgrade -tag ${version}
|
||||
|
||||
find . -name "*.go" -exec sed -i '' "s/\/v${version}\/v${version}/\/v${version}/g" {} +
|
|
@ -10,10 +10,10 @@ import (
|
|||
"github.com/golang/protobuf/proto"
|
||||
"go.uber.org/zap"
|
||||
|
||||
"github.com/status-im/status-go/protocol/common"
|
||||
"github.com/status-im/status-go/protocol/protobuf"
|
||||
"github.com/status-im/status-go/protocol/transport"
|
||||
v1protocol "github.com/status-im/status-go/protocol/v1"
|
||||
"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"
|
||||
)
|
||||
|
||||
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/mobile"
|
||||
import statusgo "github.com/status-im/status-go/v3/mobile"
|
||||
|
||||
var EndpointsWithRequest = map[string]func(string) string{
|
||||
{{- range .FunctionsWithResp }}
|
||||
|
|
Loading…
Reference in New Issue