Skip to content

Commit

Permalink
feat(proxy): update cartesi-rollups-cli endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
torives authored and gligneul committed Jan 30, 2024
1 parent b2c54dd commit de697a3
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/increasetime/increasetime.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func init() {
Cmd.Flags().IntVar(&time, "time", defaultTime,
"The amount of time to increase in the evm, in seconds")

Cmd.Flags().StringVar(&anvilEndpoint, "anvil-endpoint", "http://0.0.0.0:8545",
Cmd.Flags().StringVar(&anvilEndpoint, "anvil-endpoint", "http://localhost:8545",
"anvil address used to send to the request")
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/inspect/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func init() {

cobra.CheckErr(Cmd.MarkFlagRequired("payload"))

Cmd.Flags().StringVar(&inspectEndpoint, "inspect-endpoint", "http://0.0.0.0:10009/",
Cmd.Flags().StringVar(&inspectEndpoint, "inspect-endpoint", "http://localhost:10000/",
"address used to connect to the inspect api")
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/read/input/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func init() {

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

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

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/read/inputs/inputs.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var (
)

func init() {
Cmd.Flags().StringVar(&graphqlEndpoint, "graphql-endpoint", "http://0.0.0.0:4000/graphql",
Cmd.Flags().StringVar(&graphqlEndpoint, "graphql-endpoint", "http://localhost:10000/graphql",
"address used to connect to graphql")
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/read/notice/notice.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func init() {

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

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

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/read/notices/notices.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func init() {
Cmd.Flags().IntVar(&inputIndex, "input-index", -1,
"index of the input")

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

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/read/report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func init() {

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

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

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/read/reports/reports.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func init() {
Cmd.Flags().IntVar(&inputIndex, "input-index", -1,
"index of the input")

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

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/read/voucher/voucher.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func init() {

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

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

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/read/vouchers/vouchers.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func init() {
Cmd.Flags().IntVar(&inputIndex, "input-index", -1,
"index of the input")

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

Expand Down
2 changes: 1 addition & 1 deletion cmd/cartesi-rollups-cli/root/validate/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,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_increase-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cartesi-rollups-cli increase-time
### Options

```
--anvil-endpoint string anvil address used to send to the request (default "http://0.0.0.0:8545")
--anvil-endpoint string anvil address used to send to the request (default "http://localhost:8545")
-h, --help help for increase-time
--time int The amount of time to increase in the evm, in seconds (default 86400)
```
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_inspect.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cartesi-rollups-cli inspect --payload 0x$(printf "hi" | xxd -p)

```
-h, --help help for inspect
--inspect-endpoint string address used to connect to the inspect api (default "http://0.0.0.0:10009/")
--inspect-endpoint string address used to connect to the inspect api (default "http://localhost:10000/")
--payload string input payload hex-encoded starting with 0x
```

Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_read_input.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cartesi-rollups-cli read input --index 5
### Options

```
--graphql-endpoint string address used to connect to graphql (default "http://0.0.0.0:4000/graphql")
--graphql-endpoint string address used to connect to graphql (default "http://localhost:10000/graphql")
-h, --help help for input
--index int index of the input
```
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_read_inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cartesi-rollups-cli read inputs
### Options

```
--graphql-endpoint string address used to connect to graphql (default "http://0.0.0.0:4000/graphql")
--graphql-endpoint string address used to connect to graphql (default "http://localhost:10000/graphql")
-h, --help help for inputs
```

Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_read_notice.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cartesi-rollups-cli read notice --notice-index 5 --input-index 6
### Options

```
--graphql-endpoint string address used to connect to graphql (default "http://0.0.0.0:4000/graphql")
--graphql-endpoint string address used to connect to graphql (default "http://localhost:10000/graphql")
-h, --help help for notice
--input-index int index of the input
--notice-index int index of the notice
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_read_notices.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cartesi-rollups-cli read notices
### Options

```
--graphql-endpoint string address used to connect to graphql (default "http://0.0.0.0:4000/graphql")
--graphql-endpoint string address used to connect to graphql (default "http://localhost:10000/graphql")
-h, --help help for notices
--input-index int index of the input (default -1)
```
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_read_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cartesi-rollups-cli read report --report-index 5 --input-index 6
### Options

```
--graphql-endpoint string address used to connect to graphql (default "http://0.0.0.0:4000/graphql")
--graphql-endpoint string address used to connect to graphql (default "http://localhost:10000/graphql")
-h, --help help for report
--input-index int index of the input
--report-index int index of the report
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_read_reports.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cartesi-rollups-cli read reports
### Options

```
--graphql-endpoint string address used to connect to graphql (default "http://0.0.0.0:4000/graphql")
--graphql-endpoint string address used to connect to graphql (default "http://localhost:10000/graphql")
-h, --help help for reports
--input-index int index of the input (default -1)
```
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_read_voucher.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cartesi-rollups-cli read voucher --voucher-index 5 --input-index 6
### Options

```
--graphql-endpoint string address used to connect to graphql (default "http://0.0.0.0:4000/graphql")
--graphql-endpoint string address used to connect to graphql (default "http://localhost:10000/graphql")
-h, --help help for voucher
--input-index int index of the input
--voucher-index int index of the voucher
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_read_vouchers.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cartesi-rollups-cli read vouchers
### Options

```
--graphql-endpoint string address used to connect to graphql (default "http://0.0.0.0:4000/graphql")
--graphql-endpoint string address used to connect to graphql (default "http://localhost:10000/graphql")
-h, --help help for vouchers
--input-index int index of the input (default -1)
```
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesi-rollups-cli_validate.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cartesi-rollups-cli validate --notice-index 5 --input-index 6
```
--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 validate
--input-index int index of the input
--notice-index int index of the notice
Expand Down

0 comments on commit de697a3

Please sign in to comment.