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 filtering function in StargateMsg of wasm #352

Merged
merged 9 commits into from
May 8, 2024

Conversation

zemyblue
Copy link
Member

@zemyblue zemyblue commented May 3, 2024

Description

Add filtering function in StargateMsg of wasm
Current deny list is lbm.fswap.v1.* and lbm.fbridge.v1.*.

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

  • I followed the contributing guidelines and code of conduct.
  • I have added a relevant changelog to CHANGELOG.md
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.

@zemyblue zemyblue self-assigned this May 3, 2024
@zemyblue zemyblue changed the title feat: add filtering function in StargateMsg of wasm feat!: add filtering function in StargateMsg of wasm May 3, 2024
zemyblue added 3 commits May 3, 2024 14:28
Signed-off-by: zemyblue <[email protected]>
Signed-off-by: zemyblue <[email protected]>
app/wasm_filter.go Outdated Show resolved Hide resolved
app/wasm_filter_test.go Show resolved Hide resolved
@zemyblue zemyblue requested a review from tkxkd0159 May 8, 2024 03:19
app/wasm_filter.go Outdated Show resolved Hide resolved
app/wasm_filter.go Outdated Show resolved Hide resolved
@zemyblue zemyblue requested a review from loloicci May 8, 2024 04:22
da1suk8
da1suk8 previously approved these changes May 8, 2024
Copy link
Member

@da1suk8 da1suk8 left a comment

Choose a reason for hiding this comment

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

LGTM

jaeseung-bae
jaeseung-bae previously approved these changes May 8, 2024
Copy link
Contributor

@jaeseung-bae jaeseung-bae left a comment

Choose a reason for hiding this comment

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

LGTM

@Mdaiki0730
Copy link
Member

Would you add a comment or test pattern explaining why CustomMsg should not be checked?
https://github.com/Finschia/wasmvm/blob/v1.1.1-0.12.0/types/msg.go#L101

@zemyblue zemyblue dismissed stale reviews from jaeseung-bae and da1suk8 via 98370b3 May 8, 2024 05:41
Copy link
Member

@Mdaiki0730 Mdaiki0730 left a comment

Choose a reason for hiding this comment

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

LGTM

@zemyblue zemyblue requested review from jaeseung-bae and da1suk8 May 8, 2024 05:56
@zemyblue zemyblue merged commit b7df20b into Finschia:main May 8, 2024
41 checks passed
@zemyblue zemyblue deleted the feature/wasm_filtering branch May 8, 2024 06:05
@zemyblue zemyblue mentioned this pull request May 27, 2024
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.

6 participants