Migrate from GitHub to git.marketally.com
Update all module paths and import statements from github.com/tutus-one to git.marketally.com/tutus-one for self-hosted Git server migration. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
b63db20f34
commit
a63b3dcb70
|
|
@ -5,13 +5,13 @@ import (
|
|||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/query"
|
||||
"github.com/tutus-one/tutus-chain/cli/server"
|
||||
"github.com/tutus-one/tutus-chain/cli/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/cli/util"
|
||||
"github.com/tutus-one/tutus-chain/cli/vm"
|
||||
"github.com/tutus-one/tutus-chain/cli/wallet"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/query"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/server"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/vm"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ package app_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/internal/versionutil"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/versionutil"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
)
|
||||
|
||||
func TestCLIVersion(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/random"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/random"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ import (
|
|||
"io"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/random"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/random"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"flag"
|
||||
"strings"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"io"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import (
|
|||
"os"
|
||||
"syscall"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"golang.org/x/term"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/app"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/app"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
|
|
@ -14,15 +14,15 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/internal/versionutil"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/versionutil"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -10,13 +10,13 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import (
|
|||
"flag"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/app"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/app"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -15,20 +15,20 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/input"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
|
||||
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/input"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/io"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/nspcc-dev/neofs-sdk-go/pool"
|
||||
"github.com/nspcc-dev/neofs-sdk-go/user"
|
||||
"github.com/urfave/cli/v2"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/urfave/cli/v2"
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/context"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/context"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
)
|
||||
|
||||
// InitAndSave creates an incompletely signed transaction which can be used
|
||||
|
|
|
|||
|
|
@ -10,19 +10,19 @@ import (
|
|||
"strings"
|
||||
"text/tabwriter"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/tutus"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/tutus"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,25 +11,25 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/random"
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/notary"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/random"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/notary"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ import (
|
|||
"strconv"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"github.com/stretchr/testify/require"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/server"
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/server"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"github.com/stretchr/testify/require"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage/dboper"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage/dboper"
|
||||
)
|
||||
|
||||
type dump []blockDump
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/block"
|
||||
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/block"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/io"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ import (
|
|||
"strconv"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"github.com/stretchr/testify/require"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -12,24 +12,24 @@ import (
|
|||
"slices"
|
||||
"syscall"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"github.com/tutus-one/tutus-chain/pkg/consensus"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/block"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/chaindump"
|
||||
corestate "github.com/tutus-one/tutus-chain/pkg/core/stateroot"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||
"github.com/tutus-one/tutus-chain/pkg/network"
|
||||
"github.com/tutus-one/tutus-chain/pkg/services/metrics"
|
||||
"github.com/tutus-one/tutus-chain/pkg/services/notary"
|
||||
"github.com/tutus-one/tutus-chain/pkg/services/oracle"
|
||||
"github.com/tutus-one/tutus-chain/pkg/services/rpcsrv"
|
||||
"github.com/tutus-one/tutus-chain/pkg/services/stateroot"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/consensus"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/block"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/chaindump"
|
||||
corestate "git.marketally.com/tutus-one/tutus-chain/pkg/core/stateroot"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/io"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/network"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/services/metrics"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/services/notary"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/services/oracle"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/services/rpcsrv"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/services/stateroot"
|
||||
"github.com/urfave/cli/v2"
|
||||
"go.uber.org/zap"
|
||||
"go.uber.org/zap/zapcore"
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@ import (
|
|||
|
||||
"go.uber.org/zap/zapcore"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/urfave/cli/v2"
|
||||
"gopkg.in/yaml.v3"
|
||||
|
|
|
|||
|
|
@ -12,26 +12,26 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/internal/random"
|
||||
"github.com/tutus-one/tutus-chain/internal/testchain"
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/internal/versionutil"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/interop/storage"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/random"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testchain"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/versionutil"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/interop/storage"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/stretchr/testify/require"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
@ -117,7 +117,7 @@ func TestContractBindings(t *testing.T) {
|
|||
srcPath := filepath.Join(ctrPath, "main.go")
|
||||
require.NoError(t, os.WriteFile(srcPath, []byte(`package testcontract
|
||||
import(
|
||||
alias "github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
alias "git.marketally.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
)
|
||||
type MyPair struct {
|
||||
Key int
|
||||
|
|
@ -174,9 +174,9 @@ func Blocks() []*alias.Block {
|
|||
package testcontract
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/tutusinternal"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/tutusinternal"
|
||||
"myimport.com/testcontract"
|
||||
)
|
||||
|
||||
|
|
@ -227,7 +227,7 @@ func updateGoMod(dir, moduleName, neoGoPath string) error {
|
|||
}
|
||||
|
||||
replacementPath := filepath.Join(wd, neoGoPath)
|
||||
updatedData = append(updatedData, "\nreplace github.com/tutus-one/tutus-chain/pkg/interop => "+replacementPath+" \n"...)
|
||||
updatedData = append(updatedData, "\nreplace git.marketally.com/tutus-one/tutus-chain/pkg/interop => "+replacementPath+" \n"...)
|
||||
|
||||
if err := os.WriteFile(goModPath, updatedData, os.ModePerm); err != nil {
|
||||
return fmt.Errorf("failed to write updated go.mod: %w", err)
|
||||
|
|
@ -250,7 +250,7 @@ func TestDynamicWrapper(t *testing.T) {
|
|||
helperContract := `package testcontract
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
verify "myimport.com/testcontract/bindings"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ import (
|
|||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/binding"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/rpcbinding"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/binding"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/rpcbinding"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/urfave/cli/v2"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
@ -157,12 +157,12 @@ package wrapper
|
|||
|
||||
import (
|
||||
"github.com/heyitsme/mycontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/tutusinternal"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/tutusinternal"
|
||||
)
|
||||
|
||||
// Hash contains contract hash in big-endian form.
|
||||
|
|
@ -245,11 +245,11 @@ package wrapper
|
|||
|
||||
import (
|
||||
"github.com/heyitsme/mycontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
)
|
||||
|
||||
// Contract represents the MyContract smart contract.
|
||||
|
|
@ -364,8 +364,8 @@ func TestGenerateValidPackageName(t *testing.T) {
|
|||
package myspacecontract
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/tutusinternal"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/tutusinternal"
|
||||
)
|
||||
|
||||
// Hash contains contract hash in big-endian form.
|
||||
|
|
@ -390,9 +390,9 @@ func Get() int {
|
|||
package myspacecontract
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
package nft
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
)
|
||||
|
||||
// NEP22Contract is an alias for nep22.Contract.
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
package nft
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
)
|
||||
|
||||
// Hash contains contract hash.
|
||||
|
|
|
|||
|
|
@ -6,14 +6,14 @@ package nft
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,14 +6,14 @@ package nft
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep22"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep24"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep31"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ package structs
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ package structs
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@ package structs
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
package royalty
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
package royalty
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ import (
|
|||
"crypto/elliptic"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ import (
|
|||
"crypto/elliptic"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ package types
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ package types
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ package verify
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
)
|
||||
|
||||
// Hash contains contract hash.
|
||||
|
|
|
|||
|
|
@ -9,24 +9,24 @@ import (
|
|||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"github.com/tutus-one/tutus-chain/pkg/compiler"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/management"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/binding"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/compiler"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/invoker"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/management"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/binding"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/urfave/cli/v2"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
@ -72,7 +72,7 @@ const (
|
|||
// %s is parsed to be the smartContractName.
|
||||
smartContractTmpl = `package %s
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
|
||||
var notificationName string
|
||||
|
||||
|
|
@ -452,7 +452,7 @@ func initSmartContract(ctx *cli.Context) error {
|
|||
go 1.24
|
||||
|
||||
require (
|
||||
github.com/tutus-one/tutus-chain/pkg/interop ` + ver + `
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop ` + ver + `
|
||||
)`)
|
||||
if err := os.WriteFile(filepath.Join(basePath, "go.mod"), gm, 0644); err != nil {
|
||||
return cli.Exit(err, 1)
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/random"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/random"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/urfave/cli/v2"
|
||||
"gopkg.in/yaml.v3"
|
||||
|
|
@ -40,7 +40,7 @@ func TestInitSmartContract(t *testing.T) {
|
|||
require.Equal(t,
|
||||
`package `+contractName+`
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
|
||||
var notificationName string
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
package deploy
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/cli/smartcontract/testdata/deploy/sub"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/smartcontract/testdata/deploy/sub"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/contract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
)
|
||||
|
||||
var key = "key"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package sub
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
|
||||
var Key = "sub"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
package lub
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
)
|
||||
|
||||
// Hash contains contract hash.
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
package invalid1
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
)
|
||||
|
||||
// Notify1 emits a correctly typed event.
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
package invalid2
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
)
|
||||
|
||||
// Notify1 emits a correctly typed event.
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
package invalid3
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
)
|
||||
|
||||
// Notify1 emits a correctly typed event.
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"github.com/google/uuid"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
"unicode/utf8"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@ package nextoken
|
|||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ package nonnepxxcontractwithiterators
|
|||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/unwrap"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
)
|
||||
|
||||
// Hash contains contract hash.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package invalid1
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
|
||||
func Main() {
|
||||
runtime.Notify("Non declared event")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package invalid2
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
|
||||
func Main() {
|
||||
runtime.Notify("SomeEvent", "p1", "p2")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package invalid3
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
|
||||
func Main() {
|
||||
runtime.Notify("SomeEvent", "p1", 5)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package invalid4
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
|
||||
type SomeStruct1 struct {
|
||||
Field1 int
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package invalid5
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
|
||||
type NamedStruct struct {
|
||||
SomeInt int
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package invalid6
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
|
||||
type SomeStruct struct {
|
||||
Field int
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package invalid7
|
||||
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
|
||||
type SomeStruct struct {
|
||||
Field int
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
package structs
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
)
|
||||
|
||||
func Main() {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package royalty
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/native/std"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/native/std"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
)
|
||||
|
||||
// RoyaltiesTransferred notifies about royalty payment. This method is called by marketplace
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package structs
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/native/management"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/native/ledger"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/native/management"
|
||||
)
|
||||
|
||||
type Internal struct {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package types
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
)
|
||||
|
||||
func Bool(b bool) bool {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
package testdata
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
)
|
||||
|
||||
func Verify() bool {
|
||||
|
|
|
|||
|
|
@ -8,14 +8,14 @@ import (
|
|||
"io"
|
||||
"time"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/input"
|
||||
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/input"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/block"
|
||||
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/block"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/io"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/nspcc-dev/neofs-sdk-go/client"
|
||||
cid "github.com/nspcc-dev/neofs-sdk-go/container/id"
|
||||
"github.com/nspcc-dev/neofs-sdk-go/object"
|
||||
|
|
|
|||
|
|
@ -5,17 +5,17 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/opcode"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/opcode"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||
vmcli "github.com/tutus-one/tutus-chain/cli/vm"
|
||||
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/txctx"
|
||||
vmcli "git.marketally.com/tutus-one/tutus-chain/cli/vm"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"github.com/tutus-one/tutus-chain/cli/query"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/query"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@ package util
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/block"
|
||||
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/block"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/io"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||
"github.com/nspcc-dev/neofs-sdk-go/client"
|
||||
"github.com/nspcc-dev/neofs-sdk-go/container"
|
||||
cid "github.com/nspcc-dev/neofs-sdk-go/container/id"
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ import (
|
|||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/server"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core"
|
||||
gio "github.com/tutus-one/tutus-chain/pkg/io"
|
||||
"github.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/server"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core"
|
||||
gio "git.marketally.com/tutus-one/tutus-chain/pkg/io"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/services/helpers/neofs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/nspcc-dev/neofs-sdk-go/client"
|
||||
"github.com/nspcc-dev/neofs-sdk-go/object"
|
||||
"github.com/urfave/cli/v2"
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -19,31 +19,31 @@ import (
|
|||
|
||||
"github.com/chzyer/readline"
|
||||
"github.com/kballard/go-shellquote"
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"github.com/tutus-one/tutus-chain/pkg/compiler"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/interop/runtime"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/native"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/bigint"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/callflag"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/compiler"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/native"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/bigint"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/callflag"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/nef"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/trigger"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"github.com/urfave/cli/v2"
|
||||
"go.uber.org/zap"
|
||||
"go.uber.org/zap/zapcore"
|
||||
|
|
|
|||
|
|
@ -19,29 +19,29 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/chzyer/readline"
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"github.com/tutus-one/tutus-chain/internal/basicchain"
|
||||
"github.com/tutus-one/tutus-chain/internal/random"
|
||||
"github.com/tutus-one/tutus-chain/internal/versionutil"
|
||||
"github.com/tutus-one/tutus-chain/pkg/compiler"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/interop/interopnames"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage/dboper"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/io"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutustest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutustest/chain"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/callflag"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/emit"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/opcode"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/basicchain"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/random"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/versionutil"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/compiler"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config/netmode"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/interop/interopnames"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage/dboper"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/io"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutustest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutustest/chain"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/callflag"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/emit"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/opcode"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
@ -374,9 +374,9 @@ func prepareLoadgoSrc(t *testing.T, tmpDir, src string) string {
|
|||
require.NoError(t, err)
|
||||
goMod := []byte(`module test.example/kek
|
||||
require (
|
||||
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
)
|
||||
replace github.com/tutus-one/tutus-chain/pkg/interop => ` + filepath.Join(wd, "../../pkg/interop") + `
|
||||
replace git.marketally.com/tutus-one/tutus-chain/pkg/interop => ` + filepath.Join(wd, "../../pkg/interop") + `
|
||||
go 1.24`)
|
||||
require.NoError(t, os.WriteFile(filepath.Join(tmpDir, "go.mod"), goMod, os.ModePerm))
|
||||
return filename
|
||||
|
|
@ -532,7 +532,7 @@ func TestLoad(t *testing.T) {
|
|||
|
||||
t.Run("check calling flags", func(t *testing.T) {
|
||||
srcAllowNotify := `package kek
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
func Main() int {
|
||||
runtime.Log("Hello, world!")
|
||||
return 1
|
||||
|
|
@ -550,8 +550,8 @@ func TestLoad(t *testing.T) {
|
|||
t.Run("check signers", func(t *testing.T) {
|
||||
srcCheckWitness := `package kek
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/lib/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/lib/address"
|
||||
)
|
||||
func Main() bool {
|
||||
var owner = address.ToHash160("` + ownerAddress + `")
|
||||
|
|
@ -654,7 +654,7 @@ func TestLoad(t *testing.T) {
|
|||
func TestLoad_RunWithCALLT(t *testing.T) {
|
||||
// Our smart compiler will generate CALLT instruction for the following StdLib call:
|
||||
src := `package kek
|
||||
import "github.com/tutus-one/tutus-chain/pkg/interop/native/std"
|
||||
import "git.marketally.com/tutus-one/tutus-chain/pkg/interop/native/std"
|
||||
func Main() int {
|
||||
return std.Atoi("123", 10)
|
||||
}`
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ import (
|
|||
"os"
|
||||
|
||||
"github.com/chzyer/readline"
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/storage/dbconfig"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import (
|
|||
"strconv"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@ import (
|
|||
"errors"
|
||||
"os"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
)
|
||||
|
||||
type (
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import (
|
|||
"encoding/hex"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,14 +4,14 @@ import (
|
|||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/paramcontext"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/state"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/waiter"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,15 +8,15 @@ import (
|
|||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/hash"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/context"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/hash"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/context"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/vmstate"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,19 +7,19 @@ import (
|
|||
"slices"
|
||||
"strconv"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/vm/stackitem"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,26 +8,26 @@ import (
|
|||
"slices"
|
||||
"strings"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"github.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/tutus"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/neptoken"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/native/nativenames"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/fixedn"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/tutusrpc/result"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/actor"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/tutus"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep11"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/neptoken"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,18 +4,18 @@ import (
|
|||
"fmt"
|
||||
"math/big"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/tutus"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/native/nativehashes"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/gas"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/tutus"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/nep17"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,20 +11,20 @@ import (
|
|||
"slices"
|
||||
"strings"
|
||||
|
||||
"github.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"github.com/tutus-one/tutus-chain/cli/flags"
|
||||
"github.com/tutus-one/tutus-chain/cli/input"
|
||||
"github.com/tutus-one/tutus-chain/cli/options"
|
||||
"github.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"github.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/rpcclient/tutus"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract/scparser"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/cmdargs"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/flags"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/input"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/options"
|
||||
"git.marketally.com/tutus-one/tutus-chain/cli/txctx"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/core/transaction"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/rpcclient/tutus"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/manifest"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract/scparser"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
@ -1050,7 +1050,7 @@ func newAccountFromWIF(w io.Writer, wif string, scrypt keys.ScryptParams, label
|
|||
acc, err := wallet.NewAccountFromEncryptedWIF(wif, phrase, scrypt)
|
||||
if err != nil {
|
||||
// If password from wallet config wasn't OK then retry with the user input,
|
||||
// see the https://github.com/tutus-one/tutus-chain/issues/2883#issuecomment-1399923088.
|
||||
// see the https://git.marketally.com/tutus-one/tutus-chain/issues/2883#issuecomment-1399923088.
|
||||
if pass == nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/chzyer/readline"
|
||||
"github.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"github.com/tutus-one/tutus-chain/pkg/config"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/hash"
|
||||
"github.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"github.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"github.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"github.com/tutus-one/tutus-chain/pkg/util"
|
||||
"github.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"git.marketally.com/tutus-one/tutus-chain/internal/testcli"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/hash"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/crypto/keys"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/encoding/address"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/smartcontract"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/util"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/wallet"
|
||||
"github.com/stretchr/testify/require"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package enginecontract
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
)
|
||||
|
||||
// NotifyScriptContainer sends runtime notification with script container hash.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
module github.com/tutus-one/tutus-chain/examples/engine
|
||||
module git.marketally.com/tutus-one/tutus-chain/examples/engine
|
||||
|
||||
go 1.24
|
||||
|
||||
require github.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
require git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
|
||||
replace github.com/tutus-one/tutus-chain => ../..
|
||||
replace git.marketally.com/tutus-one/tutus-chain => ../..
|
||||
|
||||
replace github.com/tutus-one/tutus-chain/pkg/interop => ../../pkg/interop
|
||||
replace git.marketally.com/tutus-one/tutus-chain/pkg/interop => ../../pkg/interop
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9 h1:5+Ue5+i72uJVfHoq1+6mc6KlpriaqQaO96LtaDEsTfg=
|
||||
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9/go.mod h1:X2spkE8hK/l08CYulOF19fpK5n3p2xO0L1GnJFIywQg=
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9 h1:5+Ue5+i72uJVfHoq1+6mc6KlpriaqQaO96LtaDEsTfg=
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9/go.mod h1:X2spkE8hK/l08CYulOF19fpK5n3p2xO0L1GnJFIywQg=
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
package events
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
)
|
||||
|
||||
// NotifySomeBytes emits notification with ByteArray.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
module github.com/tutus-one/tutus-chain/examples/events
|
||||
module git.marketally.com/tutus-one/tutus-chain/examples/events
|
||||
|
||||
go 1.24
|
||||
|
||||
require github.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
require git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
|
||||
replace github.com/tutus-one/tutus-chain => ../..
|
||||
replace git.marketally.com/tutus-one/tutus-chain => ../..
|
||||
|
||||
replace github.com/tutus-one/tutus-chain/pkg/interop => ../../pkg/interop
|
||||
replace git.marketally.com/tutus-one/tutus-chain/pkg/interop => ../../pkg/interop
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9 h1:5+Ue5+i72uJVfHoq1+6mc6KlpriaqQaO96LtaDEsTfg=
|
||||
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9/go.mod h1:X2spkE8hK/l08CYulOF19fpK5n3p2xO0L1GnJFIywQg=
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9 h1:5+Ue5+i72uJVfHoq1+6mc6KlpriaqQaO96LtaDEsTfg=
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9/go.mod h1:X2spkE8hK/l08CYulOF19fpK5n3p2xO0L1GnJFIywQg=
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
module github.com/tutus-one/tutus-chain/examples/iterator
|
||||
module git.marketally.com/tutus-one/tutus-chain/examples/iterator
|
||||
|
||||
go 1.24
|
||||
|
||||
require github.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
require git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
|
||||
replace github.com/tutus-one/tutus-chain => ../..
|
||||
replace git.marketally.com/tutus-one/tutus-chain => ../..
|
||||
|
||||
replace github.com/tutus-one/tutus-chain/pkg/interop => ../../pkg/interop
|
||||
replace git.marketally.com/tutus-one/tutus-chain/pkg/interop => ../../pkg/interop
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9 h1:5+Ue5+i72uJVfHoq1+6mc6KlpriaqQaO96LtaDEsTfg=
|
||||
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9/go.mod h1:X2spkE8hK/l08CYulOF19fpK5n3p2xO0L1GnJFIywQg=
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9 h1:5+Ue5+i72uJVfHoq1+6mc6KlpriaqQaO96LtaDEsTfg=
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9/go.mod h1:X2spkE8hK/l08CYulOF19fpK5n3p2xO0L1GnJFIywQg=
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
package iteratorcontract
|
||||
|
||||
import (
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"github.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/iterator"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/runtime"
|
||||
"git.marketally.com/tutus-one/tutus-chain/pkg/interop/storage"
|
||||
)
|
||||
|
||||
// _deploy primes contract's storage with some data to be used later.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
module github.com/tutus-one/tutus-chain/examples/neofs
|
||||
module git.marketally.com/tutus-one/tutus-chain/examples/neofs
|
||||
|
||||
go 1.24
|
||||
|
||||
require github.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
require git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0
|
||||
|
||||
replace github.com/tutus-one/tutus-chain => ../..
|
||||
replace git.marketally.com/tutus-one/tutus-chain => ../..
|
||||
|
||||
replace github.com/tutus-one/tutus-chain/pkg/interop => ../../pkg/interop
|
||||
replace git.marketally.com/tutus-one/tutus-chain/pkg/interop => ../../pkg/interop
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9 h1:5+Ue5+i72uJVfHoq1+6mc6KlpriaqQaO96LtaDEsTfg=
|
||||
github.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9/go.mod h1:X2spkE8hK/l08CYulOF19fpK5n3p2xO0L1GnJFIywQg=
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9 h1:5+Ue5+i72uJVfHoq1+6mc6KlpriaqQaO96LtaDEsTfg=
|
||||
git.marketally.com/tutus-one/tutus-chain/pkg/interop v0.0.0-20251217090505-857f951d81a9/go.mod h1:X2spkE8hK/l08CYulOF19fpK5n3p2xO0L1GnJFIywQg=
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue