Skip to content

Commit

Permalink
Upgrade go-algorand and langspec to TEAL v6
Browse files Browse the repository at this point in the history
  • Loading branch information
pzbitskiy committed Apr 7, 2022
1 parent 9eedfc8 commit 82cc87b
Show file tree
Hide file tree
Showing 5 changed files with 508 additions and 173 deletions.
4 changes: 0 additions & 4 deletions compiler/langspec.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ func argOpTypeFromSpec(name string, arg int) (exprType, error) {
}

func runtimeFieldTypeFromSpec(name string, field string) (exprType, error) {
// itxn does not have an entry in the langspec so substitute
if name == "itxn" {
name = "txn"
}
if op, ok := langOps[name]; ok && len(op.ArgEnum) != 0 {
for idx, entry := range op.ArgEnum {
if entry == field {
Expand Down
Loading

0 comments on commit 82cc87b

Please sign in to comment.