Skip to content

Commit

Permalink
fix: makefile and add version print when start
Browse files Browse the repository at this point in the history
  • Loading branch information
zsystm committed Nov 6, 2024
1 parent 293dae4 commit 7dc9a34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BINARY_NAME := solizard
INSTALL_DIR := $(GOPATH)/bin

# Main package to build
MAIN_PACKAGE := ./cmd
MAIN_PACKAGE := ./cmd/solizard

# Go commands
GO := go
Expand Down
1 change: 1 addition & 0 deletions cmd/solizard/solizard.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func init() {
}

func Run() error {
fmt.Println(`🦎 Welcome to Solizard v1.4.1 🦎`)
mAbi, err := abi.LoadABIs(AbiDir)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion internal/prompt/prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func MustCreateInputDataForMethod(method abi.Method) []byte {

func MustInputValue() *big.Int {
prompt := promptui.Prompt{
Label: "Enter the value to be sent with the contract call (in wei).",
Label: "Enter the value to be sent with the contract call (in wei)",
Validate: validation.ValidateInt,
}
valueStr, err := prompt.Run()
Expand Down

0 comments on commit 7dc9a34

Please sign in to comment.