Coder Social home page Coder Social logo

avail-campaign-listing's Introduction

The Karnot x Avail campaign has been paused until further notice. This means we won't be merging new PRs at the moment. However, if your PR has already been merged, you can continue to run your node. You can follow us here to get future updates

Avail Clash of Nodes Listing

This is the official repo for the Karnot CLI and the Avail Clash of Nodes campaign. If you want your app chain to be listed and ranked for the campaign, please create a PR on this repo which adds a JSON in the following format to listing.json.

{
  "name": "my_app_chain",
  "logo": "https://placehold.co/400x400",
  "rpc_url": "https://rpc.myappchain.xyz",
  "explorer_url": "https://explorer.myappchain.xyz",
  "metrics_endpoint": "https://metrics.myappchain.xyz",
  "id": "942ff35e-f048-4d10-ae61-6cb970cad2f0"
}

Details

  1. name: The name of your app chain.
  2. logo: A image link for the logo of your app chain
  3. rpc_url: A public endpoint for your app chain to make RPC calls (port 9944 by default)
  4. explorer_url: A public endpoint where your app chain explorer is visible
  5. metrics_endpoint: A public endpoint for your prometheus metrics (port 9615 by default)

PR instructions

  1. Checkout from the main branch
  2. Create a UUID. You can use an online generator.
  3. Create a file with the name <uuid>.json inside the app_chains folder (uuid is the id generated in step 1).
  4. Enter all the details mentioned above inside the JSON file.
  5. Create a PR with the name "✨ Adding <app_chain_name>"
  6. Wait for all CI checks to pass
  7. Make sure you're on the latest main version. If you're not, you should see an Update branch button on the PR page
  8. If all your CI checks are passing, your branch should automatically merge.

Checkout this sample PR.

FAQs

How to fix prettier?

Install npx and run npx prettier@latest --write . on the repo root.

My validate-entry check keeps failing

Make sure all your entrypoints (rpc_url, explorer_url, metrics_endpoint) are up and working correctly.

My check-file-changes check keeps failing

Make sure that you're only adding one file in your PR. This should be a .json file in the above mentioned format and should be inside the app_chains folder.

avail-campaign-listing's People

Contributors

34btc66 avatar aioowq avatar akodakolol avatar anukkrit149 avatar apoorvsadana avatar baharew avatar bunyamingurler avatar ceycey61 avatar dylanma1994 avatar gcgolf avatar greyminty avatar hamzin047 avatar iiisaacchen avatar justlinux avatar kavandgo avatar kucinggarongxyz avatar littleboyate avatar merveus avatar moretza269x avatar mrsonic30 avatar narodkebabci avatar ramythcz avatar tenten62c3 avatar vikichman avatar web5star avatar xbtmrt0 avatar xdemirx avatar yigidoumit avatar yunuso06 avatar yyyyangdan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avail-campaign-listing's Issues

Forgot to add /metrics in the end of metric_endpoint

Hi
I create a PR for madara node and it's merged successfully but I made a mistake and forgot to add "/metrics" in the end of metric_endpoint in JSON file.is this an issue or it doesn't matter?
this is my json config:
{
"name": "smartcat",
"logo": "https://i.ibb.co/WH5btBS/smartcat-logo.png",
"rpc_url": "http://65.109.181.53:9944",
"explorer_url": "http://65.109.181.53:4000",
"metrics_endpoint": "http://65.109.181.53:9615",
"id": "25949488-58ec-4594-b969-345958d8afad"
}

Add GitHub Action to validate entries

  • Add GitHub Action to validate entries

This updated code adds a new GitHub Action workflow for validating entries. The workflow runs on every push and pull request to the main branch, using Python 3.9 on Ubuntu. It then installs necessary dependencies and runs a script to validate the entries.

  • Refactor formatting for GitHub Action validation workflow

This code revision doesn't introduce new functionality; it merely refines the formatting within the GitHub Actions validation workflow file. It precisely adjusts the structure around the "main" branch triggers, ensuring a cleaner, more readable workflow definition.

Adding to the leaderboard bug !

Hi, I created my rollup and successfuly uploaded the .json config on the github repo 8 days ago
But when I uploaded, a notification was given in Discord that there was a problem with the leaderboard, and after the problem is solved, the roll-ups will be added.
however the name of my application is still not visible on the avail leaderboard after a week
Everything in my rollup is OK, please check it manualy again
#4330
Screenshot 2024-02-15 160449

can't export-blocks while chain is running

Error: Service(Client(Backend("IO error: While lock file: /root/.madara/app-chains/wincll/data/chains/dev/db/full/LOCK: Resource temporarily unavailable")))

Does the underlying database allow that?

Merge

passed my workflow but not approved the merge. please check

prettier issue

Hello,I installed prettier directly on the server, and used the command npx prettier@latest --write to format json, but it kept getting errors after uploading, and the same happened when I modified it online. Please fix it.

Merge problem

passed my workflow but not approved the merge. please check

Updating godofsol App chain

I changed my IP Address on my json file due to closing of my previous server. I updated the json file in app chain ( 060472da-e7ef-48d1-9115-6cb283385466 ). It didn't passed automatic merge ( I have a previous app chain ) I think you should have to look/approve it manually on my ongoing pull request. Thanks in advance

Workflow validate.py Validation Failure Due to Unrelated Commit

Description

I've encountered an issue where the validate.py script in our GitHub Actions workflow is failing during execution. Upon debugging, it appears the failure is not related to my recent commits but rather due to an error triggered by a previous, unrelated commit.

Error Details

The validation script fails when attempting to process the following object:

{
  "name": "Sunkripto",
  "logo": "https://i.imgur.com/Fcvf7uS.png",
  "rpc_url": "http://62.171.186.40:9944",
  "explorer_url": "http://62.171.186.40:4000",
  "metrics_endpoint": "http://62.171.186.40:9615/metrics",
  "id": "f6b8dce9-a318-4296-b8f9-4e89e189a99c"
}

The specific error message received is:

Error: URL not working - <urllib3.connection.HTTPConnection object at 0x7f0f15313430>: Failed to establish a new connection: [Errno 111] Connection refused
Error: Process completed with exit code 1.

Impact

This issue is blocking my ability to create a pull request, as the validation step is critical for our workflow's completion.

Steps to Reproduce

  1. Commit changes to the repository.
  2. Trigger the GitHub Actions workflow.
  3. Observe the failure in the validate.py execution step.

Expected Behavior

The validation script should successfully process all inputs, or appropriately handle errors without blocking unrelated commits.

Additional Context

It seems the problem is related to a failure in connecting to one of the URLs specified in the object. This issue may indicate a misconfiguration or an external service downtime that needs addressing.

Request

Could we investigate the root cause of this failure and implement a fix? It might involve correcting the problematic commit or enhancing the validation script to handle such errors more gracefully.

Thank you for your attention to this matter.

Validate Entry Failing

When I try to create pull request for my app chain the validate entry is always failing and I got this message on the logs. How to fix this?

CleanShot 2024-02-10 at 02 54 35@2x

Prettier detection error in PR merge

I found that the prettier detection in the PR detection additionally checked the README.md file, which had not been prettier checked, causing all the added PRs to fail to merge in.

Error: entry already exists

My pr isnt merged but it says "entry already exists or invalid" when I commit my json file. How can I fix it please? I am sure its not invalid. My pr is still öpen, help me please.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.