tendermint2

This commit is contained in:
Ethan Buchman
2015-03-31 15:33:31 -07:00
parent e6c352dba0
commit 60f166e823
96 changed files with 260 additions and 260 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -2,7 +2,7 @@ package vm
import (
"fmt"
. "github.com/tendermint/tendermint/common"
. "github.com/tendermint/tendermint2/common"
)
// Not goroutine safe
+3 -3
View File
@@ -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
View File
@@ -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
View File
@@ -1,7 +1,7 @@
package vm
import (
. "github.com/tendermint/tendermint/common"
. "github.com/tendermint/tendermint2/common"
)
const (
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"math/big"
. "github.com/tendermint/tendermint/common"
"github.com/tendermint/tendermint/vm/sha3"
. "github.com/tendermint/tendermint2/common"
"github.com/tendermint/tendermint2/vm/sha3"
)
var (