-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add multi message support for greenfield crosschain app #417
Conversation
crash, result := executeClaim(cacheCtx, crossChainApp, srcChainId, sequence, pack.Payload, &packageHeader) | ||
|
||
if pack.ChannelId == types.MultiMessageChannelId { | ||
crash, result = k.handleMultiMessagePackage(cacheCtx, pack, &packageHeader, srcChainId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a hardfork, isn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, will add upgrade for it
Address, _ = abi.NewType("address", "", nil) | ||
|
||
MessageTypeArgs = abi.Arguments{ | ||
{Name: "ChannelId", Type: Uint8}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could use {Name: "ChannelId", Type: "uint8"}
directly. No need to define a new type Uint8
. So do other primary types.
Rebase develop branch and add hardfork logic |
Description
add multi message support for greenfield crosschain app
Rationale
support multi messages in a crosschain package from BSC
Changes
Notable changes: