Skip to content

Commit

Permalink
Fix: fixed refactor errors in devnetvm
Browse files Browse the repository at this point in the history
  • Loading branch information
hmoog committed Apr 7, 2022
1 parent 83a11ec commit 8ccccb0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/ledger/vm/devnetvm/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/iotaledger/hive.go/typeutils"
"golang.org/x/crypto/blake2b"

"github.com/iotaledger/goshimmer/packages/refactored/ledger/utxo"
"github.com/iotaledger/goshimmer/packages/ledger/utxo"
)

// region Constraints for syntactical validation ///////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger/vm/devnetvm/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/stretchr/testify/require"
"golang.org/x/crypto/blake2b"

"github.com/iotaledger/goshimmer/packages/refactored/ledger/utxo"
"github.com/iotaledger/goshimmer/packages/ledger/utxo"
)

// region AliasOutput Tests
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger/vm/devnetvm/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/iotaledger/hive.go/typeutils"
"golang.org/x/crypto/blake2b"

"github.com/iotaledger/goshimmer/packages/refactored/ledger/utxo"
"github.com/iotaledger/goshimmer/packages/ledger/utxo"
"github.com/iotaledger/goshimmer/packages/tangle/payload"
)

Expand Down
2 changes: 1 addition & 1 deletion packages/ledger/vm/devnetvm/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/iotaledger/goshimmer/packages/refactored/ledger/utxo"
"github.com/iotaledger/goshimmer/packages/ledger/utxo"
)

var sampleColor = Color{2}
Expand Down
5 changes: 3 additions & 2 deletions packages/ledger/vm/devnetvm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import (
"github.com/cockroachdb/errors"
"github.com/iotaledger/hive.go/marshalutil"

"github.com/iotaledger/goshimmer/packages/refactored/ledger/utxo"
"github.com/iotaledger/goshimmer/packages/ledger/utxo"
"github.com/iotaledger/goshimmer/packages/ledger/vm"
)

type VM struct{}
Expand Down Expand Up @@ -49,4 +50,4 @@ func (d *VM) executeTransaction(transaction *Transaction, inputs Outputs) (outpu
return transaction.Essence().Outputs(), nil
}

var _ utxo.VM = new(VM)
var _ vm.VM = new(VM)

0 comments on commit 8ccccb0

Please sign in to comment.