Skip to content

Commit

Permalink
Fixed derivation of method arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj Kashyap committed Feb 3, 2024
1 parent d8420e5 commit 0e7f7d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions evm/generators.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ func DeriveMethodArguments(parameters []ABIBoundParameter) ([]MethodArgument, er
}
result[i].Argument = parameter
}

return result, nil
}

func ParseCLIParams(structName string, deployMethod *ast.FuncDecl, viewMethods map[string]*ast.FuncDecl, transactMethods map[string]*ast.FuncDecl) (CLIParams, error) {
Expand Down

0 comments on commit 0e7f7d5

Please sign in to comment.