mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-21 07:24:36 +00:00
tendermint2
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package vm
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/logger"
|
||||
"github.com/tendermint/tendermint2/logger"
|
||||
)
|
||||
|
||||
var log = logger.New("module", "vm")
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@ package vm
|
||||
import (
|
||||
"code.google.com/p/go.crypto/ripemd160"
|
||||
"crypto/sha256"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/vm/secp256k1"
|
||||
"github.com/tendermint/tendermint/vm/sha3"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
"github.com/tendermint/tendermint2/vm/secp256k1"
|
||||
"github.com/tendermint/tendermint2/vm/sha3"
|
||||
)
|
||||
|
||||
var nativeContracts = make(map[Word256]NativeContract)
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package vm
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
// Not goroutine safe
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package vm
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint/vm"
|
||||
"github.com/tendermint/tendermint/vm/sha3"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
. "github.com/tendermint/tendermint2/vm"
|
||||
"github.com/tendermint/tendermint2/vm/sha3"
|
||||
)
|
||||
|
||||
type FakeAppState struct {
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint/vm"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
. "github.com/tendermint/tendermint2/vm"
|
||||
)
|
||||
|
||||
func newAppState() *FakeAppState {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package vm
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
. "github.com/tendermint/tendermint2/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user