-
Notifications
You must be signed in to change notification settings - Fork 388
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
chore: relocate tm2/std.MemFile in gnovm/std #2910
Conversation
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2910 +/- ##
==========================================
+ Coverage 63.39% 63.59% +0.19%
==========================================
Files 565 566 +1
Lines 79457 79614 +157
==========================================
+ Hits 50375 50633 +258
+ Misses 25691 25589 -102
- Partials 3391 3392 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I chose to create I removed the .pb.go files that were added forcefully. Should I revert this change? |
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
I have a more general question - why do we name anything |
Right now, we refer to these as "lowest level types." The closest name we have is "sys," and the system contracts are currently named "r/sys." We also considered naming them "r/std." Essentially, this serves as our standard for low-level system components. In this repository, we have three standard packages designed to be imported to connect with the components without loading other parts (lightweight, no side effects). An alternative for the Go side would be to rename them to "types." However, it's important to distinguish between "system/low-level types" and "all types." One invites connection with a minimal API (communication layer), while the other is more internal and advanced. I'm open to reconsidering a renaming, although I believe we will likely prefer to stick with the current approach. My question is about balancing independence with unifying gnovm's standard messages. |
Signed-off-by: moul <[email protected]>
By the way, the relocation is complete, and the CI is green. I have two other PRs in mind that will depend on merging this one. Please feel free to review it, and we can discuss the "naming" topic later, maybe. |
Signed-off-by: moul <[email protected]>
Discussing the naming with @gfanton. Another suitable location for |
Let me take a peek at this before merging please 🙏 |
I also feel that @moul, what do you think about simply prefixing the package name (not the structure, as mentioned in the review meeting) like In any case, I don't believe we should block this PR for this, as it's not a regression. Let's open an issue so we can revisit this later. |
TODO: relocate to |
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
PR gnolang/gno#2910 moved `MemPackage` to the gnovm package. We want to track the latest gnolang/gno code. This PR updates to use the latest gnolang/gno and changes the reference of `MemPackage` to gnovm. After we merge this PR, we will update gnokey-mobile to use this latest gnonative, which is possible because gnokey-mobile no longer uses a replace for gnolang/gno. Signed-off-by: Jeff Thompson <[email protected]>
Introducing the concept of "ChainDomain," a local primary domain for packages. The next step, which will be another PR, is to ensure that we can launch a gnoland/gnodev instance while importing a local folder or using a genesis to preload packages from other domains. This will allow users to add packages only to the primary domain while accessing packages from multiple domains. The result will be a preview of the upcoming IBC era, where a single chain can add packages only to its domain but can fetch missing dependencies from other registered zones. - [x] gnovm unaware of gno.land, just accepting valid domains - [x] vmkeeper initialized with a domain - [x] Stdlib to know the current primary domain + new std.ChainDomain - [x] new unit tests around custom domains Depends on #2910 Depends on #3003 Blocks a new PR that will add multidomain support. Related with #2904 (comment) --------- Signed-off-by: moul <[email protected]> Co-authored-by: n0izn0iz <[email protected]> Co-authored-by: Mikael VALLENET <[email protected]> Co-authored-by: Morgan <[email protected]>
Introducing the concept of "ChainDomain," a local primary domain for packages. The next step, which will be another PR, is to ensure that we can launch a gnoland/gnodev instance while importing a local folder or using a genesis to preload packages from other domains. This will allow users to add packages only to the primary domain while accessing packages from multiple domains. The result will be a preview of the upcoming IBC era, where a single chain can add packages only to its domain but can fetch missing dependencies from other registered zones. - [x] gnovm unaware of gno.land, just accepting valid domains - [x] vmkeeper initialized with a domain - [x] Stdlib to know the current primary domain + new std.ChainDomain - [x] new unit tests around custom domains Depends on gnolang#2910 Depends on gnolang#3003 Blocks a new PR that will add multidomain support. Related with gnolang#2904 (comment) --------- Signed-off-by: moul <[email protected]> Co-authored-by: n0izn0iz <[email protected]> Co-authored-by: Mikael VALLENET <[email protected]> Co-authored-by: Morgan <[email protected]>
Introducing the concept of "ChainDomain," a local primary domain for packages. The next step, which will be another PR, is to ensure that we can launch a gnoland/gnodev instance while importing a local folder or using a genesis to preload packages from other domains. This will allow users to add packages only to the primary domain while accessing packages from multiple domains. The result will be a preview of the upcoming IBC era, where a single chain can add packages only to its domain but can fetch missing dependencies from other registered zones. - [x] gnovm unaware of gno.land, just accepting valid domains - [x] vmkeeper initialized with a domain - [x] Stdlib to know the current primary domain + new std.ChainDomain - [x] new unit tests around custom domains Depends on gnolang#2910 Depends on gnolang#3003 Blocks a new PR that will add multidomain support. Related with gnolang#2904 (comment) --------- Signed-off-by: moul <[email protected]> Co-authored-by: n0izn0iz <[email protected]> Co-authored-by: Mikael VALLENET <[email protected]> Co-authored-by: Morgan <[email protected]>
Introducing the concept of "ChainDomain," a local primary domain for packages. The next step, which will be another PR, is to ensure that we can launch a gnoland/gnodev instance while importing a local folder or using a genesis to preload packages from other domains. This will allow users to add packages only to the primary domain while accessing packages from multiple domains. The result will be a preview of the upcoming IBC era, where a single chain can add packages only to its domain but can fetch missing dependencies from other registered zones. - [x] gnovm unaware of gno.land, just accepting valid domains - [x] vmkeeper initialized with a domain - [x] Stdlib to know the current primary domain + new std.ChainDomain - [x] new unit tests around custom domains Depends on gnolang#2910 Depends on gnolang#3003 Blocks a new PR that will add multidomain support. Related with gnolang#2904 (comment) --------- Signed-off-by: moul <[email protected]> Co-authored-by: n0izn0iz <[email protected]> Co-authored-by: Mikael VALLENET <[email protected]> Co-authored-by: Morgan <[email protected]>
Introducing the concept of "ChainDomain," a local primary domain for packages. The next step, which will be another PR, is to ensure that we can launch a gnoland/gnodev instance while importing a local folder or using a genesis to preload packages from other domains. This will allow users to add packages only to the primary domain while accessing packages from multiple domains. The result will be a preview of the upcoming IBC era, where a single chain can add packages only to its domain but can fetch missing dependencies from other registered zones. - [x] gnovm unaware of gno.land, just accepting valid domains - [x] vmkeeper initialized with a domain - [x] Stdlib to know the current primary domain + new std.ChainDomain - [x] new unit tests around custom domains Depends on #2910 Depends on #3003 Blocks a new PR that will add multidomain support. Related with #2904 (comment) --------- Signed-off-by: moul <[email protected]> Co-authored-by: n0izn0iz <[email protected]> Co-authored-by: Mikael VALLENET <[email protected]> Co-authored-by: Morgan <[email protected]>
This PR removes "gno.land" from all
tm2/.../*.go
files.