Skip to content

Commit

Permalink
Merge pull request #764 from onflow/bastian/update-cadence-2
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent authored Oct 21, 2024
2 parents 53bbf91 + 2c4f6f0 commit 9286180
Show file tree
Hide file tree
Showing 28 changed files with 492 additions and 1,307 deletions.
2 changes: 1 addition & 1 deletion adapters/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

"github.com/onflow/cadence"
jsoncdc "github.com/onflow/cadence/encoding/json"
"github.com/onflow/cadence/runtime/stdlib"
"github.com/onflow/cadence/stdlib"
sdk "github.com/onflow/flow-go-sdk"
"github.com/onflow/flow-go-sdk/templates"
"github.com/onflow/flow-go/access"
Expand Down
4 changes: 2 additions & 2 deletions emulator/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ import (

"github.com/logrusorgru/aurora"
"github.com/onflow/cadence"
"github.com/onflow/cadence/common"
"github.com/onflow/cadence/interpreter"
"github.com/onflow/cadence/runtime"
"github.com/onflow/cadence/runtime/common"
"github.com/onflow/cadence/runtime/interpreter"
"github.com/onflow/crypto"
"github.com/onflow/crypto/hash"
"github.com/onflow/flow-core-contracts/lib/go/templates"
Expand Down
2 changes: 1 addition & 1 deletion emulator/blockchain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"fmt"
"testing"

"github.com/onflow/cadence/runtime/stdlib"
"github.com/onflow/cadence/stdlib"
"github.com/rs/zerolog"

"github.com/onflow/flow-emulator/adapters"
Expand Down
2 changes: 1 addition & 1 deletion emulator/computation_report.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package emulator

import (
"github.com/onflow/cadence/runtime/common"
"github.com/onflow/cadence/common"
"github.com/onflow/flow-go/fvm/environment"
"github.com/onflow/flow-go/fvm/meter"

Expand Down
5 changes: 3 additions & 2 deletions emulator/computation_report_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ package emulator_test

import (
"context"
"github.com/onflow/cadence/runtime/common"
"testing"

"github.com/onflow/cadence/common"
"github.com/onflow/flow-go/fvm/environment"
"github.com/onflow/flow-go/fvm/meter"
"testing"

"github.com/onflow/cadence"
flowsdk "github.com/onflow/flow-go-sdk"
Expand Down
2 changes: 1 addition & 1 deletion emulator/coverage_report_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"testing"

"github.com/onflow/cadence"
"github.com/onflow/cadence/common"
"github.com/onflow/cadence/runtime"
"github.com/onflow/cadence/runtime/common"
flowsdk "github.com/onflow/flow-go-sdk"
flowgo "github.com/onflow/flow-go/model/flow"
"github.com/rs/zerolog"
Expand Down
6 changes: 3 additions & 3 deletions emulator/coverage_reported_runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ package emulator

import (
"github.com/onflow/cadence"
"github.com/onflow/cadence/common"
"github.com/onflow/cadence/interpreter"
"github.com/onflow/cadence/runtime"
"github.com/onflow/cadence/runtime/common"
"github.com/onflow/cadence/runtime/interpreter"
"github.com/onflow/cadence/runtime/sema"
"github.com/onflow/cadence/sema"
)

type CoverageReportedRuntime struct {
Expand Down
4 changes: 2 additions & 2 deletions emulator/emulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ package emulator
import (
"fmt"

"github.com/onflow/cadence/common"
"github.com/onflow/cadence/interpreter"
"github.com/onflow/cadence/runtime"
"github.com/onflow/cadence/runtime/common"
"github.com/onflow/cadence/runtime/interpreter"
flowgosdk "github.com/onflow/flow-go-sdk"
sdkcrypto "github.com/onflow/flow-go-sdk/crypto"
"github.com/onflow/flow-go/access"
Expand Down
2 changes: 1 addition & 1 deletion emulator/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/onflow/flow-emulator/adapters"
"github.com/onflow/flow-emulator/emulator"

"github.com/onflow/cadence/runtime/common"
"github.com/onflow/cadence/common"
"github.com/onflow/flow-go-sdk/templates"
flowgo "github.com/onflow/flow-go/model/flow"
"github.com/stretchr/testify/assert"
Expand Down
Loading

0 comments on commit 9286180

Please sign in to comment.