Skip to content

Commit d632b4c

Browse files
committed
Initial commit
0 parents  commit d632b4c

File tree

634 files changed

+171171
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

634 files changed

+171171
-0
lines changed

.clang-format

+116
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
---
2+
Language: Proto
3+
# BasedOnStyle: LLVM
4+
AccessModifierOffset: -2
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveAssignments: true
7+
AlignConsecutiveDeclarations: true
8+
AlignEscapedNewlines: Right
9+
AlignOperands: true
10+
AlignTrailingComments: true
11+
AllowAllParametersOfDeclarationOnNextLine: true
12+
AllowShortBlocksOnASingleLine: true
13+
AllowShortCaseLabelsOnASingleLine: false
14+
AllowShortFunctionsOnASingleLine: Empty
15+
AllowShortIfStatementsOnASingleLine: false
16+
AllowShortLoopsOnASingleLine: false
17+
AlwaysBreakAfterDefinitionReturnType: None
18+
AlwaysBreakAfterReturnType: None
19+
AlwaysBreakBeforeMultilineStrings: false
20+
AlwaysBreakTemplateDeclarations: false
21+
BinPackArguments: true
22+
BinPackParameters: true
23+
BraceWrapping:
24+
AfterClass: false
25+
AfterControlStatement: false
26+
AfterEnum: false
27+
AfterFunction: false
28+
AfterNamespace: false
29+
AfterObjCDeclaration: false
30+
AfterStruct: false
31+
AfterUnion: false
32+
AfterExternBlock: false
33+
BeforeCatch: false
34+
BeforeElse: false
35+
IndentBraces: false
36+
SplitEmptyFunction: true
37+
SplitEmptyRecord: true
38+
SplitEmptyNamespace: true
39+
BreakBeforeBinaryOperators: None
40+
BreakBeforeBraces: Attach
41+
BreakBeforeInheritanceComma: false
42+
BreakBeforeTernaryOperators: true
43+
BreakConstructorInitializersBeforeComma: false
44+
BreakConstructorInitializers: BeforeColon
45+
BreakAfterJavaFieldAnnotations: false
46+
BreakStringLiterals: true
47+
ColumnLimit: 120
48+
CommentPragmas: '^ IWYU pragma:'
49+
CompactNamespaces: false
50+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
51+
ConstructorInitializerIndentWidth: 4
52+
ContinuationIndentWidth: 4
53+
Cpp11BracedListStyle: true
54+
DerivePointerAlignment: false
55+
DisableFormat: false
56+
ExperimentalAutoDetectBinPacking: false
57+
FixNamespaceComments: true
58+
ForEachMacros:
59+
- foreach
60+
- Q_FOREACH
61+
- BOOST_FOREACH
62+
IncludeBlocks: Preserve
63+
IncludeCategories:
64+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
65+
Priority: 2
66+
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
67+
Priority: 3
68+
- Regex: '.*'
69+
Priority: 1
70+
IncludeIsMainRegex: '(Test)?$'
71+
IndentCaseLabels: false
72+
IndentPPDirectives: None
73+
IndentWidth: 2
74+
IndentWrappedFunctionNames: false
75+
JavaScriptQuotes: Leave
76+
JavaScriptWrapImports: true
77+
KeepEmptyLinesAtTheStartOfBlocks: true
78+
MacroBlockBegin: ''
79+
MacroBlockEnd: ''
80+
MaxEmptyLinesToKeep: 1
81+
NamespaceIndentation: None
82+
ObjCBlockIndentWidth: 2
83+
ObjCSpaceAfterProperty: false
84+
ObjCSpaceBeforeProtocolList: true
85+
PenaltyBreakAssignment: 2
86+
PenaltyBreakBeforeFirstCallParameter: 19
87+
PenaltyBreakComment: 300
88+
PenaltyBreakFirstLessLess: 120
89+
PenaltyBreakString: 1000
90+
PenaltyExcessCharacter: 1000000
91+
PenaltyReturnTypeOnItsOwnLine: 60
92+
PointerAlignment: Right
93+
RawStringFormats:
94+
- Delimiters:
95+
- pb
96+
Language: TextProto
97+
BasedOnStyle: google
98+
ReflowComments: true
99+
SortIncludes: true
100+
SortUsingDeclarations: true
101+
SpaceAfterCStyleCast: false
102+
SpaceAfterTemplateKeyword: true
103+
SpaceBeforeAssignmentOperators: true
104+
SpaceBeforeParens: ControlStatements
105+
SpaceInEmptyParentheses: false
106+
SpacesBeforeTrailingComments: 1
107+
SpacesInAngles: false
108+
SpacesInContainerLiterals: false
109+
SpacesInCStyleCastParentheses: false
110+
SpacesInParentheses: false
111+
SpacesInSquareBrackets: false
112+
Standard: Cpp11
113+
TabWidth: 8
114+
UseTab: Never
115+
...
116+

.codecov.yml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#
2+
# This codecov.yml is the default configuration for
3+
# all repositories on Codecov. You may adjust the settings
4+
# below in your own codecov.yml in your repository.
5+
#
6+
coverage:
7+
precision: 2
8+
round: down
9+
range: 70...100
10+
11+
status:
12+
# Learn more at https://docs.codecov.io/docs/commit-status
13+
project:
14+
default:
15+
threshold: 1% # allow this much decrease on project
16+
app:
17+
target: 70%
18+
flags:
19+
- app
20+
modules:
21+
target: 70%
22+
flags:
23+
- modules
24+
client:
25+
flags:
26+
- client
27+
changes: false
28+
29+
comment:
30+
layout: "reach, diff, files"
31+
behavior: default # update if exists else create new
32+
require_changes: true
33+
34+
flags:
35+
app:
36+
paths:
37+
- "app/"
38+
- "baseapp/"
39+
modules:
40+
paths:
41+
- "core/"
42+
- "!modules/core/**/client/" # ignore client package
43+
client:
44+
paths:
45+
- "client/"
46+
- "core/**/client/"
47+
48+
ignore:
49+
- "docs"
50+
- "*.md"
51+
- "**/*.pb.go"
52+
- "**/*.pb.gw.go"
53+
- "modules/**/**/**/*.pb.go"
54+
- "modules/**/**/**/*.pb.gw.go"
55+
- "modules/**/**/**/test_common.go"
56+
- "testing/"
57+
- "scripts/"

.github/CODEOWNERS

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# CODEOWNERS: https://help.github.com/articles/about-codeowners/
2+
3+
* @colin-axner @AdityaSripal @crodriguezvega @seantking @charleenfei @damiannolan
4+
5+
# Order is important; the last matching pattern takes the most
6+
# precedence. When someone opens a pull request that only
7+
# modifies 27-interchain-accounts files, only the interchain account owners
8+
# and not the global owner(s) will be requested for a review.
9+
10+
# CODEOWNERS for the CODEOWNER file
11+
12+
/.github/CODEOWNERS @colin-axner @AdityaSripal @crodriguezvega
13+
14+
# CODEOWNERS for the core IBC module
15+
16+
/modules/core/ @colin-axner @fedekunze @AdityaSripal
17+
/proto/core/ @colin-axner @fedekunze @AdityaSripal
18+
19+
# CODEOWNERS for the light-clients
20+
21+
/modules/light-clients/ @colin-axner @fedekunze @AdityaSripal
22+
/proto/lightclients/ @colin-axner @fedekunze @AdityaSripal
23+
24+
# CODEOWNERS for ICS 20
25+
26+
/modules/apps/transfer/ @colin-axner @fedekunze @AdityaSripal
27+
/proto/applications/transfer/ @colin-axner @fedekunze @AdityaSripal
28+
29+
# CODEOWNERS for interchain-accounts module
30+
31+
/modules/apps/27-interchain-accounts/ @seantking @colin-axner @AdityaSripal @damiannolan
32+
/proto/applications/interchain_accounts/ @seantking @colin-axner @AdityaSripal @damiannolan

.github/ISSUE_TEMPLATE/bug-report.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us squash bugs!
4+
5+
---
6+
7+
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
8+
v ✰ Thanks for opening an issue! ✰
9+
v Before smashing the submit button please review the template.
10+
v Please also ensure that this is not a duplicate issue :)
11+
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->
12+
13+
<!--
14+
IMPORTANT: Prior to opening a bug report, check if it affects one of the core modules
15+
and if its elegible for a bug bounty on `SECURITY.md`. Bugs that are not submitted
16+
through the appropriate channels won't receive any bounty.
17+
-->
18+
19+
## Summary of Bug
20+
21+
<!-- Concisely describe the issue -->
22+
23+
## Version
24+
25+
<!-- git commit hash or release version -->
26+
27+
## Steps to Reproduce
28+
29+
<!-- What commands in order should someone run to reproduce your problem? -->
30+
31+
____
32+
33+
#### For Admin Use
34+
35+
- [ ] Not duplicate issue
36+
- [ ] Appropriate labels applied
37+
- [ ] Appropriate contributors tagged/assigned
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Feature Request
3+
about: Create a proposal to request a feature
4+
5+
---
6+
7+
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
8+
v ✰ Thanks for opening an issue! ✰
9+
v Before smashing the submit button please review the template.
10+
v Word of caution: poorly thought-out proposals may be rejected
11+
v without deliberation
12+
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->
13+
14+
## Summary
15+
16+
<!-- Short, concise description of the proposed feature -->
17+
18+
## Problem Definition
19+
20+
<!-- Why do we need this feature?
21+
What problems may be addressed by introducing this feature?
22+
What benefits does the ibc-go stand to gain by including this feature?
23+
Are there any disadvantages of including this feature? -->
24+
25+
## Proposal
26+
27+
<!-- Detailed description of requirements of implementation -->
28+
29+
____
30+
31+
#### For Admin Use
32+
33+
- [ ] Not duplicate issue
34+
- [ ] Appropriate labels applied
35+
- [ ] Appropriate contributors tagged/assigned

.github/PULL_REQUEST_TEMPLATE.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
2+
v ✰ Thanks for creating a PR! ✰
3+
v Before smashing the submit button please review the checkboxes.
4+
v If a checkbox is n/a - please still include it but + a little note why
5+
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->
6+
7+
## Description
8+
9+
<!-- Add a description of the changes that this PR introduces and the files that
10+
are the most critical to review.
11+
-->
12+
13+
closes: #XXXX
14+
15+
---
16+
17+
Before we can merge this PR, please make sure that all the following items have been
18+
checked off. If any of the checklist items are not applicable, please leave them but
19+
write a little note why.
20+
21+
- [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/ibc-go/blob/master/CONTRIBUTING.md#pr-targeting))
22+
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
23+
- [ ] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules/structure.md).
24+
- [ ] Wrote unit and integration [tests](https://github.com/cosmos/ibc-go/blob/master/CONTRIBUTING.md#testing)
25+
- [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`)
26+
- [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code).
27+
- [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md`
28+
- [ ] Re-reviewed `Files changed` in the Github PR explorer
29+
- [ ] Review `Codecov Report` in the comment section below once CI passes

.github/dependabot.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
- package-ecosystem: gomod
9+
directory: "/"
10+
schedule:
11+
interval: daily
12+
open-pull-requests-limit: 10
13+
reviewers:
14+
- colin-axner
15+
- fedekunze
16+
- AdityaSripal
17+
labels:
18+
- dependencies

.github/mergify.yml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
queue_rules:
2+
- name: default
3+
conditions:
4+
- "#approved-reviews-by>=1"
5+
- base=main
6+
- label=automerge
7+
8+
pull_request_rules:
9+
- name: automerge to main with label automerge and branch protection passing
10+
conditions:
11+
- "#approved-reviews-by>=1"
12+
- base=main
13+
- label=automerge
14+
actions:
15+
queue:
16+
name: default
17+
method: squash
18+
commit_message_template: |
19+
{{ title }} (#{{ number }})
20+
{{ body }}
21+
- name: backport patches to v1.1.x branch
22+
conditions:
23+
- base=main
24+
- label=backport-to-v1.1.x
25+
actions:
26+
backport:
27+
branches:
28+
- release/v1.1.x
29+
- name: backport patches to v1.2x branch
30+
conditions:
31+
- base=main
32+
- label=backport-to-v1.2.x
33+
actions:
34+
backport:
35+
branches:
36+
- release/v1.2.x
37+
- name: backport patches to v2.0.x branch
38+
conditions:
39+
- base=main
40+
- label=backport-to-v2.0.x
41+
actions:
42+
backport:
43+
branches:
44+
- release/v2.0.x
45+
- name: backport patches to v3.0.x branch
46+
conditions:
47+
- base=main
48+
- label=backport-to-v3.0.x
49+
actions:
50+
backport:
51+
branches:
52+
- release/v3.0.x

0 commit comments

Comments
 (0)