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: sandbox sentry nodes #2438

Closed
wants to merge 4 commits into from
Closed

chore: sandbox sentry nodes #2438

wants to merge 4 commits into from

Conversation

albttx
Copy link
Member

@albttx albttx commented Jun 25, 2024

Here is a sandbox to works on sentry nodes. see #2430

Network is 3 validators (gno1, gno2, gno3) and 2 sentry nodes (gno3-sentry-1, gno3-sentry-2).

graph TD
    gno1[Validator: gno1]
    gno2[Validator: gno2]
    gno3[Validator: gno3]
    gno3-sentry-1[Sentry Node: gno3-sentry-1]
    gno3-sentry-2[Sentry Node: gno3-sentry-2]

    gno2 --> gno1
    gno3-sentry-1 --> gno1
    gno3-sentry-2 --> gno1
    gno3 --> gno3-sentry-1
    gno3 --> gno3-sentry-2
Loading

If you need to hack on the gnoland code, download this Dockerfile in root of the gnolang/gno repo.

and run

docker build -t ghcr.io/gnolang/gno/gnoland:master --target gnoland .

# restart the docker compose.
docker compose down
docker compose up -d

@albttx albttx self-assigned this Jun 25, 2024
@albttx albttx requested a review from a team as a code owner June 25, 2024 16:33
@albttx albttx requested review from deelawn and ltzmaxwell and removed request for a team June 25, 2024 16:33
@albttx albttx marked this pull request as draft June 25, 2024 16:34
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.68%. Comparing base (4f16ad3) to head (7fbb2f8).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2438      +/-   ##
==========================================
- Coverage   54.68%   54.68%   -0.01%     
==========================================
  Files         583      583              
  Lines       78503    78503              
==========================================
- Hits        42929    42926       -3     
- Misses      32365    32368       +3     
  Partials     3209     3209              
Flag Coverage Δ
misc/autocounterd 0.00% <ø> (ø)
misc/genproto 0.00% <ø> (ø)
misc/genstd 73.90% <ø> (ø)
misc/goscan 0.00% <ø> (ø)
misc/logos 17.38% <ø> (-0.31%) ⬇️
misc/loop 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@albttx albttx marked this pull request as ready for review June 25, 2024 17:21
@albttx
Copy link
Member Author

albttx commented Jun 25, 2024

this is working fine, feel free to merge it if you want to have an example, or feel free to close it :)

cc: @moul @zivkovicmilos

@zivkovicmilos zivkovicmilos self-requested a review June 26, 2024 07:18
@moul
Copy link
Member

moul commented Jun 29, 2024

I suggest moving this good example to either the hackerspace repository or a dedicated repository for validators to share snippets and tools.

@albttx
Copy link
Member Author

albttx commented Jul 1, 2024

closing for: gnolang/hackerspace#71

@albttx albttx closed this Jul 1, 2024
@thehowl thehowl deleted the sandbox/sentry-nodes branch December 8, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants