summaryrefslogtreecommitdiff
path: root/cmd/tealdbg/local_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/tealdbg/local_test.go')
-rw-r--r--cmd/tealdbg/local_test.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/cmd/tealdbg/local_test.go b/cmd/tealdbg/local_test.go
index 14b16f43a..84328dbbb 100644
--- a/cmd/tealdbg/local_test.go
+++ b/cmd/tealdbg/local_test.go
@@ -317,6 +317,7 @@ func TestDebugEnvironment(t *testing.T) {
// make transaction group: app call + sample payment
txn := transactions.SignedTxn{
Txn: transactions.Transaction{
+ Type: protocol.ApplicationCallTx,
Header: transactions.Header{
Sender: sender,
Fee: basics.MicroAlgos{Raw: 1000},
@@ -524,7 +525,7 @@ func TestDebugFromPrograms(t *testing.T) {
partitiontest.PartitionTest(t)
a := require.New(t)
- txnBlob := []byte("[" + strings.Join([]string{string(txnSample), txnSample}, ",") + "]")
+ txnBlob := []byte("[" + strings.Join([]string{txnSample, txnSample}, ",") + "]")
l := LocalRunner{}
dp := DebugParams{
@@ -603,7 +604,7 @@ func TestRunMode(t *testing.T) {
partitiontest.PartitionTest(t)
a := require.New(t)
- txnBlob := []byte("[" + strings.Join([]string{string(txnSample), txnSample}, ",") + "]")
+ txnBlob := []byte("[" + strings.Join([]string{txnSample, txnSample}, ",") + "]")
l := LocalRunner{}
// check run mode auto on stateful code
@@ -625,7 +626,7 @@ func TestRunMode(t *testing.T) {
a.Equal(modeStateful, l.runs[0].mode)
a.Equal(basics.AppIndex(100), l.runs[0].aidx)
a.NotEqual(
- reflect.ValueOf(logic.Eval).Pointer(),
+ reflect.ValueOf(logic.EvalSignature).Pointer(),
reflect.ValueOf(l.runs[0].eval).Pointer(),
)
@@ -960,7 +961,7 @@ func TestLocalBalanceAdapter(t *testing.T) {
a.Equal(modeStateful, l.runs[0].mode)
a.NotEmpty(l.runs[0].aidx)
a.NotEqual(
- reflect.ValueOf(logic.Eval).Pointer(),
+ reflect.ValueOf(logic.EvalSignature).Pointer(),
reflect.ValueOf(l.runs[0].eval).Pointer(),
)
ba := l.runs[0].ba
@@ -1051,7 +1052,7 @@ func TestLocalBalanceAdapterIndexer(t *testing.T) {
a.Equal(modeStateful, l.runs[0].mode)
a.NotEmpty(l.runs[0].aidx)
a.NotEqual(
- reflect.ValueOf(logic.Eval).Pointer(),
+ reflect.ValueOf(logic.EvalSignature).Pointer(),
reflect.ValueOf(l.runs[0].eval).Pointer(),
)