Feature/add stake entities and params #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The functionality to save the this entities from the genesis were added too.
Details
Service
were added:Application
were added:Application
andGateway
representing the delegation of an application to a gateway.Application
andService
representing the service staked to an application.AppMsgStake
andService
representing the service staked to an application in a specific AppMsgStake.Supplier
were added:SupplierMsgStake
andService
representing the service staked to a supplier in a specific SupplierMsgStake.Supplier
andService
representing the service staked to a supplier.Gateway
were added:To be able to handle the parameters update, we added a new handler called
handleAuthzExec
. This is a message handler that is called when a message is executed by the authz module and inside of it, it has encoded messages likeMsgUpdateParams
. We are decoding thoseMsgUpdateParams
and updating the parameters accordingly.AuthzExec
andMessage
representing the message that was executed by the authz module.Other changes
GeneratedType
inside src/cosmjs directory to add type to the import statement.@subql/node-cosmos
to^4.1.4
. This version includes the fix to the block events not being emitted.@subql/cli
to^5.3.0
and@subql/types-cosmos
to^4.0.0
.getFieldsBy
of store.Issue
@subql/node-cosmos
to^4.1.4
so we can handle the block events.Type of change
Select one or more:
Sanity Checklist