Julian Strobl
d0e269a478
lib: bump version to v0.4.0
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2024-01-12 10:03:24 +01:00
Julian Strobl
fa05ec7fff
Fix test pop result ( #258 )
...
* chore: update elements-rpc to v0.5.2
* fix: logging output in dao keeper
* refactor: properly check broadcast tx output
* fix: use correct proposer address in test
Otherwise we get an error like:
```
[app] reissue: failed. valid result: true proposer: plmnt1gyg6lxcre5f8t4ef0uxcqen9jczwalzjvc25k8
validator identity: fb7ecaf9584dfdc67265f599155571651c149207
```
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2024-01-05 09:49:40 +01:00
dependabot[bot]
e4a57914cd
Bump github.com/dvsekhvalnov/jose2go from 1.5.0 to 1.6.0 ( #253 )
...
Bumps [github.com/dvsekhvalnov/jose2go](https://github.com/dvsekhvalnov/jose2go ) from 1.5.0 to 1.6.0.
- [Commits](https://github.com/dvsekhvalnov/jose2go/compare/v1.5...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/dvsekhvalnov/jose2go
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 10:32:04 +01:00
Jürgen Eckel
c09aab8b38
Initializing the PoP process on the tasmota nodes ( #243 )
...
* added MQTT lib
* added MQTT config params: domain, port user, password
* sending PoPInit commands to devices par of the pop (after delivery of the PoPInit message)
* Added test case to verify the working of the MQTT connection (test is skipped and designed for manual tests (lack of credentials))
---------
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-12-20 10:01:28 +01:00
Julian Strobl
00aba3115f
[lib] Bump version to v0.3.0
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-12-19 09:11:52 +01:00
dependabot[bot]
94ecb64034
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 ( #239 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 08:18:49 +01:00
Julian Strobl
ff2f2eb386
[test] Use elements RPC mock server ( #232 )
...
Fix `reissueasset` in tests.
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-12-13 15:42:09 +01:00
Julian Strobl
7b381f3313
Use elements RPC library ( #225 )
...
* Use elements RPC library
// Closes #218
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-12-12 12:14:19 +01:00
Julian Strobl
ede70b073b
Replace call to external python program ( #215 )
...
* Split asset registry endpoint
Into scheme, domain and path. We need the domain in the liquid contract.
* Switch to pure Go implementation
This is a reimplementation of the `issue2liquid.py`.
See https://github.com/rddl-network/issuer_service
// Closes #196
* Move elements RPC URL into config
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-12-11 15:53:58 +01:00
Julian Strobl
8c2e4704cd
[lib] Bump version to v0.2.1
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-29 08:13:54 +01:00
Julian Strobl
b55af9a1cf
[lib] Bump version to v0.2.0
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-28 11:02:33 +01:00
Julian Strobl
c40394e8a8
[lib] Bump version to v0.1.2
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-17 11:04:10 +01:00
Julian Strobl
dbd8e07a72
[lib] Run go mod tidy
( #180 )
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-15 16:01:57 +01:00
Julian Strobl
f57d6375fe
[lib] Fix go.mod version string ( #179 )
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-15 15:28:23 +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
Lorenz Herzberger
83d493dd94
139 implement mint address param ( #174 )
...
* add MintAddress to params.proto
* ignite scaffold message update-params params:Params --module dao
* add dao get and set params
* make dao.MsgUpdateParams.Params non-nullable
* use GetMintAddress in ante handler
* adjust dao e2e test suit for mint address param
* change msg creator to authority and set gov module as default in gov proposal
* fix staticcheck error
* remove depricated config param
* fix linter errors
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-11-15 10:46:01 +01:00
dependabot[bot]
3beab6624b
Bump google.golang.org/grpc from 1.56.2 to 1.56.3 ( #163 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.56.2 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.2...v1.56.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 18:02:29 +01:00
dependabot[bot]
b7cfbd00d8
Bump golang.org/x/net from 0.12.0 to 0.17.0 ( #138 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 12:01:52 +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
b81cdb6dc9
Merge branch 'main' into 124-propose-a-liquid-issuance-to-the-network-unsigned-transaction
...
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-10-05 16:09:10 +02:00
Jürgen Eckel
c5280e8289
fixe conversion issue, added go.mod/sum
...
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-10-05 15:09:51 +02:00
dependabot[bot]
3fa4ab3adb
Bump github.com/btcsuite/btcd from 0.23.0 to 0.23.2 ( #113 )
...
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd ) from 0.23.0 to 0.23.2.
- [Release notes](https://github.com/btcsuite/btcd/releases )
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES )
- [Commits](https://github.com/btcsuite/btcd/compare/v0.23.0...v0.23.2 )
---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 12:39:14 +02:00
Julian Strobl
d4eed021c8
[go.mod] Switch module to github.com ( #86 )
...
This is the quasi-standard and fixes the error below:
```
$ go get -u github.com/planetmint/planetmint-go@v0.1.0
go: github.com/planetmint/planetmint-go@v0.1.0: parsing go.mod:
module declares its path as: planetmint-go
but was required as: github.com/planetmint/planetmint-go
```
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-09-21 17:37:57 +02:00
Stefan Weber
2076b5d799
Update cosmos-sdk version ( #82 )
...
Signed-off-by: Stefan Weber <stefan.weber93@googlemail.com>
2023-09-18 13:25:44 +02:00
Lorenz Herzberger
05a484c8b9
implement e2e test scenario for fee distribution
...
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-08-31 16:33:22 +02:00
Jürgen Eckel
01ef2dbfd0
Improve communication to liquid issuance service ( #58 )
...
* added OSC response listener with logging
added Machine NFT issuance for each machine attestation process
added CID and Planetmint Issuer extPublicKey to the issuance process
removed type inconsistency
* added machine NFT creation criteria
* [toml] Parsing does not allow sub-structs
* made OSC listener port configurable
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
Co-authored-by: Julian Strobl <jmastr@mailbox.org>
2023-08-04 16:38:18 +02:00
Julian Strobl
4ba12f7b03
[config] Add planetmint section to app.toml
...
This patch extends `app.toml` and adds the following section with these
default values:
```
[planetmint]
watchmen-endpoint = "localhost"
watchmen-port = 7401
```
A global singleton `plmntConfig` is introduced to save and access the
values similar to how cosmos does it (see
vendor/github.com/cosmos/cosmos-sdk/types/config.go).
Different environments can be managed by changing the values in
`app.toml` and restarting the daemon.
// Closes #53
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-08-04 10:53:38 +02:00
Lorenz Herzberger
238e68808b
add config for watchmen
...
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-07-31 08:21:28 +02:00
Lorenz Herzberger
f6c96094c6
implement osc client mock on msg_attest_machine
...
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-07-31 08:14:56 +02:00
Jürgen Eckel
1b1bd2f790
pinned the chain id for the unit tests
...
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2023-07-28 13:47:25 +02:00
Lorenz Herzberger
017014317c
adjust msg_attest_machine validation
...
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-07-25 13:51:38 +02:00
dependabot[bot]
b91d4f51ef
Bump github.com/cometbft/cometbft from 0.37.1 to 0.37.2
...
Bumps [github.com/cometbft/cometbft](https://github.com/cometbft/cometbft ) from 0.37.1 to 0.37.2.
- [Release notes](https://github.com/cometbft/cometbft/releases )
- [Changelog](https://github.com/cometbft/cometbft/blob/main/CHANGELOG.md )
- [Commits](https://github.com/cometbft/cometbft/compare/v0.37.1...v0.37.2 )
---
updated-dependencies:
- dependency-name: github.com/cometbft/cometbft
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 12:23:13 +00:00
Lorenz Herzberger
b7c177aa46
add to asset e2e test suite
...
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-07-13 14:33:25 +02:00
Lorenz Herzberger
0681f4ebc2
updated go.mod
...
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-07-03 21:35:41 +02:00
Lorenz Herzberger
8261397ec1
ignite scaffold module machine
...
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-07-03 11:52:22 +02:00
Julian Strobl
7810d08780
Add initial generated code
...
```
$ ignite version
Ignite CLI version: v0.27.1
Cosmos SDK version: v0.47.3
$ ignite scaffold chain planetmint-go --address-prefix plmt --no-module
```
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-06-27 13:15:02 +02:00
Julian Strobl
761ee6792c
Add initial structure
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-03-01 14:32:47 +01:00