* aligning imports
* added config/upgrade-v0.13.0.json upgrade description to make upgrades to v0.13.0 more flexible
content should look as
{ "der-upgrade-height": 2198251 }
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
* added DER module
* scaffold type --module der DER zigbeeID dirigeraID dirigeraMAC plmntAddress liquidAddress
* ./ignite scaffold message registerDER der:DER --module der
* changed URL
* storing DER
* added query
* added liquid der asset type
* added der asset notarization logic
* added nft notarization for DER
* added nft query
* added query and fixed linter aspects
* added store testcases to the der module
* added test cases adjusted to the linter requirements
* addd ignite generate code changes
* added metadata json instead of specific data
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
* added panic if there is no key pair that can be used for the node (keystore or trustwallet)
* renamed GetValidatorAddress to GetNodeAddress
* fixed lib/test/e2e failing test case. The issue is an internal race condition of the unit test network in case of 1 node. Moving to two nodes solves the issue with the test case. In case of 1 validator, the first chain interaction happens before the address environment variables are set
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
* added test case to cover and identifiy cases Distribution result caused creashes.
e.g. "" is resolved as an address during DistributionResult this case is now covered.
Hopefully, the test case will detect issues in the future
* added old initiator format to the test cases
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
* put validator rewards into else case to protect the claim object against bogus values
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
* refactor(mqtt): load end of app.new
* feat(mqtt): switch to proper logging instance
* refactor(mqtt): dry
* refactor(mqtt): do not start log message with uppercase
closes#435
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
some query commands use pagination when delivering results:
```
pageReq, err := client.ReadPageRequest(cmd.Flags())
if err != nil {
return err
}
```
to be able to use this feature, we need to add pagination related flags
to the `cmd`.
* chore(lint): exclude query files from `dupl`
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
with `copyloopvar`, which needs Go 1.22.
* chore(ci): bump go version to v1.22
* fix(ci): pin release pipeline to go v1.22
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
* refactor: IsValidatorBlockProposer no longer accepts proposerAddress because already given in ctx
* refactor: make use of ctx.BlockHeader().ProposerAddress to ensure correct Proposer
* fix: linter error because no longer in use* feat: add call logging to MQTT mock
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
* fix: ConsensusVersion on machine module
* fix: use correct key to store activated ta counter on migration
---------
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
* feat: add validator pop reward as chain param
* feat: add store for challenge initiator reward amount indexed by height
* feat: add validator PoP reward calculation between distributions
* fix: remove paralleltest lint rule due to data race
---------
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>