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

Sync from fork #74

Merged
merged 232 commits into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
285c7c4
evm: update empty hash check for storage state (#1016)
fedekunze Mar 29, 2022
3c8a95b
imp: migrate JSON for feemarket (#1021)
fedekunze Mar 30, 2022
6abe84b
fix: update feemarket REST endpoints (#1026)
fedekunze Apr 4, 2022
cc37ed2
evm: PostTxProcessing hook - include the full message data (#1027)
loredanacirstea Apr 4, 2022
8202a09
fix: lint workflow (#1028)
thomas-nguy Apr 5, 2022
7d11c93
deps: upgrade cosmos-sdk to v0.45.2 (#1029)
yihuang Apr 5, 2022
56c4a31
evm: allow to append logs after a post processing hook (#1025)
thomas-nguy Apr 5, 2022
ea3c16e
fix: remove proto message registration from legacy v09 types to fix c…
nddeluca Apr 5, 2022
4fdbcd7
build(deps): bump codecov/codecov-action from 2.1.0 to 3 (#1031)
dependabot[bot] Apr 6, 2022
c70701e
tests: add more dynamic fee tx tests (#1032)
MalteHerrmann Apr 6, 2022
e1512c5
types: add `ValidateNonZeroAddress` utility function (#1033)
loredanacirstea Apr 7, 2022
f257709
build(deps): bump actions/stale from 4 to 5 (#1041)
dependabot[bot] Apr 11, 2022
cb6715c
build(deps): bump actions/setup-go from 2 to 3 (#1040)
dependabot[bot] Apr 11, 2022
1e03c0c
deps: bump SDK to v0.45.3 (#1046)
fedekunze Apr 12, 2022
5ccd4c4
ci: cleanup (#1048)
fedekunze Apr 12, 2022
4d63238
tests: Increase coverage for msg.go and access_list_tx.go (#1044)
MalteHerrmann Apr 12, 2022
7509903
build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 (#1054)
dependabot[bot] Apr 15, 2022
bc4b018
Context block height fix on `TraceTx` (#1051)
crypto-facs Apr 16, 2022
7e35906
`eth_getBlockByNumber` fix on batch transactions (#1050)
crypto-facs Apr 18, 2022
e7b6d92
fix: tests/solidity/package.json to reduce vulnerabilities (#1036)
snyk-bot Apr 19, 2022
d96e2b7
fix: tests/solidity/suites/storage/package.json to reduce vulnerabili…
snyk-bot Apr 19, 2022
e4abbe1
fix: tests/solidity/suites/eip1559/package.json to reduce vulnerabili…
snyk-bot Apr 19, 2022
eaca3e0
fix: simulations don't generate EVM transactions (#996)
adu-web3 Apr 19, 2022
0543a28
rpc: make json-rpc API namespaces extensible (#1056)
yihuang Apr 19, 2022
a121224
docs: update EVM spec
fedekunze Apr 22, 2022
825d393
build(deps): bump github.com/cosmos/cosmos-sdk from 0.45.3 to 0.45.4 …
dependabot[bot] Apr 26, 2022
ead4208
build(deps): bump github/codeql-action from 1 to 2 (#1064)
dependabot[bot] Apr 26, 2022
0f09964
fix: update BaseFee JSON-RPC (#1059)
fedekunze Apr 26, 2022
fb13fd4
build(deps): bump github.com/btcsuite/btcd from 0.22.0-beta to 0.22.1…
dependabot[bot] Apr 29, 2022
556c2cc
fix!: london hardfork check logic in json-rpc apis (#1068)
yihuang Apr 30, 2022
c25669c
rpc: refactor rpc packages and backend to support cosmos namespace (#…
fedekunze May 2, 2022
4ea9b6d
imp, ci: address pending issues from EVM simulation (#1063)
adu-web3 May 2, 2022
a4b8816
remove unused bank keeper dependency from account verification decora…
nddeluca May 2, 2022
6b1b936
ci: bump simulations timeout (#1073)
fedekunze May 3, 2022
93d15db
ante: check `EnableCreate`/`EnableCall` in ante handler (#1060)
yihuang May 3, 2022
e856bf5
release: merge release branch changes back to main (#1079)
danburck May 9, 2022
a313008
Add cli rollback command (#1086)
yihuang May 18, 2022
d359cbd
fix: gas price value in `eth_getTransaction` JSON-RPC response (#1082)
yihuang May 19, 2022
9edc87d
fix: append `Log` in tx post processing response (#1088)
thomas-nguy May 19, 2022
f0290a3
build(deps): bump cross-fetch from 2.2.5 to 2.2.6 in /tests/solidity …
dependabot[bot] May 20, 2022
2cfa873
build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#1080)
dependabot[bot] May 20, 2022
f06df8c
imp: clean up the block fetch logic in json-rpc (#1081)
yihuang May 23, 2022
c441771
imp(evm): define minimum GasUsed proportional to GasLimit (#1087)
crypto-facs May 25, 2022
d559893
imp(evm): add query params to CLI (#1091)
crypto-facs May 25, 2022
d23fb0c
specs(evm): Add concepts (#1095)
danburck May 26, 2022
928e018
impr(evm): add tx_type, gas and counter telemetry for ethereum txs (#…
danburck May 30, 2022
164f41c
build(deps): bump alpine from 3.15 to 3.16.0 (#1094)
dependabot[bot] May 30, 2022
8f5cd77
build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (#1100)
dependabot[bot] May 30, 2022
39214c6
build(deps): bump github.com/armon/go-metrics from 0.3.10 to 0.4.0 (#…
dependabot[bot] May 30, 2022
afc09f9
fix(rpc): avoid sleep with pending txs tests(#1098)
mmsqe May 31, 2022
5533bee
fix(rpc, ante): Emit Ethereum tx hash in `AnteHandler` to support que…
yihuang May 31, 2022
046cd00
feemarket: global `MinGasPrice` parameter (#1104)
loredanacirstea May 31, 2022
cad7ff6
analytics(app): update telemetry to Ethermint modules (#1106)
danburck Jun 2, 2022
72444a6
build(deps): bump protobufjs from 6.11.2 to 6.11.3 in /tests/solidity…
dependabot[bot] Jun 3, 2022
da99f11
rpc: Update `GetGasPrice` RPC endpoint with global `MinGasPrice` (#1108)
crypto-facs Jun 3, 2022
8155e1f
Move CanTransfer decorator before GasConsume (#1111)
crypto-facs Jun 4, 2022
620f6a6
imp(feemarket): update `BaseFee` based on `GasWanted` (#1105)
crypto-facs Jun 5, 2022
707b49d
fix(types): avoid invalid account error on create vesting account (#1…
mmsqe Jun 6, 2022
23f8831
ante: refactor (#1113)
fedekunze Jun 6, 2022
55373e0
build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#1…
dependabot[bot] Jun 6, 2022
b567624
tests: update consensus params (#1117)
fedekunze Jun 8, 2022
b3fa23e
fix(types): account type method (#1118)
crypto-facs Jun 8, 2022
8283530
imp(feemarket): min-gas-multiplier parameter should accept zero value…
yihuang Jun 9, 2022
8f932dd
!feat(evm): Reject not replay-protected tx to prevent replay attack (…
yihuang Jun 13, 2022
20f9b04
build(deps): bump github.com/cosmos/ibc-go/v3 from 3.0.0 to 3.1.0 (#1…
dependabot[bot] Jun 16, 2022
a8d3805
rpc: add ws log on read loop break (#1127)
crypto-facs Jun 16, 2022
ec8e93b
all: rename go module to evmos/ethermint (#1137)
fedekunze Jun 19, 2022
47ac4f9
build(deps): bump technote-space/get-diff-action from 6.0.1 to 6.1.0 …
dependabot[bot] Jun 21, 2022
667940d
build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#1140)
dependabot[bot] Jun 21, 2022
494d646
fix(rpc): Fix `GasPrice` calculation with relation to `MinGasPrice` (…
crypto-facs Jun 21, 2022
5e55e5c
build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#1…
dependabot[bot] Jun 21, 2022
6cf2b9f
fix(evm): clear logs if tx failed in post processing hooks (#1128)
yihuang Jun 21, 2022
8eb8e51
fix(ci): buf makefile dependency, update semgrep workflow (#1144)
adisaran64 Jun 22, 2022
8817e80
build(deps): bump bufbuild/buf-setup-action from 1.5.0 to 1.6.0 (#1145)
dependabot[bot] Jun 22, 2022
3b852f7
imp(rpc): restrict unprotected txs on the node RPC (#1143)
fedekunze Jun 22, 2022
8e2c652
imp(evm): rename `RejectUnprotectedTx` to `AllowUnprotectedTxs` (#1142)
fedekunze Jun 22, 2022
d333341
bug(feemarket): set lower bound of base fee to min gas price param (#…
danburck Jun 22, 2022
2ce1685
fix!: fix json-rpc failures for pruned nodes (#1126)
yihuang Jun 22, 2022
4a9bf0e
build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#1…
dependabot[bot] Jun 24, 2022
27ade5d
deps: Go 1.18 (#1147)
fedekunze Jun 24, 2022
3ac8b93
evm: cleanup, remove atlas/ (#1152)
fedekunze Jun 27, 2022
ccf66cf
release: backport v0.17.0 changelog (#1155)
fedekunze Jun 27, 2022
de21773
fix(ci): fix semgrep issue (#1157)
adisaran64 Jun 27, 2022
b7878fd
fix goreleaser (#1160)
danburck Jun 29, 2022
31c3660
build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#1…
dependabot[bot] Jun 30, 2022
4a66ff9
feemarket(specs): add hint on different gas terminology for gas in Co…
danburck Jul 1, 2022
4a6f4fd
imp(deps): Geth upgrade v1.10.19 (#1159)
crypto-facs Jul 8, 2022
3d2f72a
fix: TestAppStateDeterminism could fail owing to non-determinism in c…
adu-crypto Jul 8, 2022
b7c85be
imp(all): setup a validator in the test genesis (#1171)
yihuang Jul 11, 2022
9ae73b6
deps: upgrade ibc-go to v4-rc (#1167)
yihuang Jul 11, 2022
da8fcc3
fix(rpc): optimize `eth_getBalance` endpoint (#1169)
crypto-facs Jul 11, 2022
b74b37f
fix: traceTransaction returns zero gas used (#1179)
yihuang Jul 18, 2022
969794c
impr(evm): add check msg.Validate check to prevent 0 gas txs (#1174)
danburck Jul 18, 2022
ea81e15
imp: NewAnteHandler returns error if input not valid (#1173)
yihuang Jul 19, 2022
73c9ea2
fix(rpc): fix panic on breaking EVM and feemarket params (#1188)
fedekunze Jul 19, 2022
8932a6d
build(deps): bump alpine from 3.16.0 to 3.16.1 (#1192)
dependabot[bot] Jul 19, 2022
ffe78da
!fix(evm): Fix eth tx hashes in json-rpc responses (#1176)
yihuang Jul 19, 2022
cd41c48
fix(evm): `TxIndex` is wrong when trace is the first tx of a block (#…
VictorTrustyDev Jul 20, 2022
c626a5c
testing(json rpc): Add backend test suite with mock grpc query client…
danburck Jul 23, 2022
0948c9d
build(deps): bump github.com/onsi/gomega from 1.19.0 to 1.20.0 (#1198)
dependabot[bot] Jul 25, 2022
3460cba
build(deps): bump github.com/cosmos/ibc-go/v4 (#1202)
dependabot[bot] Jul 26, 2022
fd0e62a
imp(tests): integration tests setup (#1196)
crypto-facs Jul 27, 2022
3df8bc2
build(deps): bump @openzeppelin/contracts (#1205)
dependabot[bot] Jul 27, 2022
bc197fc
build(deps): bump actions/upload-artifact from 2 to 3 (#1210)
dependabot[bot] Jul 28, 2022
9e6f338
build(deps): bump bufbuild/buf-setup-action from 1.6.0 to 1.7.0 (#1211)
dependabot[bot] Jul 28, 2022
36cbb52
build(deps): bump cachix/install-nix-action from 15 to 17 (#1209)
dependabot[bot] Jul 28, 2022
29d3abc
!feat(deps): Upgrade cosmos-sdk to `v0.46.0` (#1168)
yihuang Jul 28, 2022
ebbffc6
change default maxGasWanted (#1208)
facs95 Jul 28, 2022
ee806fc
ENG 119 json rpc unit tests (#1189)
danburck Jul 29, 2022
9752333
build(deps): bump cosmossdk.io/math from 1.0.0-beta.2 to 1.0.0-beta.3…
dependabot[bot] Jul 29, 2022
642da0c
build(deps): bump google.golang.org/protobuf from 1.28.0 to 1.28.1 (#…
dependabot[bot] Jul 29, 2022
a902c8a
Update CODEOWNERS (#1220)
fedekunze Aug 1, 2022
0e46b15
fix: integration tests are not run in CI (#1221)
yihuang Aug 2, 2022
8d3a2b1
fix pruned node integration test (#1223)
yihuang Aug 3, 2022
53f160c
chore(docs): update changelog (#1224)
fedekunze Aug 3, 2022
e156084
feat(ante, evm): set priority for eth transactions (#1214)
yihuang Aug 5, 2022
7331cd2
feat: support dynamic app db backend flag (#1226)
yihuang Aug 5, 2022
ccbaf1f
imp(tests): prune node integration tests (#1212)
facs95 Aug 8, 2022
0b294b7
build(deps): bump cachix/install-nix-action from 15 to 17 (#1228)
dependabot[bot] Aug 8, 2022
d1543ce
[ENG-626] Rpc types integration tests (#1207)
ramacarlucho Aug 8, 2022
e70d8fc
chore(rpc): restructure JSON-RPC APIs (#1218)
danburck Aug 9, 2022
b3242ea
Problem: feemarket's query cli has redundant height parameter (#1230)
yihuang Aug 10, 2022
d2ebca2
build(deps): bump alpine from 3.16.1 to 3.16.2 (#1232)
dependabot[bot] Aug 10, 2022
42abb25
Add support for `MaxOpenConnections` (#1229)
facs95 Aug 10, 2022
b1cd16e
feat!: Apply feemarket to native cosmos tx (#1194)
yihuang Aug 10, 2022
737c1de
Merge pull request from GHSA-f92v-grc2-w2fg (#1234)
facs95 Aug 11, 2022
77ed4aa
feat!: Store eth tx index separately (#1121)
yihuang Aug 11, 2022
66e8cdb
fix: make get_proof integration tests more stable (#1236)
yihuang Aug 12, 2022
9891920
Add support for miner_setGasPrice API (#1237)
facs95 Aug 12, 2022
94cab52
fix(rpc): get_proof test fail because block numbers are not high enou…
yihuang Aug 12, 2022
9bbf356
tests(rpc): add filter tests (#1233)
danburck Aug 12, 2022
3fbee18
chore(docs): Update Changelog (#1249)
fedekunze Aug 12, 2022
d596594
fix(test): priority test result affect by base fee dropping (#1238)
yihuang Aug 12, 2022
f11bc35
build(deps): bump @openzeppelin/contracts (#1268)
dependabot[bot] Aug 14, 2022
f0968d0
build(deps): bump undici in /tests/integration_tests/contracts (#1282)
dependabot[bot] Aug 19, 2022
f3d7c81
build(deps): bump @openzeppelin/contracts (#1281)
dependabot[bot] Aug 19, 2022
685869a
build(deps): bump github.com/cosmos/ibc-go/v5 (#1294)
dependabot[bot] Aug 24, 2022
f9c74e2
deps: Update cosmos-sdk to `v0.46.1` (#1300)
yihuang Aug 25, 2022
1ea0cb3
eth_sendTransaction returns internal trace on missing param (#1284)
adisaran64 Aug 25, 2022
524e25c
chore: Gofumpt (#1298)
faddat Aug 26, 2022
c9fe1d1
fixes for 19.0.1 (#1305)
ramacarlucho Aug 26, 2022
88535ba
build(deps): bump github.com/onsi/ginkgo/v2 from 2.1.4 to 2.1.6 (#1318)
dependabot[bot] Aug 31, 2022
45fdcaf
build(deps): bump eth-account in /tests/integration_tests (#1317)
dependabot[bot] Aug 31, 2022
ca070e2
test: add integration test for the rollback cmd (#1311)
yihuang Sep 1, 2022
3e4544d
tests: improve x/evm/types coverage (#1302)
adisaran64 Sep 1, 2022
efc5a15
build(deps): bump google.golang.org/grpc from 1.48.0 to 1.49.0 (#1295)
dependabot[bot] Sep 1, 2022
1a5b64d
Change the fallback priority mechanism to be based on gas price (#1289)
yihuang Sep 2, 2022
7bef408
build(deps): bump github.com/onsi/gomega from 1.20.1 to 1.20.2 (#1323)
dependabot[bot] Sep 3, 2022
9f03ca7
tests(rpc): add backend blocks tests (#1296)
danburck Sep 5, 2022
c729467
build(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0 (#1328)
dependabot[bot] Sep 7, 2022
14e2f8d
build(deps): bump github.com/armon/go-metrics from 0.4.0 to 0.4.1 (#1…
dependabot[bot] Sep 12, 2022
0fcfe44
Update CODEOWNERS
fedekunze Sep 13, 2022
723443a
feat(eip712): Create LedgerPreprocessHook to reformat EIP-712 payload…
austinchandra Sep 13, 2022
67f1e97
build(deps): bump github.com/cosmos/ibc-go/v5 from 5.0.0-rc0 to 5.0.0…
dependabot[bot] Sep 13, 2022
acf1547
imp(evm): stateless custom precompiles (#1272)
fedekunze Sep 15, 2022
545f3e2
fix: upload nix binary for macOS (#1327)
yihuang Sep 16, 2022
41c511e
chore: update changelog from v0.19 (#1347)
fedekunze Sep 17, 2022
592e75b
build(deps): bump bufbuild/buf-setup-action from 1.7.0 to 1.8.0 (#1343)
dependabot[bot] Sep 17, 2022
5c80a55
fix(rpc): estimate gas error response (#1340)
ramacarlucho Sep 17, 2022
cae7c4d
!fix(erc712): support `MsgCreateValidator` (#1346)
ramacarlucho Sep 17, 2022
3ed55d9
build(deps): bump github.com/cosmos/ibc-go/v5 (#1345)
dependabot[bot] Sep 18, 2022
26c341d
test(rpc): Ethereum JSONRPC Websocket (#1342)
baabeetaa Sep 19, 2022
2f7dfd4
build(deps): bump github.com/holiman/uint256 from 1.2.0 to 1.2.1 (#1350)
dependabot[bot] Sep 19, 2022
34226aa
build(deps): bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.2.0 (#1351)
dependabot[bot] Sep 19, 2022
6574019
imp(rpc,server): concurrent gRPC queries (#1352)
yihuang Sep 20, 2022
d15007b
build(deps): bump actions/stale from 5 to 6 (#1357)
dependabot[bot] Sep 22, 2022
35850e6
fix(rpc): fix gRPC query failure on legacy blocks (#1354)
yihuang Sep 23, 2022
175721e
build(deps): bump protobuf from 3.20.0 to 3.20.2 in /tests/integratio…
dependabot[bot] Sep 29, 2022
5759e72
deps: bump ibc-go to v5 (#1361)
fedekunze Sep 29, 2022
491c3da
fix: `index-eth-tx` cmd fail on empty indexer db (#1362)
yihuang Oct 3, 2022
07202c1
fix: skip fee check on tx simulation (#1364)
austinchandra Oct 5, 2022
9568999
build(deps): bump github.com/onsi/gomega from 1.20.2 to 1.21.1 (#1366)
dependabot[bot] Oct 7, 2022
26579c1
build(deps): bump google.golang.org/grpc from 1.49.0 to 1.50.0 (#1365)
dependabot[bot] Oct 8, 2022
dec073d
tests(rpc): Add account info unit tests (#1339)
danburck Oct 11, 2022
054723a
build(deps): bump apollo-server from 2.25.3 to 2.26.0 in /tests/solid…
dependabot[bot] Oct 12, 2022
22a81b7
build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 (#1374)
dependabot[bot] Oct 13, 2022
a21923f
imp(rpc) Add support for EVM RPC metrics (#1378)
v-homsi Oct 14, 2022
87934ce
build(deps): bump github.com/onsi/ginkgo/v2 from 2.2.0 to 2.3.0 (#1375)
dependabot[bot] Oct 14, 2022
340dd85
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#1373)
dependabot[bot] Oct 17, 2022
a3c91db
fix(testutils): fix blank bank genesis params (#1379)
0xbala-k Oct 18, 2022
461d69f
build(deps): bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1 (#1383)
dependabot[bot] Oct 18, 2022
5b13f6d
build(deps): bump golang.org/x/text from 0.3.8 to 0.4.0 (#1387)
dependabot[bot] Oct 18, 2022
6e63cc6
build(deps): bump technote-space/get-diff-action from 6.1.0 to 6.1.1 …
dependabot[bot] Oct 18, 2022
d58af01
build(deps): bump github.com/onsi/gomega from 1.21.1 to 1.22.1 (#1372)
dependabot[bot] Oct 18, 2022
c83429f
Bump SDK to 0.46.2 (#1386)
Oct 18, 2022
a9c461a
build(deps): bump cachix/cachix-action from 10 to 11 (#1371)
dependabot[bot] Oct 18, 2022
a4192d8
build(deps): bump cachix/install-nix-action from 17 to 18 (#1380)
dependabot[bot] Oct 18, 2022
db94d8e
build(deps): bump google.golang.org/grpc from 1.50.0 to 1.50.1 (#1382)
dependabot[bot] Oct 18, 2022
236ca33
imp(server): Add query-only mode flag for gRPC (#1360)
mmsqe Oct 19, 2022
5879750
fix(evm): skip hash check when the code has been deleted (#1320)
JayT106 Oct 19, 2022
83e509b
refactor: optimize AnteHandler gas consumption (#1388)
Vvaradinov Oct 19, 2022
3ab761b
[issue-#1389] add multisig tx support (#1390)
GAtom22 Oct 20, 2022
157f188
imp(ante): refactor for increased `AnteHandler` performance (#1393)
Vvaradinov Oct 20, 2022
032f8cf
build(deps): bump bufbuild/buf-setup-action from 1.8.0 to 1.9.0 (#1394)
dependabot[bot] Oct 20, 2022
f4fae00
feat: format protobuf files (#1395)
facs95 Oct 20, 2022
f04b289
ime(evm): improve code coverage for EVM keeper (#1396)
GAtom22 Oct 21, 2022
295a886
fix(evm,rpc): coinbase should not be the current one in traceTransact…
mmsqe Oct 21, 2022
c736289
build(deps): bump github.com/cosmos/cosmos-sdk from 0.46.2 to 0.46.3 …
dependabot[bot] Oct 23, 2022
71a32be
build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#1…
dependabot[bot] Oct 24, 2022
dca6d45
build(deps): bump github.com/onsi/ginkgo/v2 from 2.3.1 to 2.4.0 (#1400)
dependabot[bot] Oct 24, 2022
241d4d9
build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1 (#1403)
dependabot[bot] Oct 25, 2022
64cfb87
tests(websocket): websocket integration tests (#1355)
adisaran64 Oct 28, 2022
3e586b6
build(deps): bump github.com/onsi/gomega from 1.22.1 to 1.23.0 (#1406)
dependabot[bot] Oct 28, 2022
1c16e16
build(deps): bump github.com/cosmos/ibc-go/v5 from 5.0.0 to 5.0.1 (#1…
dependabot[bot] Oct 28, 2022
3e30615
build(deps): bump cachix/cachix-action from 11 to 12 (#1411)
dependabot[bot] Oct 28, 2022
e9d9856
chore(docs): update SECURITY.md (#1410)
fedekunze Oct 29, 2022
87f70c3
deps: bump go to v1.19 (#1416)
danburck Oct 31, 2022
fd91448
chore(cli): apply google CLI Syntax for required and optional args (#…
GAtom22 Oct 31, 2022
9181079
chore(ci): update linters (#1418)
fedekunze Oct 31, 2022
a8ea4ec
backport: add v0.19.3 dragonberry changes to `main` and bump iavl to …
danburck Nov 1, 2022
92c0f55
release: v0.20.0-rc1 cherry pick and changelog (#1422)
danburck Nov 2, 2022
b7927ca
deps(sdk): bump to v0.46.4 (#1423) (#1426)
mergify[bot] Nov 2, 2022
4b676b6
release: v0.20.0-rc2 upadte changelog (#1427)
danburck Nov 2, 2022
55b292f
release: v0.20-rc3 changelog (#1517)
MalteHerrmann Nov 30, 2022
ce337c3
chore(release): merge main to v0.20 release branch (#1518)
fedekunze Nov 30, 2022
d24bfe7
chore: release `v0.20.0-rc3` (#1529)
facs95 Dec 2, 2022
7f546d3
chore(release): v0.20-rc4 (#1546)
fedekunze Dec 9, 2022
f2549a7
Release `v0.20-rc5` (#1569)
MalteHerrmann Dec 22, 2022
7c158b1
test(ante): add test case for `gasWanted` on ReCheckTx mode (#1570) (…
mergify[bot] Dec 22, 2022
ff3085f
update changelog (#1578)
facs95 Dec 28, 2022
6b18cc4
Merge tag 'v0.20.0' into murali/update-fork
0xbala-k Jan 4, 2023
ded812f
fix upgrade
0xbala-k Jan 5, 2023
be3d3b7
remove TxFeeChecker
0xbala-k Jan 5, 2023
c729fb7
fix lint errors
0xbala-k Jan 6, 2023
59c7c4a
remove super linter
0xbala-k Jan 6, 2023
7c5a9bf
nix open issue remove integration test
0xbala-k Jan 6, 2023
0214c5c
semgrep fix
0xbala-k Jan 6, 2023
aafde24
ignore semgrep
0xbala-k Jan 6, 2023
60afa02
remove semgrep ignore
0xbala-k Jan 6, 2023
b5ebfbb
run godmod2nix locally and ignore lint check
0xbala-k Jan 6, 2023
40e455f
Merge branch 'main' into murali/update-fork
0xbala-k Jan 9, 2023
51aa603
fix lint error
0xbala-k Jan 9, 2023
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
  •  
  •  
  •  
117 changes: 4 additions & 113 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,115 +1,6 @@
---
Language: Proto
# BasedOnStyle: LLVM
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
Language: Proto
BasedOnStyle: google
ColumnLimit: 120
IndentWidth: 2
...
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
ignore = BLK100, W503
max-line-length = 88
extend-ignore = E203
exclude = .git,__pycache__,node_modules,.direnv
5 changes: 3 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Primary repo maintainers
* @fedekunze @khoslaventures @jolube
# Primary (global) repo maintainers

* @evmos/core-engineering
15 changes: 8 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: technote-space/[email protected]
go-version: 1.19
check-latest: true
- uses: technote-space/[email protected]
id: git_diff
with:
SUFFIX_FILTER: |
.go
.mod
.sum
PATTERNS: |
**/**.go
go.mod
go.sum
- run: |
make build
if: env.GIT_DIFF
23 changes: 18 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,41 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'go', 'javascript' ]
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.sol
**/**.go
**/**.ts
**/**.js
go.mod
go.sum

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
if: env.GIT_DIFF
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)

- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2
if: env.GIT_DIFF

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +80,5 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
if: env.GIT_DIFF
28 changes: 28 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Dependency Review"
on: pull_request

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
check-latest: true
- name: "Checkout Repository"
uses: actions/checkout@v3
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: "Dependency Review"
uses: actions/dependency-review-action@v3
if: env.GIT_DIFF
- name: "Go vulnerability check"
run: make vulncheck
if: env.GIT_DIFF
12 changes: 6 additions & 6 deletions .github/workflows/deploy-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
node-version: '12.x'
- name: Install dependencies
run: npm install
- uses: technote-space/get-diff-action@v6.0.1
- uses: technote-space/get-diff-action@v6.1.2
id: git_diff
with:
SUFFIX_FILTER: |
.go
.mod
.sum
.sol
PATTERNS: |
**/**.sol
**/**.go
go.mod
go.sum
- name: Test contract
run: |
sudo make contract-tools
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
with:
submodules: true
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
check-latest: true
- name: release dry run
run: make release-dry-run
- name: setup release environment
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/linkchecker.yml

This file was deleted.

30 changes: 25 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,40 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
# Required: setup-go, for all versions v3.0.0+ of golangci-lint
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
check-latest: true
- uses: actions/checkout@v3
- uses: technote-space/[email protected].0
- uses: technote-space/[email protected].2
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@v3
- uses: golangci/golangci-lint-action@v3.3.1
with:
version: v1.48.0
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: latest
args: --timeout 10m
github-token: ${{ secrets.github_token }}
# Check only if there are differences in the source code
if: "env.GIT_DIFF"
if: env.GIT_DIFF

python-lint:
name: Run flake8 on python integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v12
with:
name: ethermint
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.py
- run: |
nix-shell -I nixpkgs=./nix -p test-env --run "make lint-py"
if: env.GIT_DIFF
24 changes: 11 additions & 13 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,26 @@ name: Protobuf
# This workflow is only run when a .proto file has been changed
on:
pull_request:
paths:
- "proto/**"

jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
- uses: bufbuild/[email protected]
- uses: bufbuild/buf-lint-action@v1
with:
PATTERNS: |
**/**.proto
- name: lint
run: make proto-lint
if: env.GIT_DIFF
breakage:
input: "proto"

break-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: technote-space/[email protected]
- uses: bufbuild/[email protected]
- uses: bufbuild/buf-breaking-action@v1
with:
PATTERNS: |
**/**.proto
- name: check-breakage
run: make proto-check-breaking
if: env.GIT_DIFF
input: "proto"
against: "https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto"
Loading