Skip to content

Commit

Permalink
fix(cli): execute command endpoint
Browse files Browse the repository at this point in the history
Update the graphql endpoint to use the proxy
  • Loading branch information
torives authored and gligneul committed Jan 30, 2024
1 parent 580e421 commit c9b4b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/execute/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func init() {

cobra.CheckErr(Cmd.MarkFlagRequired("input-index"))

Cmd.Flags().StringVar(&graphqlEndpoint, "graphql-endpoint", "http://0.0.0.0:10004/graphql",
Cmd.Flags().StringVar(&graphqlEndpoint, "graphql-endpoint", "http://localhost:10000/graphql",
"address used to connect to graphql")

Cmd.Flags().StringVar(&ethEndpoint, "eth-endpoint", "http://localhost:8545",
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_execute.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cartesi-rollups-cli execute --voucher-index 5 --input-index 6
--account uint32 account index used to sign the transaction (default: 0)
--address-book string if set, load the address book from the given file; else, use test addresses
--eth-endpoint string ethereum node JSON-RPC endpoint (default "http://localhost:8545")
--graphql-endpoint string address used to connect to graphql (default "http://0.0.0.0:10004/graphql")
--graphql-endpoint string address used to connect to graphql (default "http://localhost:10000/graphql")
-h, --help help for execute
--input-index int index of the input
--mnemonic string mnemonic used to sign the transaction (default "test test test test test test test test test test test junk")
Expand Down

0 comments on commit c9b4b61

Please sign in to comment.