laconicd/x/nitro/codec.go
Roy Crihfield 5aa2594073 Integrate go-nitro
- Add nitro server and x/nitro module
    - wire go-nitro p2p through cometbft

- Add distsig server, currently WIP
    - integrate DKG and DSS schemes into ABCI methods

- Remove deprecated features
    - crisis module
    - module invariants

- Update to use newer SDK patterns
    - upgrade sdk to v0.53.x
    - custom address codec
    - expand use of depinject
    - migrate e2e tests to system tests
    - use depinject to set up integration tests
    - change reserved protobuf field name `cerc.registry.v1.Record.type`

- Revise & add documentation
    - TransferCoinsToModuleAccount: clarify function

- Update init.sh script
2025-09-21 11:44:44 +08:00

22 lines
617 B
Go

package nitro
import (
registry "github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
"git.vdb.to/cerc-io/laconicd/x/nitro/types/v1"
)
// RegisterInterfaces registers the interfaces types with the interface registry.
func RegisterInterfaces(registry registry.InterfaceRegistry) {
registry.RegisterImplementations((*sdk.Msg)(nil),
&v1.MsgOpenChannel{},
&v1.MsgCloseChannel{},
&v1.MsgCreatePaymentChannel{},
&v1.MsgClosePaymentChannel{},
&v1.MsgPay{},
)
msgservice.RegisterMsgServiceDesc(registry, &v1.Msg_serviceDesc)
}