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

merge link modules #109

Merged
merged 528 commits into from
Mar 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
528 commits
Select commit Hold shift + click to select a range
d8b0526
docs: removed proxy related docs (#528)
Junyong-Suh Feb 10, 2020
7779f7f
chore: remove static-build-version from swagger docs (#531)
hsyis Feb 12, 2020
802a475
docs: fix typos in QueryTxsByEventsCmd (#547)
hsyis Feb 13, 2020
954bb06
feat: burn cnft (#539)
kfangw Feb 13, 2020
049428d
fix: modify RootOf; returns itself instead of nil (#552)
Feb 14, 2020
ac456b7
feat: add bulk balance request (#446)
shiki-tak Feb 14, 2020
1d435b8
build(deps): bump github.com/gorilla/mux from 1.7.3 to 1.7.4 (#549)
dependabot-preview[bot] Feb 14, 2020
76f1338
chore: test coverage threshold to 65% (#564)
Junyong-Suh Feb 14, 2020
6f15edc
feat: implement proxy for collective tokens (#541)
Feb 14, 2020
451bded
feat: blacklist for safety box accounts (#543)
Junyong-Suh Feb 14, 2020
b49b9e7
Merge branch 'master' into develop
jckdotim Feb 17, 2020
2eeb094
fix: disable safetybox module (#569)
Junyong-Suh Feb 17, 2020
8832505
feat: implement burn by proxy (#570)
Feb 17, 2020
92a1494
Merge pull request #574 from line/develop
jckdotim Feb 17, 2020
8526a11
chore: Import Faucet account to contract_test's localnet (#583)
jeehonglee Feb 18, 2020
0c56095
test: add validation for swagger.yaml to contract test (#588)
wetcod Feb 18, 2020
8cfaddd
test: coverage threshold to 70% (#586)
Junyong-Suh Feb 18, 2020
6d6f7c3
chore: lint:dupl added (#584)
Junyong-Suh Feb 19, 2020
df76c2c
docs: remove redundant TODOs (#594)
wetcod Feb 19, 2020
32037e8
feat: divide token module into token and collection (#587)
kfangw Feb 19, 2020
ecab10d
style: enable #unparam to go-linter and fix every code to pass. (#589)
jckdotim Feb 20, 2020
665b27e
feat: allow attach/detach only with owned token (#606)
Feb 20, 2020
672eea0
feat: MaxSize of tokenURI (#595)
Junyong-Suh Feb 21, 2020
a2001ae
build(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.6 (#610)
dependabot-preview[bot] Feb 24, 2020
c1dcc66
feat: introduce account for token (#567)
kfangw Feb 24, 2020
db4f0a2
feat: add event log of child token when transfering parent token (#607)
Feb 25, 2020
691f3b2
feat: introduce account for collection (#609)
kfangw Feb 25, 2020
fb848ad
feat: introduce token_type data structure (#616)
kfangw Feb 26, 2020
8c192db
feat: lengthen token-id to 16 (#622)
kfangw Feb 26, 2020
8433c5c
feat: implement empty message (#615)
Feb 26, 2020
b83056a
feat: totalSupply, totalMint, totalBurn query (#621)
Junyong-Suh Feb 27, 2020
7c5c42b
feat: permission bonded to the contract (#625)
kfangw Feb 27, 2020
e77ae65
feat: add ModifyMsg for token, CFT, CNFT, token type and collection (…
wetcod Feb 27, 2020
19e1d1c
feat: query for the tokentype (#626)
kfangw Feb 28, 2020
d6c0ea5
feat: apply contract id instead of symbol (#627)
Feb 28, 2020
f249534
feat: URL for APIs (#632)
kfangw Feb 28, 2020
b35e700
refactor: move loop of MsgModify from handler to keeper (#631)
wetcod Feb 28, 2020
112b738
docs: update event, messages (#633)
Feb 28, 2020
e653d52
build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.1 (#611)
dependabot-preview[bot] Feb 28, 2020
7ad3ad3
Merge branch 'master' into develop
jckdotim Feb 28, 2020
da06644
Merge pull request #634 from line/develop
jckdotim Feb 28, 2020
6cb16c9
docs: fix errors
kfangw Mar 3, 2020
feedfb3
chore: no zero coin (#638)
kfangw Mar 4, 2020
62ce488
fix: fix to check token type of ft in ValidateBasic (#654)
wetcod Mar 4, 2020
3a32e14
chore: token. permission query for contract_id (#635)
kfangw Mar 4, 2020
fb59616
chore: validate contract id first (#639)
kfangw Mar 4, 2020
626543b
feat: base16 for token_id (#645)
kfangw Mar 4, 2020
3cd9ca2
feat: create account for the receiver (#637)
kfangw Mar 4, 2020
87b17f5
chore: message sanitize (#660)
kfangw Mar 5, 2020
b2ba04e
feat: prevent reuse of removed token_id (#655)
kfangw Mar 5, 2020
34c6bee
feat: add to for issue fungible token messages (#657)
kfangw Mar 5, 2020
0b5275b
feat: validate duplicate field of changes when modify token/collectio…
wetcod Mar 5, 2020
0998640
feat: event for children while attaching/detaching (#666)
Mar 5, 2020
efe71c3
feat: add testnet build option
Mar 6, 2020
7f2bde6
fix: modify prefix tink to tlink
Mar 6, 2020
3cb776a
Merge pull request #671 from line/feat/testnetaddr
Mar 6, 2020
7436fa4
docs: update base_img_uri in doc (#673)
wetcod Mar 6, 2020
b361a2c
test: add unit tests for collection, token module (#670)
Mar 6, 2020
9e78287
fix: build script for testnet (#672)
Mar 6, 2020
b3e8ebd
fix: build script making multiple binary for testnet (#675)
Mar 9, 2020
1acad95
feat: Introduced meta for token, collection, token type, CFT, CNFT (#…
jckdotim Mar 9, 2020
f476f27
fix: fix validation for token symbol (#677)
wetcod Mar 9, 2020
148eab7
Merge branch 'master' into develop
jckdotim Mar 9, 2020
388ca50
fix: integration-multi-node test failure (#681)
Mar 9, 2020
8412fea
chore: remove testnet build tag for multi node test
jckdotim Mar 9, 2020
1bcc5c3
Merge pull request #680 from line/develop
jckdotim Mar 9, 2020
8689178
test: coverage threshold to 75% (#687)
Junyong-Suh Mar 10, 2020
9e967a3
chore: fix Makefile flags variable errata (#682)
jckdotim Mar 10, 2020
69ab879
build(deps): bump cosmos-sdk from 0.37.5 to 0.38.0 (#540)
hsyis Mar 11, 2020
c744462
feat: select network mode in runtime
Mar 11, 2020
c71d856
fix: fmt failure
Mar 11, 2020
fab5837
fix: rerun ci
Mar 11, 2020
f18a81f
fix: remove unused flag from ci config
Mar 11, 2020
86a6b8a
feat: wrap sdk.Int overflow (#629)
Junyong-Suh Mar 11, 2020
2aa407f
chore: disable codecov patch check (#693)
Junyong-Suh Mar 11, 2020
467b458
fix: mint burn for nft (#696)
kfangw Mar 11, 2020
fc4b19c
fix: apply comment; refine code
Mar 11, 2020
b3ba352
fix: golangci warning
Mar 11, 2020
eff7ded
fix: mint burn for nft (#696) (#699)
kfangw Mar 12, 2020
5e1d4d3
Merge branch 'master' of https://github.com/line/link into hotfix-net…
Mar 12, 2020
0fe7cc6
Merge pull request #697 from line/hotfix-networkmode
Mar 12, 2020
5542864
feat: select network mode in runtime (#705)
Mar 12, 2020
a92526c
chore: enable logs for unreachable node (#709)
kfangw Mar 12, 2020
c7194ae
test: fix broken localnet, sim-test (#700)
hsyis Mar 12, 2020
cbcd01e
feat: multi-transfer, multi-mint for collection (#678)
hsyis Mar 12, 2020
823478b
fix: remove network mode log (#710)
Mar 13, 2020
ffcb324
chore: Move faucet's account from prepare_state.sh to .initialize.sh …
jeehonglee Mar 13, 2020
bc46177
build(deps): bump github.com/cosmos/cosmos-sdk from 0.38.0 to 0.38.1 …
dependabot-preview[bot] Mar 16, 2020
46236be
docs: change type MsgMintNFT for multi mint (#721)
hsyis Mar 16, 2020
bf46177
fix: no panic but error for invalid token id (#731)
kfangw Mar 16, 2020
9ea8b95
chore: lint fix (#734)
Junyong-Suh Mar 17, 2020
3e98a1c
fix: btx bugs (#738)
kfangw Mar 17, 2020
3f0ccb8
fix: 🐛 wrong cli command description (#736)
jckdotim Mar 17, 2020
d005813
fix: make 0 minting/burning invalid (#737)
jckdotim Mar 17, 2020
4c2183e
fix: response zero balance for non existent accounts (#741)
Mar 17, 2020
88a63ad
fix: improper errors for attach_from, detach_from (#739)
Mar 18, 2020
06e146f
Merge pull request #715 from line/hotfix-1.9.1
kfangw Mar 18, 2020
936abb8
Merge master branch 06e146f to develop (#743)
kfangw Mar 18, 2020
2311d66
test: fix integration test (#745)
kfangw Mar 19, 2020
feb7bf1
fix: length validation for meta, name, image
kfangw Mar 24, 2020
8bd1d5e
test: set timeout for golangci lint
kfangw Mar 24, 2020
3ec5c9c
Merge pull request #747 from line/hotfix-1.9.2
kfangw Mar 24, 2020
2ad3f26
Merge branch 'master' into merge_3ec5c9c
kfangw Apr 7, 2020
0f93732
Merge pull request #777 from line/merge_3ec5c9c
kfangw Apr 7, 2020
30e10ed
feat: migrate TxResponse for cosmos v0.38 (#754)
Apr 8, 2020
51e644d
fix: allow multiple tx for a block with an account (#783)
kfangw Apr 9, 2020
346213c
test: disable a testcase (#786)
kfangw Apr 10, 2020
b669486
feat: Bump Tendermint 0.33.3 Cosmos-SDK 0.38.3 (#794)
kfangw Apr 10, 2020
5abbda2
fix: avoid sig verification error when empty field (#788)
Apr 10, 2020
93733e9
test: set resource for the circleci machine (#795)
kfangw Apr 10, 2020
3401f26
Merge pull request #776 from line/develop
kfangw Apr 10, 2020
455bd85
feat: introduce link load tester (#766)
wetcod Apr 16, 2020
129b7a2
feat: limit depth/width for composed tokens (#815)
Apr 27, 2020
63433a1
chore: replace cosmos repository (#328)
kfangw Apr 27, 2020
2ffffd7
feat: enable safetybox for token (#806)
hsyis Apr 27, 2020
beefb24
feat: Improve link load tester (#809)
wetcod Apr 28, 2020
bdc54c7
fix: provide GITHUB_TOKEN for dockerfile (#822)
kfangw May 4, 2020
1ff6b35
fix: make simulation test be passed (#821)
May 4, 2020
3e652ad
feat: introduce upgrade and gov module (#814)
kfangw May 4, 2020
cb8a7c0
fix: /blocks_with_tx_results returns 404 when block height does not e…
hsyis May 6, 2020
4ebcdd6
feat: add block_size to /blocks_with_tx_results (#825)
hsyis May 6, 2020
bc7d885
feat: change block API to implementation of cosmos-sdk (#826)
hsyis May 11, 2020
0790f07
fix: remove proxy, safetybox (#832)
kfangw May 12, 2020
a0eebaf
refactor: remove iam module from token, collection modules (#829)
kfangw May 12, 2020
1709791
feat: support cleveldb (#830)
wetcod May 12, 2020
f417108
ci: allow filtered jobs for the branch with testall- prefix (#841)
wetcod May 14, 2020
8104678
test: fix parser_test not to fail intermittently. (#842)
wetcod May 14, 2020
2dfc872
ci: fix bugs of circle-ci with cleveldb (#840)
wetcod May 14, 2020
d8a4344
fix: change NFT params to not be sorted (hotfix-1.10.1) (#845)
hsyis May 14, 2020
603b722
refactor: contract id (#831)
kfangw May 14, 2020
a97d39a
fix: added contract id validation for grant/revoke messages (#847)
kfangw May 14, 2020
0c10409
chore: command for list up error codes (#843)
kfangw May 14, 2020
5fbd1eb
Merge branch 'master' into develop
kfangw May 14, 2020
670419a
refactor: sanitize modules and documents (#848)
kfangw May 15, 2020
e731cf1
fix: total mint count bug fix (#846)
kfangw May 15, 2020
e4bf354
feat: 🎸 add base coin metadata api (#828)
jckdotim May 15, 2020
8edf7d1
Merge pull request #849 from line/develop
kfangw May 15, 2020
12dd6c8
fix: flatten nested structure of ResultBlock in /blocks_with_tx_resul…
hsyis May 20, 2020
e3909bf
fix: add genesis module instead of memo of genesis.json(#855)
kfangw May 21, 2020
01af197
chore: fix deploy job (#851)
kfangw May 21, 2020
8f9e862
fix: http response (#856)
kfangw May 21, 2020
94ade59
Merge branch 'master' into develop
kfangw May 21, 2020
2d7761e
chore: bump cosmos-sdk version v0.38.3-t0.33.4-0.0.0 (#858)
kfangw May 21, 2020
d1fce7c
Merge pull request #857 from line/develop
kfangw May 21, 2020
1ec63e8
fix: query for denom (#859)
kfangw May 21, 2020
c9c5a06
Merge branch 'master' into develop
kfangw May 21, 2020
3855702
Merge pull request #861 from line/develop
kfangw May 21, 2020
818b7f7
chore: fix linguist
kfangw May 22, 2020
7f69c9d
fix: shorten the name of each coins (#865)
kfangw May 22, 2020
1201f0d
Merge branch 'master' into develop
kfangw May 22, 2020
f283b71
Merge pull request #866 from line/develop
kfangw May 22, 2020
69fd014
fix: blocks_with_tx_results (#870)
kfangw May 28, 2020
fe040ce
BREAKING CHANGE: Merge branch 'master' into develop
kfangw May 28, 2020
c59a1e9
Merge pull request #871 from line/develop
kfangw May 28, 2020
87e8238
fix: empty list not nil (#872)
kfangw May 29, 2020
5c6cd98
Merge branch 'master' into develop
kfangw May 29, 2020
e5c68a9
Merge pull request #874 from line/develop
kfangw May 29, 2020
6df80d0
fix: performance of MsgMintNFT (#893)
kfangw Jun 5, 2020
7299dcf
Merge branch 'master' into develop
kfangw Jun 5, 2020
b65c60f
fix: response error when burning non-root composed NFTs (#894)
Jun 5, 2020
0d5dc91
Merge pull request #895 from line/develop
kfangw Jun 5, 2020
f2cc3df
fix: fix the package name to be added from python to python2 (#896)
wetcod Jun 7, 2020
18eb790
fix: fix the package name to be added from python to python2 (#897)
wetcod Jun 8, 2020
bf0c860
perf: use non-blocking node API for `blocks_with_tx_results ` (#901)
Jun 9, 2020
72ac86b
fix: 404 error for the latest block (#903)
kfangw Jun 11, 2020
754ba3e
feat: add tx simulate API (#899)
hsyis Jun 11, 2020
e65f43b
feat: change txs search to run without tags (#902)
hsyis Jun 11, 2020
951a98b
fix: do not return range error when calling `blocks_with_tx_results` …
Jun 15, 2020
11ada11
fix: store count of total mint, burn (#904)
kfangw Jun 15, 2020
5912617
feat: reject if `from` is equal or more than latest height when `bloc…
Jun 15, 2020
83c814f
Merge branch 'master' into develop
kfangw Jun 15, 2020
1a27ada
Merge pull request #910 from line/develop
kfangw Jun 15, 2020
662e4ee
fix: return `[]` rather than `nil` when empty txs in `blocks_with_tx_…
Jun 16, 2020
f79618a
feat: Add more load test scenarios (#867)
wetcod Jun 24, 2020
7019dae
feat: add throughput threshold to load tester (#924)
wetcod Jun 30, 2020
3d521eb
docs: rewrite the getting started docs (#922)
lyingdragon Jul 9, 2020
1ca997d
fix: return proper error response when TX simulation error (#935)
Jul 9, 2020
3acdf89
fix: fix error code for the collection module (#936)
kfangw Jul 10, 2020
7da6d64
fix: dump up cosmos-sdk version to v0.38.3-0.0.2 (#937)
kfangw Jul 10, 2020
949acc7
Merge pull request #923 from line/develop
kfangw Jul 10, 2020
fac8060
feat: add load test scenario for simulate query (#941)
wetcod Jul 22, 2020
81e0f42
feat: add an option to query on the check state (#962)
Jul 28, 2020
cd67938
chore: install curl on link-load-tester image (#972)
wetcod Jul 30, 2020
292c02b
fix: fix lint error due to use of weak random number generator (#1001)
wetcod Aug 11, 2020
9b3f593
docs: fix wrong path in `cli_test/README.md` (#1003)
jinsan-line Aug 18, 2020
7747c95
chore: split tx_and_query_all scenario (#997)
wetcod Aug 18, 2020
ee6e1a9
test: enable `TestMultiValidatorAddNodeAndFailedTransactions` in `mul…
jinsan-line Aug 21, 2020
406348c
chore: lint for comment and defer func (#1031)
kfangw Sep 8, 2020
42ba1cb
test: Add missing Test for QueryBalance (#1030)
SatoshiSakamori Sep 9, 2020
730a7a2
feat: add /collection/{contract_id}/tokentypes/{token_type}/tokens (#…
Kynea0b Sep 10, 2020
8fe0fd1
refactor: prepare Daphne repository migration (#1039)
kfangw Sep 10, 2020
ae0b6ea
chore: clean up waste of the refactoring (#1041)
kfangw Sep 10, 2020
af4160e
Merge branch 'master' into develop
kfangw Sep 10, 2020
dd64a74
chore: go mod tidy (#1043)
jinsan-line Sep 11, 2020
e48b145
chore: go mod tidy (#1043)
jinsan-line Sep 11, 2020
a62353a
refactor: new HOME for LINK modules
kfangw Sep 11, 2020
cc55c82
test: Add test for BlockWithTxs (#1038)
SatoshiSakamori Sep 15, 2020
21ede82
feat: enable unsafe-skip-upgrades flag (#1049)
wetcod Sep 17, 2020
40f4621
test: fix that `integration test` is frequently failed on circle ci (…
jinsan-line Sep 21, 2020
d919288
chore: wait 2 blocks if `sync` mode is used (#1062)
jinsan-line Sep 22, 2020
0f91c42
feat: /collection/{contract_id}/accounts/{address}/approvers (#1022)
Kynea0b Sep 28, 2020
f82949b
feat: add proxy function for issue1044 (#1053)
SatoshiSakamori Sep 29, 2020
f04d09b
test: fix testcase (#1077)
kfangw Sep 29, 2020
9b2b829
feat: add burnFrom of proxy for issue 1044 (#1078)
SatoshiSakamori Oct 6, 2020
bd0460e
feat: implement Querier for /token/{contract_id}/accounts/{address}/p…
SatoshiSakamori Oct 6, 2020
a76ecf5
feat: /collection/{contract_id}/accounts/{address}/balances (#1070)
Kynea0b Oct 6, 2020
5cb16ef
docs: proxy for token event and message (#1080)
kfangw Oct 6, 2020
a2716cc
feat: bump up cosmos-sdk version v0.38.4 (#1067)
kfangw Oct 6, 2020
7c9d89e
Merge remote-tracking branch 'link/develop' into merge/origin_link_v2…
kfangw Oct 6, 2020
3ce2b0a
refactor: remove dependancy for the client
kfangw Oct 6, 2020
fe570df
Merge pull request #2 from kfangw/merge/origin_link_v2.3.0
kfangw Oct 6, 2020
21e40ce
fix: remove client
kfangw Oct 6, 2020
c629db7
fix: remove client
kfangw Oct 6, 2020
ce0f6dd
Merge pull request #3 from line/develop
kfangw Oct 6, 2020
1578327
feat: add wasm module (#1)
Oct 7, 2020
4aa189e
feat: Implement Querier to Get approver (#7)
Oct 13, 2020
0f4ad5b
feat: implement token module encoder (#5)
shiki-tak Oct 19, 2020
8c6d487
feat: implement collection module encoder (#22)
shiki-tak Oct 27, 2020
97d0b35
Add linkwasmd and cli_test (#20)
loloicci Oct 30, 2020
7925cd5
fix wasmKeeper of x/wasm/linkwasmd for #5 (#32)
loloicci Nov 12, 2020
39dc61b
modify marshal/unmarshal used in wasm module (#37)
loloicci Nov 12, 2020
e5805dd
Cherry-pick CosmWasm/wasmd#302 (Making Max Size of Contract into a Pa…
loloicci Nov 18, 2020
9915ef2
build: bump up cosmos-sdk and tendermint version (#45)
kfangw Nov 18, 2020
5858645
build: apply PR #45 (bump up deps) into develop (#46)
Nov 19, 2020
73754aa
feat: add cli_test for token-tester contract (#42)
shiki-tak Nov 19, 2020
cf6fbb6
feat: bump up cosmos-sdk v0.39.1-0.2.0 (#55)
kfangw Nov 24, 2020
eed24ba
feat: bump up cosmos-sdk v0.39.1-0.2.0 (#57)
kfangw Nov 24, 2020
3b7c487
feat: merge branch master into develop
Nov 24, 2020
0061081
feat: merge branch master into develop
Nov 25, 2020
c553ff6
feat: add cli_test for collection_tester (#50)
shiki-tak Dec 3, 2020
f7be553
fix: Add a test to manage the parameter MaxWasmCodeSize with gov (#51)
loloicci Dec 4, 2020
730be1a
fix: solve a TODO in wasm's cli_test (#53)
loloicci Dec 4, 2020
20e848d
build: bump up cosmos-sdk to v0.39.2 (#62)
wetcod Dec 9, 2020
fb28833
ci: report perf results to PR comments (#43)
Dec 21, 2020
6d1cec3
ci: fix ci error on develop branch (#71)
Dec 21, 2020
30452e2
feat: rename QueryXxxParam to XxxParam and change query_total interfa…
shiki-tak Jan 7, 2021
b7f0e2f
docs: replace links to CosmWasm with links to link-module (#73)
loloicci Jan 7, 2021
cb3e6cd
Rewrite Governonce.md (#75)
loloicci Jan 7, 2021
ca93fbb
Merge update wasmd v0.11.1 (#65)
loloicci Jan 8, 2021
a2a17e2
fix(wasm): init params first in InitGenesis (#76)
Jan 14, 2021
bebe4fa
docs: add CHANGELOG.md for x/wasm (#84)
loloicci Jan 22, 2021
49610aa
feat: add type tag to response models (#78)
Jan 28, 2021
43c4e26
build: change the depended wasmvm to line/wasmvm v0.12.0-0.1.0 (#86)
loloicci Feb 22, 2021
2781662
Merge remote-tracking branch 'link/develop' into v2/feat/merge_link_m…
Mar 25, 2021
3a311f5
fix: rename link-modules package
Mar 28, 2021
d417b1c
Merge branch 'v2/develop' of github.com:line/lbm-sdk into v2/feat/mer…
Mar 28, 2021
9c35711
chore: ci build failure
Mar 28, 2021
669eb12
chore: golangci error
Mar 29, 2021
99a776f
chore: enable golangci lint
Mar 29, 2021
34b5d90
chore: apply comment
Mar 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
titleAndCommits: true
allowMergeCommits: true
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
if: env.GIT_DIFF
- name: test & coverage report creation
run: |
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 30m -coverprofile=${{ matrix.part }}profile.out -covermode=atomic -tags='norace ledger test_ledger_mock'
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 30m -coverprofile=${{ matrix.part }}profile.out -covermode=atomic -tags='norace ledger test_ledger_mock goleveldb'
if: env.GIT_DIFF
- uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
if: env.GIT_DIFF
- name: test & coverage report creation
run: |
xargs --arg-file=pkgs.txt.part.${{ matrix.part }} go test -mod=readonly -json -timeout 30m -race -tags='cgo ledger test_ledger_mock' | tee ${{ matrix.part }}-race-output.txt
xargs --arg-file=pkgs.txt.part.${{ matrix.part }} go test -mod=readonly -json -timeout 30m -race -tags='cgo ledger test_ledger_mock goleveldb' | tee ${{ matrix.part }}-race-output.txt
if: env.GIT_DIFF
- uses: actions/upload-artifact@v2
with:
Expand Down
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,19 @@ dist
tools-stamp
buf-stamp
artifacts
.vscode
output
tools/bin/*
examples/build/*

# Data - ideally these don't exist
baseapp/data/*
client/lcd/keys/*
mytestnet

# Testing
coverage.txt
profile.out
sim_log_file
client/keys/home/

# Vagrant
.vagrant/
Expand All @@ -52,3 +55,4 @@ dependency-graph.png
*.aux
*.out
*.synctex.gz

19 changes: 8 additions & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,16 @@ run:
# timeout: 5m

linters:
disable-all: true
disable-all: false
enable:
- bodyclose
- deadcode
- depguard
- dogsled
# - errcheck
- goconst
- gocritic
- gofmt
- goconst
- goimports
- golint
- gosec
- gosimple
- govet
- ineffassign
- interfacer
- maligned
- misspell
- nakedret
- prealloc
Expand All @@ -34,7 +26,12 @@ linters:
- unused
- unparam
- misspell
# - wsl
disable:
- gocritic
- maligned
- errcheck
- interfacer
- wsl
- nolintlint

issues:
Expand Down
429 changes: 28 additions & 401 deletions CONTRIBUTING.md

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,12 @@ benchmark:
### Linting ###
###############################################################################

lint:
lint: golangci-lint
golangci-lint run --out-format=tab
find . -name '*.go' -type f -not -path "*.git*" | xargs gofmt -d -s

golangci-lint:
@go get github.com/golangci/golangci-lint/cmd/golangci-lint

lint-fix:
golangci-lint run --fix --out-format=tab --issues-exit-code=0
Expand Down
22 changes: 22 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Motivation and context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How has this been tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] I followed the [contributing guidelines](https://github.com/line/link/blob/master/CONTRIBUTING.md).
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
64 changes: 64 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#
# This codecov.yml is the default configuration for
# all repositories on Codecov. You may adjust the settings
# below in your own codecov.yml in your repository.
#
codecov:
require_ci_to_pass: yes
bot: Codecov bot for LINK

comment:
layout: "reach,diff,flags,tree"
behavior: default # update if exists else create new
require_changes: no

coverage:
status:
project:
default:
# basic
target: 75
threshold: 1% # allow this much decrease on project
base: auto
# advanced
branches: null
if_no_uploads: error
if_not_found: success
if_ci_failed: error
only_pulls: false
flags: null
paths: null
changes: false
patch: off
precision: 2
range: 50...90
round: down

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

ignore:
- "docs"
- "*.md"
- "*.rst"
- "*.yml"
- "*.yaml"
- "*.sh"
- "*.png"
- "*_test.go"
- "x/**/test_common.go"
- "*_cmd.go"
- "contrib/**/*"
- "client/rpc/**/*_wrapper.go"
- "client/rpc/**/*_alias.go"
- "client/rpc/mock/*.go"
- "statik.go"
- "root.go"
- "x/**/module.go"
- "x/**/errors.go"
- "x/**/key.go"
11 changes: 10 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,22 @@ module github.com/line/lbm-sdk/v2

require (
github.com/99designs/keyring v1.1.6
github.com/CosmWasm/wasmvm v0.12.0
github.com/DataDog/zstd v1.4.5 // indirect
github.com/armon/go-metrics v0.3.6
github.com/bgentry/speakeasy v0.1.0
github.com/btcsuite/btcd v0.21.0-beta
github.com/btcsuite/btcutil v1.0.2
github.com/confio/ics23/go v0.6.3
github.com/cosmos/cosmos-sdk v0.39.2
github.com/cosmos/go-bip39 v1.0.0
github.com/cosmos/ledger-cosmos-go v0.11.1
github.com/enigmampc/btcutil v1.0.3-0.20200723161021-e2fb6adb2a25
github.com/gogo/gateway v1.1.0
github.com/gogo/protobuf v1.3.3
github.com/golang/mock v1.4.4
github.com/golang/protobuf v1.4.3
github.com/google/gofuzz v1.0.0
github.com/gorilla/handlers v1.5.1
github.com/gorilla/mux v1.8.0
github.com/grpc-ecosystem/go-grpc-middleware v1.2.2
Expand All @@ -37,13 +41,14 @@ require (
github.com/spf13/afero v1.3.4 // indirect
github.com/spf13/cast v1.3.1
github.com/spf13/cobra v1.1.1
github.com/spf13/jwalterweatherman v1.1.0 // indirect; indirects
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.1
github.com/stretchr/testify v1.7.0
github.com/tendermint/btcd v0.1.1
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15
github.com/tendermint/go-amino v0.16.0
github.com/tendermint/tendermint v0.34.7
github.com/tendermint/tm-db v0.6.4
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
google.golang.org/genproto v0.0.0-20210114201628-6edceaf6022f
google.golang.org/grpc v1.35.0
Expand All @@ -52,6 +57,10 @@ require (
)

replace (
github.com/CosmWasm/wasmvm => github.com/line/wasmvm v0.12.0-0.1.0
github.com/cosmos/cosmos-sdk => github.com/line/lbm-sdk v0.39.2-0.2.0
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
github.com/tendermint/tendermint => github.com/tendermint/tendermint v0.33.9
github.com/tendermint/tm-db => github.com/tendermint/tm-db v0.5.2
google.golang.org/grpc => google.golang.org/grpc v1.33.2
)
Loading