Skip to content

feat: partial separation of dynamiclink into wasmplus #22

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

Closed
wants to merge 178 commits into from

Conversation

da1suk8
Copy link
Member

@da1suk8 da1suk8 commented Apr 6, 2023

Description

The dynamiclink branch was partially separated into wasmplus.

Separation Process

  1. Merge to 60fec8a where the separation was made. Check the difference.
  2. Merge to 514953c
  3. Check the difference, and partially separated

Because the cosmwasmAPI is not exposed to the outside world, it could not be separated.
It is necessary to use a different method for separation.

When Finschia/wasmvm#94 is merged, update commit-hash and add CHANGELOG.

  • commit-hash
  • CHANGELOG

How has this been tested?

make build
make test

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.
  • I have updated API documentation client/docs/swagger-ui/swagger.yaml

dependabot bot and others added 30 commits May 12, 2022 08:12
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](spf13/cast@v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cast
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v1.12.1...v1.12.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
* Publish protobufs on release tags

* Fix regex to match also rc versions
…ithub.com/prometheus/client_golang-1.12.2

Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
* Fix wasm simulations + make functions compatible with tgrade

* Fix lint issues

* Fix simulation setup

* Make simulations store msg pass

* Use default values params to make operations succeed

* Normalize wasm store

* Add simulations to circleci config

* Run simulation in temp dir

* Store sim logs

* Increase circleci machine type

* Extract reflect contract api into helper

* Add execute msg to simulations

* Embed refect wasm contract

Co-authored-by: Pino' Surace <[email protected]>
feat: setup and run script in dockerfile
…ithub.com/spf13/cast-1.5.0

Bump github.com/spf13/cast from 1.4.1 to 1.5.0
Remove unused NegotiateAppVersion ibc callback
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…ithub.com/stretchr/testify-1.7.2

Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.7.2...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…ithub.com/stretchr/testify-1.8.0

Bump github.com/stretchr/testify from 1.7.2 to 1.8.0
Output events are not part of consensus and can be non-deterministic
da1suk8 added 3 commits April 5, 2023 17:48
This is because it references cosmwasmAPI, which is not exposed
to the outside world
@da1suk8 da1suk8 self-assigned this Apr 6, 2023
@github-advanced-security
Copy link

You have successfully added a new CodeQL configuration .github/workflows/codeql-analizer.yml:CodeQL-Build. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@da1suk8 da1suk8 marked this pull request as ready for review April 7, 2023 07:56
@da1suk8
Copy link
Member Author

da1suk8 commented Apr 7, 2023

As for the TestCheckLibwasmVersion that fails in ci, it succeed if the commit of wasmvm is set appropriately instead of replace in go.mod.

@loloicci
Copy link

commit titles of fcc1b46 and ce22554 do not start with the kind of the commit. (for example fix, feat, ci, ...)

Kynea0b
Kynea0b previously approved these changes Apr 12, 2023
@da1suk8 da1suk8 changed the title feat: partial separation of dynamiclink into wasmplus feat: partial separation of dynamiclink into wasmplus Apr 12, 2023
@da1suk8 da1suk8 requested a review from Kynea0b April 12, 2023 09:20
@@ -0,0 +1,8 @@
package params
Copy link

Choose a reason for hiding this comment

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

Is this file needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

The following is added according to main branch.

@loloicci
Copy link

Can fcc1b46 's api access the wasmplus's keeper?
It needs to get "is inactive contract" in "call callable point" which will be added in Finschia/wasmvm#102.

@da1suk8
Copy link
Member Author

da1suk8 commented Apr 13, 2023

@loloicci

Can fcc1b46 's api access the wasmplus's keeper?
It needs to get "is inactive contract" in "call callable point" which will be added in Finschia/wasmvm#102.

Access is not possible.
Since it is a circular reference, it may need to be separated in a different way.

I created #25
I will deal with this in a separate issue.

@da1suk8
Copy link
Member Author

da1suk8 commented Apr 14, 2023

I will consider using a different method to partial separate dynamiclink into wasmplus since they are incompatible with #26.
From now on, this issue will be handled #25, and the PR here will be closed.

@da1suk8 da1suk8 closed this Apr 14, 2023
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.