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

chore: rename r/system -> r/sys #1948

Merged
merged 3 commits into from
Apr 18, 2024
Merged

Conversation

moul
Copy link
Member

@moul moul commented Apr 18, 2024

  • Renamed r/system/* to r/sys.
  • Updated configuration files.
  • Added comments, documentation, and notes.

@moul moul self-assigned this Apr 18, 2024
@github-actions github-actions bot added the 🧾 package/realm Tag used for new Realms or Packages. label Apr 18, 2024
@moul moul marked this pull request as ready for review April 18, 2024 08:45
@moul moul requested review from a team as code owners April 18, 2024 08:45
Copy link

codecov bot commented Apr 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.17%. Comparing base (3d1d26c) to head (6dcfb33).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1948      +/-   ##
==========================================
- Coverage   47.78%   45.17%   -2.61%     
==========================================
  Files         393      465      +72     
  Lines       61608    68087    +6479     
==========================================
+ Hits        29437    30758    +1321     
- Misses      29701    34751    +5050     
- Partials     2470     2578     +108     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: moul <94029+moul@users.noreply.github.com>
@zivkovicmilos
Copy link
Member

The gno lint check seems to be failing:
https://github.com/gnolang/gno/actions/runs/8735186180/job/23967473480?pr=1948

Signed-off-by: moul <94029+moul@users.noreply.github.com>
Signed-off-by: moul <94029+moul@users.noreply.github.com>
@moul moul requested a review from jaekwon as a code owner April 18, 2024 10:33
@thehowl thehowl merged commit 6f54d2b into gnolang:master Apr 18, 2024
197 checks passed
omarsy pushed a commit to TERITORI/gno that referenced this pull request Apr 21, 2024
- Renamed `r/system/*` to `r/sys`.
-  Updated configuration files.
-  Added comments, documentation, and notes.

---------

Signed-off-by: moul <94029+moul@users.noreply.github.com>
zivkovicmilos added a commit that referenced this pull request Jun 12, 2024
This PR showcases a model that combines multiple contracts with defined
goals and constraints. The aim is to make everything in `sys/*` usable
by the chain (tm2 powered) efficiently, with minimal need for updates
while maintaining flexibility in usage.

The `sys/` contracts focus on defining data types and helpers to ensure
that received callbacks meet minimal constraints, like GovDAO approval.
They do not handle DAO logic or state due to complexity and
upgradability requirements for DAOs.

I won't include complete DAO examples in this PR. Imagine having these
sections once everything is done:
-  `{p,r}/sys: minimal interface with the chain`
-  `{p,r}/gov: simple DAO frameworks`
- `{p,r}/*`: where users will develop permissionless logic and propose
it to `gov` for approval using `sys` to trigger the chain.

Personal note -> try to introduce and document the notion of "pausable
threads". Related with #1974.

---

TODO:
- [x] pseudo-code for proof of conribution's valset management.
- [x] proposal example.
- [ ] pseudo-code for gnosdk v0 to catch the event and apply the change
from tm2. cc @gfanton
- [ ] add unit-tests, to illustrate the expected usage.

depends on std.Emit (#575).
depends on #1948 (need rebase).

---------

Signed-off-by: moul <94029+moul@users.noreply.github.com>
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
Co-authored-by: Milos Zivkovic <milos.zivkovic@tendermint.com>
Co-authored-by: gfanton <8671905+gfanton@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧾 package/realm Tag used for new Realms or Packages.
Projects
Status: Done
Status: ✅ Done
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants