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

[Extra/rest] Merge from master (bump to cosmos 0.47) #321

Merged
merged 332 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
1528739
fixed typo
RogerKSI Mar 13, 2023
ee14b98
remove no used code
RogerKSI Mar 13, 2023
5203607
Merge pull request #282 from bandprotocol/cosmos-sdk-v0.46.9
RogerKSI Mar 14, 2023
fdc9261
fixed typog
RogerKSI Mar 14, 2023
25ea1a2
add ica allow msg, set globalfee mingasprice, fix bandbank migration,…
colmazia Mar 15, 2023
80abbb3
add changelog
colmazia Mar 15, 2023
464fa7b
change 2.5 to 2.6
colmazia Mar 16, 2023
f334cff
fix from comment, remove pointer
colmazia Mar 22, 2023
3184667
Merge branch 'fix-rest-query' of https://github.com/bandprotocol/chai…
colmazia Mar 22, 2023
26662fa
change function to private
colmazia Mar 22, 2023
653a422
bump to use cosmos0.46 (merge from main and fixed conflict)
RogerKSI Apr 3, 2023
5115af8
change []byte to hexbyte, move comments to proto file
colmazia Apr 7, 2023
887dc17
add comment in allow messages
colmazia Apr 12, 2023
882af37
add v2.5 upgrade handler
colmazia Apr 12, 2023
f339f95
fix yoda executor url
colmazia Apr 12, 2023
ae211bf
Merge pull request #303 from bandprotocol/add-v2.5
colmazia Apr 12, 2023
900b627
refactor upgrade file
colmazia Apr 18, 2023
76772d6
only upgrade the last one
colmazia Apr 18, 2023
b8a12c5
remove unsued var
RogerKSI Apr 21, 2023
1380ffb
remove renaming
RogerKSI Apr 21, 2023
5a0239c
Merge pull request #285 from bandprotocol/fix-rest-query
RogerKSI Apr 21, 2023
a44d3c7
Merge branch 'master' into group-module
colmazia Apr 21, 2023
883dfc9
fix error
colmazia Apr 21, 2023
15b232a
Bump github.com/hashicorp/go-getter from 1.6.1 to 1.7.0
dependabot[bot] Apr 24, 2023
73d8e97
Merge pull request #292 from bandprotocol/dependabot/go_modules/githu…
taobun Apr 25, 2023
c6e8ab8
fixed conflict
RogerKSI Apr 25, 2023
ae48631
Merge pull request #287 from bandprotocol/group-module
RogerKSI Apr 25, 2023
22784a1
Merge branch 'master' of https://github.com/bandprotocol/chain into g…
RogerKSI Apr 25, 2023
944280c
fixed conflict
RogerKSI Apr 25, 2023
9ce9148
update test
RogerKSI Apr 25, 2023
ce131bb
remove unused code
RogerKSI Apr 25, 2023
b104156
Merge pull request #294 from bandprotocol/upgrade-handler-v24-to-v25
taobun May 16, 2023
7563790
use validate coin from deccoin directly
RogerKSI May 17, 2023
358e58c
update test case to not allow zero amount of coin in globalfee
RogerKSI May 17, 2023
50d3cf8
change from comment
colmazia May 19, 2023
1eb772a
remove error case
RogerKSI May 24, 2023
35b453b
fixed test
RogerKSI May 24, 2023
b44c9cc
use empty function
RogerKSI May 24, 2023
a55f2a3
fix check report
taobun May 31, 2023
4aff49f
change filename
RogerKSI May 31, 2023
1f0d883
combine gas price before calculate fee
RogerKSI May 31, 2023
0b5a1cc
Merge pull request #288 from bandprotocol/globalfee-module
RogerKSI May 31, 2023
354de50
fixed conflict
RogerKSI Jun 1, 2023
b7b0598
update depedency
RogerKSI Jun 1, 2023
30943f9
fix comments typo
colmazia Jun 1, 2023
afb4a55
Merge pull request #309 from bandprotocol/update-from-25
RogerKSI Jun 1, 2023
e9bd2d2
Merge branch 'master' of https://github.com/bandprotocol/chain into u…
RogerKSI Jun 1, 2023
5ebcf21
fixed conflict
RogerKSI Jun 1, 2023
90f54ca
update from extra 25
RogerKSI Jun 1, 2023
24a7e35
update
RogerKSI Jun 1, 2023
234bf6e
fixed conflict
RogerKSI Jun 1, 2023
cc329d4
set gas price in docker
RogerKSI Jun 1, 2023
08eaf7f
adjust gas price
RogerKSI Jun 1, 2023
5f3edf1
Merge pull request #304 from bandprotocol/upgrade-handler-to-v26
RogerKSI Jun 8, 2023
cb3ae7a
fixed conflict
RogerKSI Jun 8, 2023
eeac419
Merge branch 'extra-rest/v2.5.x' of https://github.com/bandprotocol/c…
RogerKSI Jun 14, 2023
706a584
use default genesis from govv1 instead of govv1beta1
RogerKSI Jun 17, 2023
cad5111
Merge branch 'adjust-flusher-db' of https://github.com/bandprotocol/c…
RogerKSI Jun 17, 2023
46561cc
support both govv1 and govv1beta1 in emittter
RogerKSI Jun 17, 2023
b245ad2
fixed test
RogerKSI Jun 17, 2023
4fd6971
Merge branch 'update-genesis-app' of https://github.com/bandprotocol/…
RogerKSI Jun 17, 2023
9fefe0a
Merge branch 'extra/rest' of https://github.com/bandprotocol/chain in…
RogerKSI Jun 19, 2023
a4c4b95
Merge pull request #311 from bandprotocol/update-genesis-app
RogerKSI Jul 3, 2023
ab2b6cb
add formatter for proto and apply it
RogerKSI Jul 3, 2023
a8908ec
adjust comment
RogerKSI Jul 3, 2023
09aa692
Merge pull request #314 from bandprotocol/fix-proto-format
RogerKSI Jul 4, 2023
3c47b85
Merge branch 'master' of https://github.com/bandprotocol/chain into e…
RogerKSI Jul 4, 2023
e58d4df
Merge branch 'extra-rest/v2.5.x' of https://github.com/bandprotocol/c…
RogerKSI Jul 6, 2023
0961d53
add grpc-web
RogerKSI Aug 7, 2023
d479851
update to 0.47 - chain be able to start
colmazia Aug 9, 2023
3bcd237
add simulation, remove encodingConfig, add new gRPC services
colmazia Aug 11, 2023
91a0fe6
move homePath & invCheckPeriod to appOptions
colmazia Aug 11, 2023
39e72e8
clear old proto dependency, add modulesToExport to App interface
colmazia Aug 11, 2023
3dad461
import ibc tendermint
colmazia Aug 11, 2023
41ab8bc
fix error
RogerKSI Aug 11, 2023
8912759
implement in-module params for x/oracle
colmazia Aug 15, 2023
98268a6
add test & emit event for param change
colmazia Aug 16, 2023
e09414f
Delete open_proposal.sh
colmazia Aug 16, 2023
86b34b9
Delete vote_proposal.sh
colmazia Aug 16, 2023
6d2fe48
Merge pull request #319 from bandprotocol/x-oracle-params-v0.47
RogerKSI Aug 16, 2023
028f2de
add prune and snapshots cmd
colmazia Aug 16, 2023
acf83d5
delete commented functions
colmazia Aug 16, 2023
1deeed2
clear todo
colmazia Aug 16, 2023
7e612b7
migrate from third party proto & add msg signer
colmazia Aug 16, 2023
b45bea4
update and fix conflict
RogerKSI Aug 17, 2023
bc02b89
fix test
RogerKSI Aug 17, 2023
2bbbbe7
fix docker
RogerKSI Aug 17, 2023
163feb0
update proto part in makefile & delete unused import in proto files
colmazia Aug 25, 2023
f97173a
delete unused proto cmd
colmazia Aug 30, 2023
60429d2
Merge branch 'cosmos-sdk-v0.47' of https://github.com/bandprotocol/ch…
RogerKSI Sep 1, 2023
813bd5e
add simualtion test for oracle module
RogerKSI Aug 12, 2023
278fb32
add github action
RogerKSI Aug 12, 2023
e397f7c
fix github action
RogerKSI Aug 12, 2023
39f68ea
fix test
RogerKSI Aug 12, 2023
ca4dfed
add wat2wasm in sim
RogerKSI Aug 12, 2023
7140259
add wat2wasm to go binary
RogerKSI Aug 12, 2023
9dd262e
adjust timeout
RogerKSI Aug 25, 2023
681045b
add comment
RogerKSI Sep 4, 2023
0c782eb
set tx encoder in baseapp
colmazia Sep 6, 2023
1877737
Merge branch 'cosmos-sdk-v0.47' of https://github.com/bandprotocol/ch…
RogerKSI Sep 7, 2023
62b762e
Merge branch 'extra-rest/v2.5.x' of https://github.com/bandprotocol/c…
RogerKSI Sep 11, 2023
675f4ea
update
RogerKSI Sep 13, 2023
1ab3785
fix test
RogerKSI Sep 13, 2023
871ec94
fix test
RogerKSI Sep 13, 2023
bb277c3
adjust import
RogerKSI Sep 13, 2023
3f6520e
remove todo
RogerKSI Sep 13, 2023
e52004b
remove unused
RogerKSI Sep 13, 2023
a1961c4
check error
RogerKSI Sep 13, 2023
4950cf2
remove subspace
RogerKSI Sep 13, 2023
cbe9e47
adjust module
RogerKSI Sep 13, 2023
afb5c2d
remove exported
RogerKSI Sep 13, 2023
e024dbe
remove unused
RogerKSI Sep 13, 2023
9a8b374
fix error
RogerKSI Sep 13, 2023
dd2aa74
fix
RogerKSI Sep 13, 2023
edc577f
Merge pull request #320 from bandprotocol/x-globalfee-params-v0.47
RogerKSI Sep 13, 2023
bfe1852
update from v2.5.3
RogerKSI Sep 13, 2023
3da25eb
update
RogerKSI Sep 13, 2023
5ca48c3
fix from comments
colmazia Sep 14, 2023
4888b23
update changelog
colmazia Sep 14, 2023
1c1d384
Merge pull request #326 from bandprotocol/update-from-253
taobun Sep 14, 2023
c07f222
update
RogerKSI Sep 14, 2023
6eda33c
bump cosmos version
RogerKSI Sep 14, 2023
5b0b05b
bump version
RogerKSI Sep 14, 2023
5cfa363
Merge branch 'release/v2.5.x' of https://github.com/bandprotocol/chain
RogerKSI Sep 14, 2023
eae1214
Merge pull request #328 from bandprotocol/patch-master-yoda
RogerKSI Sep 19, 2023
ef868be
Merge branch 'master' of https://github.com/bandprotocol/chain into c…
RogerKSI Sep 19, 2023
681ae52
Merge branch 'cosmos-sdk-v0.47' of https://github.com/bandprotocol/ch…
RogerKSI Sep 19, 2023
220ee89
Merge branch 'master' of https://github.com/bandprotocol/chain into e…
RogerKSI Sep 19, 2023
c062dd9
add condition for ante
RogerKSI Sep 21, 2023
17a1435
reorder import
RogerKSI Sep 21, 2023
5f0b422
fix alias
RogerKSI Sep 21, 2023
c5d214b
adjust import order
RogerKSI Sep 21, 2023
d104962
revisit-todo
colmazia Sep 19, 2023
0b9a4a8
revise readme.md
colmazia Sep 19, 2023
bbcf763
bring building_from_source back to readme for local build ref
colmazia Sep 20, 2023
19f4572
bring back solomachine todo
colmazia Sep 20, 2023
4990717
update brancn
RogerKSI Sep 21, 2023
b7605b4
add useful scripts section in readme
colmazia Sep 21, 2023
f20ee5e
remark for development
colmazia Sep 21, 2023
c5ecae0
Merge branch 'cosmos-sdk-v0.47' of https://github.com/bandprotocol/ch…
RogerKSI Sep 21, 2023
4fd0065
readjust import
RogerKSI Sep 21, 2023
275bc41
add more test cases for globalfee
RogerKSI Sep 25, 2023
e51af9a
Merge branch 'cosmos-sdk-v0.47' of https://github.com/bandprotocol/ch…
RogerKSI Sep 25, 2023
b6364ab
use chain id as const string
RogerKSI Sep 25, 2023
cf8a49c
Merge branch 'cosmos-sdk-v0.47' of https://github.com/bandprotocol/ch…
RogerKSI Sep 25, 2023
051ae6b
update
RogerKSI Sep 28, 2023
a7a694c
add codec in faucet
RogerKSI Oct 2, 2023
356ecbb
fix emitter on submit proposal
RogerKSI Oct 2, 2023
652e29b
use title from proposal instead
RogerKSI Oct 2, 2023
2999a77
fix init genesis gov
RogerKSI Oct 2, 2023
a8df141
add route, type for update params in globalfee
RogerKSI Oct 3, 2023
1168bcc
Merge branch 'cosmos-sdk-v0.47' of https://github.com/bandprotocol/ch…
RogerKSI Oct 3, 2023
0904069
add consensus in upgrade
colmazia Oct 4, 2023
a45e6cb
add crisis store in upgrade
colmazia Oct 4, 2023
8fc14e9
add bank migration 3 to 4
colmazia Oct 4, 2023
ceae46d
add param subspace
colmazia Oct 4, 2023
f503e97
fix from comments
colmazia Oct 4, 2023
0350bf7
Merge branch 'cosmos-sdk-v0.47' of https://github.com/bandprotocol/ch…
RogerKSI Oct 5, 2023
d604218
Merge pull request #317 from bandprotocol/cosmos-sdk-v0.47
RogerKSI Oct 6, 2023
ffae1e9
update discord link
colmazia Nov 28, 2023
1f248df
update error string to be lower case
RogerKSI Nov 28, 2023
61be9bf
fix test
RogerKSI Nov 28, 2023
500e27b
remove unused
RogerKSI Nov 29, 2023
c61d769
Merge pull request #334 from bandprotocol/fix-staticcheck
RogerKSI Nov 30, 2023
26be406
Merge branch 'master' of https://github.com/bandprotocol/chain into e…
RogerKSI Dec 4, 2023
a596eec
chore: ledger dependency
mnguyen-io Jan 18, 2024
f6ef705
add arm commands
RogerKSI Jan 29, 2024
cc1cda5
Merge pull request #331 from bandprotocol/revisit-todo-readme
RogerKSI Jan 29, 2024
8093064
Merge branch 'master' of https://github.com/bandprotocol/chain into e…
RogerKSI Jan 29, 2024
8d661fa
cleanup from staticcheck
RogerKSI Feb 3, 2024
3604f9a
fix name of errorsmod
RogerKSI Feb 3, 2024
46fc5a6
remove dup import
RogerKSI Feb 3, 2024
e482b42
add more lint rules, fix lint
RogerKSI Feb 3, 2024
00a70f5
adjust lint
RogerKSI Feb 3, 2024
405ec46
fix
RogerKSI Feb 3, 2024
baf5aae
fix lint
RogerKSI Feb 5, 2024
6f0f015
Merge pull request #337 from bandprotocol/cleanup
colmazia Feb 8, 2024
da95d0c
update
RogerKSI Feb 8, 2024
f56dfc7
fix lint
RogerKSI Feb 8, 2024
9132a15
fix typo
RogerKSI Feb 11, 2024
e7e095a
add comment
RogerKSI Feb 11, 2024
3a085af
fix
RogerKSI Feb 12, 2024
c570f4a
fix variable
RogerKSI Feb 12, 2024
69e278e
Merge pull request #338 from bandprotocol/cleanup-stricter
taobun Feb 12, 2024
e7c5718
fix conflict
RogerKSI Feb 12, 2024
ebe87fe
merge from master
RogerKSI Feb 12, 2024
1eee0a6
fix lint
RogerKSI Feb 12, 2024
c3ac245
fix lint
RogerKSI Feb 13, 2024
b88da6f
Merge pull request #335 from mnguyen-io/update-ledger-dependencies
taobun Feb 14, 2024
7f20f43
update dependency (#342)
RogerKSI Feb 14, 2024
d264e4b
Update proof oracle path for Cosmos 0.47 (#333)
RogerKSI Feb 15, 2024
eef6b0b
bump
RogerKSI Feb 15, 2024
e078abb
Update x/oracle/abci.go
RogerKSI Feb 21, 2024
23d302b
Merge pull request #318 from bandprotocol/add-simulation-oracle
taobun Feb 22, 2024
0e67aa4
Add dependabot config
taobun Feb 21, 2024
2ecfb33
add cometbft to sdk dependency
taobun Feb 21, 2024
1ac5407
ignore minor and major patch for cosmos-sdk and cometbft
taobun Feb 21, 2024
07196f9
try remove minor
taobun Feb 21, 2024
4e12d14
Bump actions/cache from 1 to 4 (#73)
dependabot[bot] Feb 21, 2024
f37442f
Bump actions/setup-go from 2 to 5 (#74)
dependabot[bot] Feb 21, 2024
072b936
Bump actions/checkout from 2 to 4 (#75)
dependabot[bot] Feb 21, 2024
d25da3a
Bump golangci/golangci-lint-action from 3 to 4 (#76)
dependabot[bot] Feb 21, 2024
7dcdfb9
fix back to stop minor patch
taobun Feb 21, 2024
7d61908
[chore] Update dependencies (#88)
taobun Feb 28, 2024
31cfe9b
change dependabot from assignee to reviewer
taobun Feb 29, 2024
408acd7
Bump github.com/cosmos/cosmos-sdk from 0.47.9 to 0.47.10 (#92)
dependabot[bot] Feb 29, 2024
34ba89c
Bump actions/cache from 3 to 4 (#96)
dependabot[bot] Mar 15, 2024
99e2cd0
[chore] Fix simulation and Go version (#103)
RogerKSI Mar 16, 2024
e5242c3
Bump actions/checkout from 3 to 4
dependabot[bot] Mar 16, 2024
ac3997a
Bump softprops/action-gh-release from 1 to 2
dependabot[bot] Mar 16, 2024
860b6c8
run simulation only manual
RogerKSI Mar 16, 2024
74d22be
Bump github.com/gorilla/mux from 1.8.0 to 1.8.1
dependabot[bot] Mar 18, 2024
497ce62
Merge pull request #98 from bandprotocol/dependabot/github_actions/ac…
taobun Mar 18, 2024
5ed5aea
Merge pull request #95 from bandprotocol/dependabot/github_actions/so…
taobun Mar 18, 2024
8c3e6d1
Bump actions/setup-go from 3 to 5
dependabot[bot] Mar 18, 2024
eb4f884
Merge pull request #97 from bandprotocol/dependabot/github_actions/ac…
taobun Mar 18, 2024
d1960c5
Merge pull request #105 from bandprotocol/dependabot/go_modules/githu…
taobun Mar 18, 2024
e064bce
Bump google.golang.org/grpc from 1.60.1 to 1.62.1 (#106)
dependabot[bot] Mar 18, 2024
91bd0bd
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#107)
dependabot[bot] Mar 18, 2024
cf311fe
change to reviewer
RogerKSI Mar 22, 2024
e250132
Bump github.com/spf13/cast from 1.5.1 to 1.6.0
dependabot[bot] Mar 22, 2024
aa19e47
Bump google.golang.org/grpc from 1.62.1 to 1.63.2
dependabot[bot] Apr 9, 2024
7eb7498
Merge pull request #361 from bandprotocol/dependabot/go_modules/googl…
taobun Apr 9, 2024
d19b4b9
Bump github.com/cosmos/ibc-go/v7 from 7.3.2 to 7.4.0
dependabot[bot] Apr 9, 2024
921def1
Merge pull request #359 from bandprotocol/dependabot/go_modules/githu…
taobun Apr 9, 2024
9cef781
Merge pull request #353 from bandprotocol/dependabot/go_modules/githu…
taobun Apr 9, 2024
d516f93
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
dependabot[bot] Apr 9, 2024
98d1f0e
Merge pull request #354 from bandprotocol/dependabot/go_modules/githu…
taobun Apr 9, 2024
17b7f8a
Bump golang.org/x/net from 0.21.0 to 0.23.0
dependabot[bot] Apr 19, 2024
c87e682
Bump golangci/golangci-lint-action from 4 to 5
dependabot[bot] Apr 25, 2024
a7fa1f3
Bump github.com/hashicorp/go-getter from 1.7.1 to 1.7.4
dependabot[bot] Apr 28, 2024
8ee4919
Merge pull request #370 from bandprotocol/dependabot/go_modules/githu…
taobun Apr 29, 2024
e05715a
Merge pull request #365 from bandprotocol/dependabot/go_modules/golan…
taobun Apr 29, 2024
cba2e06
Merge pull request #368 from bandprotocol/dependabot/github_actions/g…
taobun Apr 29, 2024
a9b2b3e
add security document (#362)
RogerKSI May 2, 2024
cf71c37
Bump google.golang.org/protobuf from 1.33.0 to 1.34.0 (#373)
dependabot[bot] May 2, 2024
1309baf
[chore] Bump go-owasm to v0.3.1 (#329)
colmazia May 2, 2024
6564aa7
update branch
RogerKSI May 2, 2024
9b1d4da
patch cosmos version 0.47.11 (#367)
RogerKSI May 2, 2024
9085db9
update branch
RogerKSI May 2, 2024
d46e1d9
init refactor testapp (#330)
satawatnack May 2, 2024
426d64c
update branch and fix test
RogerKSI May 3, 2024
b6ed5a9
use wasmtime instead wat2wasm binary (#374)
RogerKSI May 3, 2024
c704fcb
Merge branch 'master' of https://github.com/bandprotocol/chain into e…
RogerKSI May 3, 2024
9d6465c
fix hex
RogerKSI May 6, 2024
4e70093
remove unused file
RogerKSI May 6, 2024
71fa92c
decode hex
RogerKSI May 6, 2024
81cb811
align with main branch
RogerKSI May 6, 2024
2ded1ed
fix typo
RogerKSI May 6, 2024
6e8adee
fix hex
RogerKSI May 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 116 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
---
Language: Proto
BasedOnStyle: Google
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: "^ IWYU pragma:"
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
- Regex: ".*"
Priority: 1
IncludeIsMainRegex: "(Test)?$"
IndentCaseLabels: false
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ""
MacroBlockEnd: ""
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
RawStringFormats:
- Delimiters:
- pb
Language: TextProto
BasedOnStyle: Google
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 8
UseTab: Never
---

32 changes: 32 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: "03:00"
reviewers:
- "RogerKSI"
- "taobun"

- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
time: "03:05"
ignore:
- dependency-name: "cosmossdk.io/*"
update-types:
["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "github.com/cosmos/cosmos-sdk"
update-types:
["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "github.com/cometbft/*"
update-types:
["version-update:semver-major", "version-update:semver-minor"]
reviewers:
- "RogerKSI"
- "taobun"
16 changes: 5 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
name: Tests
on: push
on: pull_request

jobs:
chain-test:
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '1.19.1'

- name: Install Wabt (wat2wasm)
run: |
wget https://github.com/WebAssembly/wabt/releases/download/1.0.17/wabt-1.0.17-ubuntu.tar.gz
tar -zxf wabt-1.0.17-ubuntu.tar.gz
sudo cp wabt-1.0.17/bin/wat2wasm /usr/local/bin
go-version: '1.21.7'

- name: Check go mod cache
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-chain-${{ hashFiles('**/go.sum') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.19.1
- uses: actions/checkout@v3
go-version: 1.21.7
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v5
with:
version: v1.49
version: v1.55.2
args: --timeout=5m0s
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build statically linked binaries
run: |
Expand All @@ -25,7 +25,7 @@ jobs:
run: sha256sum * > checksums.txt && cat checksums.txt

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
artifacts/**
91 changes: 91 additions & 0 deletions .github/workflows/simulation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Simulation
on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21.7"
check-latest: true
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-binary

test-sim-import-export:
runs-on: ubuntu-latest
needs: [build]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21.7"
check-latest: true
- uses: actions/cache@v4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-binary
- name: test-sim-import-export
run: |
make test-sim-import-export

test-sim-after-import:
runs-on: ubuntu-latest
needs: [build]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21.7"
check-latest: true
- uses: actions/cache@v4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-binary
- name: test-sim-after-import
run: |
make test-sim-after-import

test-sim-multi-seed-short:
runs-on: ubuntu-latest
needs: [build]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21.7"
check-latest: true
- uses: actions/cache@v4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-binary
- name: test-sim-multi-seed-short
run: |
make test-sim-multi-seed-short

test-sim-deterministic:
runs-on: ubuntu-latest
needs: [build]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21.7"
check-latest: true
- uses: actions/cache@v4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-binary
- name: test-sim-deterministic
run: |
make test-sim-deterministic
2 changes: 1 addition & 1 deletion .github/workflows/update-extra-rest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: extra/rest
fetch-depth: 0
Expand Down
Loading
Loading