Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
use v2 package
Browse files Browse the repository at this point in the history
  • Loading branch information
bjartek committed Jul 26, 2021
1 parent d6916ec commit 9453366
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/demo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

"github.com/bjartek/go-with-the-flow/gwtf"
"github.com/bjartek/go-with-the-flow/v2/gwtf"
)

func main() {
Expand All @@ -15,7 +15,7 @@ func main() {
g.TransactionFromFile("argumentsWithAccount").SignProposeAndPayAs("first").AccountArgument("second").RunPrintEventsFull()
g.TransactionFromFile("signWithMultipleAccounts").SignProposeAndPayAs("first").PayloadSigner("second").StringArgument("asserts.go").RunPrintEventsFull()

g.ScriptFromFile("asserts.go").AccountArgument("second").Run()
g.ScriptFromFile("test").AccountArgument("second").Run()
g.TransactionFromFile("mint_tokens").SignProposeAndPayAsService().AccountArgument("first").UFix64Argument("10.0").RunPrintEventsFull()

g.Script(`
Expand Down
2 changes: 1 addition & 1 deletion examples/event/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/bjartek/go-with-the-flow/gwtf"
"github.com/bjartek/go-with-the-flow/v2/gwtf"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/script_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/bjartek/go-with-the-flow/gwtf"
"github.com/bjartek/go-with-the-flow/v2/gwtf"
"github.com/stretchr/testify/assert"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"testing"

"github.com/bjartek/go-with-the-flow/gwtf"
"github.com/bjartek/go-with-the-flow/v2/gwtf"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion examples/upload_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/bjartek/go-with-the-flow/gwtf"
"github.com/bjartek/go-with-the-flow/v2/gwtf"
"github.com/stretchr/testify/assert"
"testing"
)
Expand Down

0 comments on commit 9453366

Please sign in to comment.