You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a list of recommended compiler assertions developers should add into their module.
Problem Definition
The API for several functions such as BeginBlock, EndBlock, InitGenesis and ExportGenesis has changed and most of theses functions are now optional removing compiler safety by default, but developers can reference the new Has interfaces to ensure their function implements the expected interface correctly.
Proposed Feature
Add a list of Has interface compiler assertions developers can copy over as necessary, such as:
Summary
Add a list of recommended compiler assertions developers should add into their module.
Problem Definition
The API for several functions such as
BeginBlock
,EndBlock
,InitGenesis
andExportGenesis
has changed and most of theses functions are now optional removing compiler safety by default, but developers can reference the newHas
interfaces to ensure their function implements the expected interface correctly.Proposed Feature
Add a list of
Has
interface compiler assertions developers can copy over as necessary, such as:you may include only the new interfaces if you like
ref: cosmos/ibc-go#4647, cosmos/ibc-go#4557, cosmos/ibc-go#4563, cosmos/ibc-go#4466
The text was updated successfully, but these errors were encountered: