You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Changelog
2
2
3
+
## v0.2.0 (2024-05-17)
4
+
5
+
- Added support for generating a gRPC query client [#14](https://github.com/srdtrk/go-codegen/issues/14)
6
+
- Added support for generating an [`interchaintest`](https://github.com/strangelove-ventures/interchaintest) based test suite [#45](https://github.com/srdtrk/go-codegen/issues/45).
7
+
- Various API breaking changes on the CLI commands and go packages.
This will generate the Go code in the specified optional output directory, if not specified, it will generate the code in `output.go` in the current directory.
39
+
This will generate the Go code in the specified optional output directory, if not specified, it will generate the code in `msgs.go` in the current directory.
35
40
Package name is also optional, if not specified, it will use the name of the contract.
This will generate the Go code in the specified optional output directory, if not specified, it will generate the code in `query.go` in the current directory. Package name is also optional, if not specified, it will use the name of the contract. The generated code depends on the generated messages, the [wasmd package](https://pkg.go.dev/github.com/CosmWasm/wasmd), and the [grpc package](https://pkg.go.dev/google.golang.org/grpc). You can install them by running `go get github.com/CosmWasm/wasmd@latest` (or `go get github.com/CosmWasm/wasmd@v0.50.0` for a specific version) and `go get google.golang.org/grpc@latest` (or `go get google.golang.org/grpc@v1.63.3` for a specific version).
49
+
50
+
### Generate interchaintest test suite
51
+
52
+
```sh
53
+
go-codegen interchaintest scaffold
54
+
```
55
+
56
+
This will launch an interactive prompt to guide you through the process of generating the test suite.
57
+
The scaffolded test suite will include a basic test and instructions on how to run it. This test suite will not contain any contract specific code, or tests, you will need to add them using `add-contract` command.
58
+
59
+
### Adding a contract to the interchaintest test suite
This will add a contract to the test suite. The suite directory is the directory where the test suite is located. If not specified, it will use the current directory. The contract API JSON file is the same file that was used to generate the messages and query client.
66
+
37
67
## Acknowledgements
38
68
39
69
The Go Gopher mascot was created by [Renee French](https://reneefrench.blogspot.com/) and is licensed under the [Creative Commons 4.0 Attribution License](https://creativecommons.org/licenses/by/4.0/).
0 commit comments