Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit 6c7fba5

Browse files
authored
Update commands name
2 parents 0a025d7 + b299a25 commit 6c7fba5

File tree

20 files changed

+61
-61
lines changed

20 files changed

+61
-61
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ You can read the docs in [Gitbook](https://onbloc.gitbook.io/gnoland-developer-p
4141
* [Common Parameters](docs/cli/common-parameters.md)
4242
* [gnokey](docs/cli/gnokey.md)
4343
* [gnoland](docs/cli/gnoland.md)
44-
* [gnotxport](docs/cli/gnotxport.md)
45-
* [gnodev](docs/cli/gnodev.md)
44+
* [tm2txsync](docs/cli/tm2txsync.md)
45+
* [gno](docs/cli/gno.md)
4646
* [gnofaucet](docs/cli/gnofaucet.md)
4747
* [Gnoland RPC Endpoints](docs/gnoland-rpc-endpoints.md)
4848
* Tutorials

SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
* [Common Parameters](docs/cli/common-parameters.md)
3636
* [gnokey](docs/cli/gnokey.md)
3737
* [gnoland](docs/cli/gnoland.md)
38-
* [gnotxport](docs/cli/gnotxport.md)
39-
* [gnodev](docs/cli/gnodev.md)
38+
* [tm2txsync](docs/cli/tm2txsync.md)
39+
* [gno](docs/cli/gno.md)
4040
* [gnofaucet](docs/cli/gnofaucet.md)
4141
* [Gnoland RPC Endpoints](docs/gnoland-rpc-endpoints.md)
4242

docs/building-a-realm/deploy-and-call-realms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
There are two methods of deploying and calling realms. 
44

55
1. With the blockchain: You can use the subcommands of [`gnokey`](../cli/gnokey.md) such as [`addpkg`](../cli/gnokey.md#subcommands), to deploy a realm to the Gnoland blockchain, and [`maketx call`](../cli/gnokey.md#call), to call available realms in the Gnoland blockchain.
6-
2. Without a blockchain: You can use [`gnodev`](../cli/gnodev.md), which allows you to use the GnoVM without a blockchain in a local environment. This method is fast and allows you to use development patterns such as TDD. However, it does not facilitate the capability for external parties to participate in testing since it's done locally.
6+
2. Without a blockchain: You can use [`gno`](../cli/gno.md), which allows you to use the GnoVM without a blockchain in a local environment. This method is fast and allows you to use development patterns such as TDD. However, it does not facilitate the capability for external parties to participate in testing since it's done locally.
77

88
This section covers how to deploy and call realms with the first method - With the blockchain.
99

1010
## Deploy
1111

12-
Use the `addpkg`, a subcommand of [`gnokey`](../cli/gnodev.md), to publicly deploy realms.
12+
Use the `addpkg`, a subcommand of [`gnokey`](../cli/gno.md), to publicly deploy realms.
1313

1414
<figure><img src="../../.gitbook/assets/img05.png" alt=""><figcaption></figcaption></figure>
1515

docs/building-a-realm/realm-examples/hello.gno.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func Test(t *testing.T) {
6262
}
6363
```
6464

65-
Let's test the code using `gnodev test`.
65+
Let's test the code using `gno test`.
6666

6767
<figure><img src="../../../.gitbook/assets/gor_01_01_test.png" alt=""><figcaption></figcaption></figure>
6868

docs/building-a-realm/realm-examples/realm.gno.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# realm.gno
22

3-
The `realm` realm provides a guide on how to import packages in a test environment (`gnodev`) and the production environment (`gnokey addpkg`) along with precautions to note.
3+
The `realm` realm provides a guide on how to import packages in a test environment (`gno`) and the production environment (`gnokey addpkg`) along with precautions to note.
44

55

66

@@ -32,7 +32,7 @@ Next, we'll import the package above in both the test environment and the produc
3232

3333
### **Importing in the test environment**
3434

35-
In the test environment, we will copy the file, as `gnodev` imports the package with the physical file path.
35+
In the test environment, we will copy the file, as `gno` imports the package with the physical file path.
3636

3737
<figure><img src="../../../.gitbook/assets/gor_04_01_pkg_01.png" alt=""><figcaption></figcaption></figure>
3838

@@ -119,7 +119,7 @@ func TestGetPrivateVar(t *testing.T) {
119119

120120
<figure><img src="../../../.gitbook/assets/gor_04_02_gnodev.png" alt=""><figcaption></figcaption></figure>
121121

122-
We can confirm that the test has been successfully passed in the test environment using `gnodev`.&#x20;
122+
We can confirm that the test has been successfully passed in the test environment using `gno`.&#x20;
123123

124124

125125

@@ -137,7 +137,7 @@ Calling `Render()` and `GetPublicVar()` using the `gnokey maketx call` also work
137137

138138
<figure><img src="../../../.gitbook/assets/gor_04_06_call_get_private.png" alt=""><figcaption></figcaption></figure>
139139

140-
However, unlike the results in `gnodev`, we run into an issue when calling the `getPrivateVar()` function using the `gnokey maketx call` command in the production environment.
140+
However, unlike the results in `gno`, we run into an issue when calling the `getPrivateVar()` function using the `gnokey maketx call` command in the production environment.
141141

142142

143143

@@ -147,4 +147,4 @@ On the other hand, calling the `getPrivateVar()` function using the `gnokey quer
147147

148148

149149

150-
> **Note:** As of testnet3, we have run into unexpected results when using access modifiers with `gnodev`, `maketx`, and `query`. We suspect the cause to be one of the following: GnoVM, Gnokey Query, or Gnodev. For now, we can get around this error by changing the lowercase to the uppercase to publicly access the functions. We will update this section once we determine the cause of this phenomenon.
150+
> **Note:** As of testnet3, we have run into unexpected results when using access modifiers with `gno`, `maketx`, and `query`. We suspect the cause to be one of the following: GnoVM, Gnokey Query, or gno. For now, we can get around this error by changing the lowercase to the uppercase to publicly access the functions. We will update this section once we determine the cause of this phenomenon.

docs/building-a-realm/testing-realms.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
There are two methods for testing a realm or package during the development phase.
44

55
1. Calling the realm/packages after deploying it on a local network (or testnet3).
6-
2. Using the `test` option of [`gnodev`](../cli/gnodev.md).
6+
2. Using the `test` option of [`gno`](../cli/gno.md).
77

88
While the first method is recommended for its accuracy and similarity to the actual deployment environment, it is more efficient to initially utilize the second method for composing test cases and then proceed to the first method if no errors are detected.
99

@@ -15,7 +15,7 @@ Writing test cases in Gnolang is similar to that of Golang, with general rules a
1515
* The function name of test cases must start with `Test`.
1616
* The `t *testing.T` argument must be included.
1717
* The `testing` package must be imported.
18-
* Tests must be run with the `gnodev test` command.
18+
* Tests must be run with the `gno test` command.
1919

2020

2121

@@ -65,7 +65,7 @@ Two conditions exist in the test case above.
6565
1. "Hello People!" should be returned when calling `Hello("People")`.
6666
2. "Hello People!" should be returned when calling `Hello("")`.
6767

68-
<figure><img src="../../.gitbook/assets/img04.png" alt=""><figcaption><p>Testing with <code>gnodev</code></p></figcaption></figure>
68+
<figure><img src="../../.gitbook/assets/img04.png" alt=""><figcaption><p>Testing with <code>gno</code></p></figcaption></figure>
6969

7070
Upon examination of our realm code and the associated test results, the initial condition exhibited the desired behavior. However, an error was identified in the second condition. Despite the expected outcome of "Hello" being returned, the test case incorrectly specified that the expected output should be "Hello People!" instead.
7171

docs/cli/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This section lists available Gno commands.
55
* [Common Parameters](common-parameters.md)
66
* [gnokey](gnokey.md) - used primarily for key management, but also for general interactions with gnoland
77
* [gnoland](gnoland.md) - used for running a blockchain node
8-
* [gnotxport](gnotxport.md) - used for importing and exporting transactions from the local blockchain node storage
9-
* [gnodev](gnodev.md) - a handy tool for developing and prototyping gno packages / realms
8+
* [tm2txsync](tm2txsync.md) - used for importing and exporting transactions from the local blockchain node storage
9+
* [gno](gno.md) - a handy tool for developing and prototyping gno packages / realms
1010
* [gnofaucet](gnofaucet.md) - serves as a faucet for GNOT, the native network currency
1111

docs/cli/gnodev.md renamed to docs/cli/gno.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# gnodev
1+
# gno (ex gnodev)
22

3-
`gnodev` is a handy tool for developing and prototyping Gno packages and realms. You may use `gnodev` to use the GnoVM without an actual blockchain to build or test realms in a local environment.
3+
`gno` is a handy tool for developing and prototyping Gno packages and realms. You may use `gno` to use the GnoVM without an actual blockchain to build or test realms in a local environment.
44

5-
## Run `gnodev` Commands
5+
## Run `gno` Commands
66

7-
The following command will run `gnodev`.
7+
The following command will run `gno`.
88

99
```bash
10-
$ gnodev {SUB_COMMAND}
10+
$ gno {SUB_COMMAND}
1111
```
1212

1313
**Subcommands**
@@ -35,7 +35,7 @@ $ gnodev {SUB_COMMAND}
3535
| Name | Type | Description |
3636
| ------------ | ------------- | --------------------------------------------------------------------- |
3737
| `verbose` | Boolean | Displays extended information. |
38-
| `root-dir` | String | Clones location of github.com/gnolang/gno (gnodev tries to guess it). |
38+
| `root-dir` | String | Clones location of github.com/gnolang/gno (gno tries to guess it). |
3939
| `run` | String | Test name filtering pattern. |
4040
| `timeout` | time.Duration | The maximum execution time in ns. |
4141
| `precompile` | Boolean | Precompiles a `.gno` file to a `.go` file before testing. |
@@ -59,4 +59,4 @@ $ gnodev {SUB_COMMAND}
5959
| Name | Type | Description |
6060
| ---------- | ------- | --------------------------------------------------------------------- |
6161
| `verbose` | Boolean | Displays extended information. |
62-
| `root-dir` | String | Clones location of github.com/gnolang/gno (gnodev tries to guess it). |
62+
| `root-dir` | String | Clones location of github.com/gnolang/gno (gno tries to guess it). |

docs/cli/gnotxport.md renamed to docs/cli/tm2txsync.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# gnotxport
1+
# tm2txsync
22

3-
`gnotxport` is used for backing up a local node's transactions.
3+
`tm2txsync` is used for backing up a local node's transactions.
44

55
## Import Transaction Data To (or Export It From) a Node
66

77
You may import or export transaction data with the following command.
88

99
```bash
10-
$ gnotxport {SUB_COMMAND}
10+
$ tm2txsync {SUB_COMMAND}
1111
```
1212

1313
#### **Subcommands**

docs/standard-libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type Coin struct {
4848

4949
### `testing`
5050

51-
A library that declares `*testing`, which is a tool used for the creation and execution of test cases during the development and testing phase of realms utilizing the `gnodev` CLI tool with the `test` option.
51+
A library that declares `*testing`, which is a tool used for the creation and execution of test cases during the development and testing phase of realms utilizing the `gno` CLI tool with the `test` option.
5252

5353
There are 3 types of testing in `gno`.
5454

0 commit comments

Comments
 (0)