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

Securely added CosmWasm(CW) pallet into Picasso Runtime #3574

Merged
merged 13 commits into from
May 9, 2023
Merged

Conversation

dzmitry-lahoda
Copy link
Contributor

@dzmitry-lahoda dzmitry-lahoda commented May 9, 2023

  • picasso was added with cosmwasm pallet

  • it is restricted on kusama

  • it is easy permissionless to use on rococo

  • restricted some limits (see comments about issues)

  • partially fixed Add CosmWasm pallet to Picasso #3415 , need @kkast explanation about RPC

  • weights fixes would be done when we remove restriction on kusama

  • PR title is my best effort to provide summary of changes and has clear text to be part of release notes

  • I marked PR by misc label if it should not be in release notes

  • I have linked Zenhub/Github or any other reference item if one exists

  • I was clear on what type of deployment required to release my changes (node, runtime, contract, indexer, on chain operation, frontend, infrastructure) if any in PR title or description

  • I waited and did best effort for Effect gate, automatically merged if passed(effects-job) to finish with success(green check mark) with my changes

  • I have added at least one reviewer in reviewers list

  • I tagged(@) or used other form of notification of one person who I think can handle best review of this PR

@dzmitry-lahoda dzmitry-lahoda requested review from blasrodri, kkast, RustNinja, obsessed-cake and krl and removed request for blasrodri and kkast May 9, 2023 11:22
Copy link
Contributor

@blasrodri blasrodri left a comment

Choose a reason for hiding this comment

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

My only comment is:

type CodeStackLimit = ConstU32<{ u32::MAX }>;

does it have to be so large?

@dzmitry-lahoda dzmitry-lahoda added this pull request to the merge queue May 9, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks May 9, 2023
@dzmitry-lahoda dzmitry-lahoda added this pull request to the merge queue May 9, 2023
@dzmitry-lahoda
Copy link
Contributor Author

type CodeStackLimit = ConstU32<{ u32::MAX }>;

It was set that way, I just used const instead of macro. Macro is deprecated.

We tried to find where it used, went deep to stack, not researched why its so.

@dzmitry-lahoda
Copy link
Contributor Author

We look may only into 4-5 parameters to setup, we need to ensure all are good at some point.

Merged via the queue into main with commit 422847c May 9, 2023
@dzmitry-lahoda dzmitry-lahoda deleted the dz/98 branch May 9, 2023 14:40
dzmitry-lahoda added a commit that referenced this pull request May 10, 2023
dzmitry-lahoda added a commit that referenced this pull request May 10, 2023
- picasso was added with cosmwasm pallet
- it is restricted on kusama
- it is easy permissionless to use on rococo
- restricted some limits (see comments about issues)
- partially fixed #3415
, need @kkast explanation about RPC
- weights fixes would be done when we remove restriction on kusama

- [x] PR title is my best effort to provide summary of changes and has
clear text to be part of release notes
- [x] I marked PR by `misc` label if it should not be in release notes
- [x] I have linked Zenhub/Github or any other reference item if one
exists
- [x] I was clear on what type of deployment required to release my
changes (node, runtime, contract, indexer, on chain operation, frontend,
infrastructure) if any in PR title or description
- [ ] I waited and did best effort for `Effect gate, automatically
merged if passed`(effects-job) to finish with success(green check mark)
with my changes
- [x] I have added at least one reviewer in reviewers list
- [ ] I tagged(@) or used other form of notification of one person who I
think can handle best review of this PR

---------

Co-authored-by: Obsessed Cake <[email protected]>
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.

Add CosmWasm pallet to Picasso
5 participants