Julian Strobl
db5f4fb3fe
[lib] Switch from RPC (REST) to gRPC ( #183 )
...
* [lib] Add `SimulateTx()`
* [lib] Set `plmnt` as default bech32 account prefix
* [linter] Function should pass the context parameter (contextcheck)
// Closes #175
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-16 14:47:16 +01:00
Julian Strobl
5bc0097ae3
Use RPC instead of exec.Command(...) ( #176 )
...
* Move `encoding.go` to lib to avoid import cycle
* [lib] Add `SetEncodingConfig` to avoid import cycle
```
package github.com/planetmint/planetmint-go/app
imports github.com/planetmint/planetmint-go/app/ante
imports github.com/planetmint/planetmint-go/x/dao
imports github.com/planetmint/planetmint-go/util
imports github.com/planetmint/planetmint-go/app: import cycle not allowed
```
* Use RPC instead of `exec.Command(...)`
// Closes #152
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-15 14:16:21 +01:00
Jürgen Eckel
a982abecf5
Distribute assets ( #162 )
...
* distributed & result msgs
* added DistributionResult
* added RDDL token conversion methods
* set proper validatoraddress within the testcases for e2e/dao
* set proper root dir for test cases
* fixed some wordings
---------
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-11-15 13:31:20 +01:00
Julian Strobl
6472d7693f
[ci] Add nosnakecase to golangci-lint ( #161 )
...
Golang uses:
- Camel Case for variable names, e.g. `firstName`
- Camel Case for private function names, e.g. `getFirstName`
- Pascal Case for public function names, e.g. `GetFirstName`
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-10-20 14:09:07 +02:00
Julian Strobl
7d65bff35f
Switch BlockHeight to int64 ( #158 )
...
To align with cosmos-sdk and make interoperability easier.
* Fix typo: blockheight -> blockHeight
* Generate protobuf and openapi
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-10-20 13:43:44 +02:00
Julian Strobl
45504f4670
Replace fmt.PrintX calls by proper logging ( #159 )
...
// Closes #137
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-10-20 12:57:42 +02:00
Julian Strobl
e10416b23d
Use globally defined keyring backend from client.toml ( #156 )
...
This partially reverts commit 1927c4d47219c428e4d12cfd9015f0137af7a030.
// Closes #142
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-10-19 09:48:18 +02:00
Jürgen Eckel
1927c4d472
Eckelj/support keyring ( #136 )
...
* added keyring option
* added Reissuance workflow logging
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-10-11 16:02:37 +02:00
Jürgen Eckel
a0d4a9a575
removed obsolete print commands
...
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-10-10 01:39:09 +02:00
Jürgen Eckel
b4ddc44044
* integrated ante-handler
...
* added two new config variables: reissuance-asset and validator-address
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-10-10 01:24:28 +02:00
Jürgen Eckel
a441ff87dd
added reissuance tests and fixed conversion
...
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-10-06 10:12:23 +02:00
Jürgen Eckel
f69c978911
added SendRDDLReissuanceResult sending by the proposer after the consensus over the ReissuanceProposal
...
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-10-05 17:49:59 +02:00