17 Commits

Author SHA1 Message Date
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
Lorenz Herzberger
56ad4822d8
Add custom ante handler (#76)
* add initial custom ante handler
* implement CheckMachineDecorator.AnteHandle
* add machine error code
* add TA check to antehandler
* change machine error codes

---------

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-09-20 16:27:16 +02:00
Julian Strobl
46b25d4ff5
Rename addresses from cosmos* to plmnt* (#68)
// See https://github.com/rddl-network/issues/issues/33

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-09-14 10:49:05 +02:00
Lorenz Herzberger
e33452476f
adjust test suite for ta validation
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-09-06 15:13:06 +02:00
Lorenz Herzberger
8b072d3186
Merge pull request #71 from planetmint/70-add-ta-registry
70 add ta registry
2023-09-06 11:02:46 +02:00
Lorenz Herzberger
51dfde22e1
add trust anchor type to machine module
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-09-05 14:19:59 +02:00
Lorenz Herzberger
e612ae78f4
ignite scaffold module dao --dep bank,account
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-08-28 12:54:55 +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
555b61f278
Revert AccountAddressPrefix to default
Turns out that we have a bunch of tests and setups, that need to default
identifier.

We decided to change this value at a later point in time and make the
transition in alignment.

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-24 10:47:04 +02:00
Julian Strobl
359cbbc5d9
[lint] Switch to golangci-lint and fix errors
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-19 16:34:42 +02:00
Julian Strobl
05eccd9a8d
[staticcheck] Fix findings
Disable checking in generated `query.pb.gw.go` files.

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-07 10:37:22 +02:00
Julian Strobl
df23c3db05
Reduce cognitive complexity
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-05 15:04:34 +02:00
Julian Strobl
72b3a440d2
Define a constant instead of duplicating the literal
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-05 13:12:14 +02:00
Lorenz Herzberger
a8d91a4ced
ignite scaffold module asset --dep machine
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-07-03 15:12:56 +02:00
Lorenz Herzberger
ae324eb591
added machine keeper
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-07-03 14:32:14 +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