Skip to content
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 ExecutorApp #595

Merged
merged 9 commits into from
Apr 8, 2024
Merged

Conversation

pythonberg1997
Copy link
Contributor

@pythonberg1997 pythonberg1997 commented Mar 20, 2024

Description

This pr is to add a new crossApp ExecutorApp which is used for executing msg from BSC.

For more information, please refer to BEP363.

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add new cross chain channel ExecutorChannel and corresponding cross app ExecutorApp

switch MsgType(msg.Type) {
case MsgTypeCreatePaymentAccount:
var gnfdMsg paymentmoduletypes.MsgCreatePaymentAccount
err = gnfdMsg.Unmarshal(msg.Data)
Copy link
Collaborator

@unclezoro unclezoro Mar 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each message should do BasicCheck (a interface of Message) before check the signer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

unclezoro
unclezoro previously approved these changes Apr 8, 2024
@pythonberg1997 pythonberg1997 added this pull request to the merge queue Apr 8, 2024
Merged via the queue into bnb-chain:develop with commit 0702cf0 Apr 8, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants