Federico Kunze Küllmer
aeb7e1589e
ci: update goreleaser ( #604 )
...
* ci: update goreleaser
* bump version
2021-09-29 15:58:39 +02:00
Guillermo Paoletti
1894d22609
doc: duplicated documentation removed ( #603 )
2021-09-29 10:37:10 +00:00
Snyk bot
f7d6d063be
fix: networks/local/ethermintnode/Dockerfile to reduce vulnerabilities ( #602 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-1569403
- https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-1569406
- https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-1063178
- https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-1063178
- https://snyk.io/vuln/SNYK-DEBIAN10-PYTHON27-1063178
2021-09-29 11:42:02 +02:00
Federico Kunze Küllmer
05d9b290a7
rpc, server: add TLS certificate for websocket ( #600 )
...
* rpc, server: add TLS certificate for websocket
* changelog
2021-09-28 13:33:54 +02:00
dependabot[bot]
9164eb329d
build(deps): bump actions/setup-node from 2.4.0 to 2.4.1 ( #599 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 12:53:43 +02:00
Federico Kunze Küllmer
52a3f9c66f
rpc: fix truncation ( #598 )
...
* rpc: fix truncation
* c++
2021-09-28 10:07:18 +00:00
Federico Kunze Küllmer
83627b9967
evm: check height overflow ( #597 )
...
* evm: check height overflow
* rm
* c++
2021-09-28 09:48:11 +00:00
Federico Kunze Küllmer
bc82f3f8eb
rpc: fix gas price ( #596 )
2021-09-28 08:42:18 +00:00
Adu
fdb92ee788
fix: use global []byte slice to avoid conversions in loop ( #595 )
...
Co-authored-by: Muggle-Du <adudu@CNMAC0342.local>
2021-09-28 08:03:08 +02:00
Federico Kunze Küllmer
bbb54a6d17
rpc: geth v1.10.8 changes ( #585 )
2021-09-27 22:06:27 +00:00
JayT106
b42e187060
evm, rpc: apply bloom filter when querying ethlogs with a range of blocks ( #587 )
...
* apply the bloom filter when query the ethlogs with a range of blocks
* fix lint
* error handling in calcBloomIVs
* print error log in createBloomFilters
* update changelog
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-27 14:35:37 +00:00
Adu
8d3381a5f9
ante: fix &T{} to (*T)(nil) in error message ( #592 )
...
Co-authored-by: Adu Du <adudu@CNMAC0342.local>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-27 14:24:57 +00:00
dependabot[bot]
04c2f05002
build(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0 ( #593 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.40.0...v1.41.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-27 16:15:13 +02:00
yihuang
d6a64a275a
evm: fix import/export genesis for contract storage ( #590 )
...
* Problem: import/export roundtrip test fail contract storage
Closes : #589
- don't hash the key again in InitGenesis
* changelog
* try to fix estimate-gas undeterministics Closes #536
2021-09-27 12:26:45 +02:00
JayT106
2088297e3d
evm: benchmark evm keeper ( #586 )
...
* adds more erc20 token benchmark tests
* add more benchmark for statedb
* adds benchmark for state_transition
* fix typo
* refactor state_transition_benchmark_test
* update newSignedEthTx input argument
* revises tx template type
* modify tests for both LegacyTx and AccessListTx
* update changelog
2021-09-24 12:58:22 -03:00
Federico Kunze Küllmer
692fd9548a
ante: move deduct gas to EVM keeper ( #584 )
2021-09-22 10:26:29 +00:00
yihuang
e65582df71
deps: fix iavl node crash in concurrent query ( #583 )
...
Closes : #581
Solution:
- replace iavl dependency to v0.17.1
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-22 09:51:29 +00:00
yihuang
01b789c3e9
rpc: tx receipt don't contain events ( #580 )
...
* tx receipt don't contains events
- Should convert tx hash when query transaction logs
* tx index should start from 0
2021-09-22 06:01:35 -03:00
Federico Kunze Küllmer
d84837a438
evm: fix Chain ID derivation ( #579 )
...
* evm: fix Chain ID derivation
* update
* changelog
2021-09-21 11:31:19 +00:00
Federico Kunze Küllmer
20785afeb7
evm: check tx cost not negative ( #578 )
2021-09-21 10:29:59 +00:00
dependabot[bot]
1a01c6a992
build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0 ( #576 )
2021-09-20 10:44:19 +00:00
Thomas Nguy
b8ae5984c5
rpc: fix gas price ( #568 )
...
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-17 23:47:13 +00:00
yihuang
b59d9a23ea
evm: add ApplyNativeMessage
( #557 )
...
* add ApplyNativeMessage
Closes #533
* fix lint
* Update x/evm/types/tracer.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update x/evm/types/tracer.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* no-op tracer
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2021-09-17 15:23:51 +00:00
davcrypto
742b6d1300
evm: fail early on StateDB
functions ( #566 )
...
* ADD stateErr on keeper
* UPDATE init stateErr
* UPDATE test case
* Update x/evm/keeper/statedb.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* ADD comment
* UPDATE clear evm state error
* REMOVE unnecessary clear
* ADD comment
* UPDATE false value
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-17 06:22:52 +00:00
crypto-facs
d4db62a98c
add gitattributes file ( #567 )
2021-09-16 08:36:08 +00:00
crypto-facs
0463c8bfcd
rpc: fix TraceConfig
param for tracers ( #565 )
2021-09-15 10:50:52 -03:00
yihuang
116de54617
evm: remove tx logs and block bloom from chain state ( #556 )
...
Closes #452
fix unit tests
changelog and fix lint
fix unit test
Update ethereum/rpc/backend/backend.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Update ethereum/rpc/backend/utils.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
changelog
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-15 09:45:03 +00:00
crypto-facs
3f1eeb30b6
rpc: debug_traceBlockByNumber
endpoint ( #555 )
...
* Refactor traceTx
* add getTendermintBlock on backend
* keeper concurrency
* first version
* json rpc concurrency
* rever makefile change
* remove grpc traceblock
* create internal traceBlock function
* added types to evm module
* tendermintBlockByNumber rename
* added safe message check
* remove unnecesary line
* check error
* fix lint
* fix linter
* Update ethereum/rpc/namespaces/debug/api.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update ethereum/rpc/namespaces/debug/api.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update ethereum/rpc/backend/backend.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* improve traceBlock performance
* fix linter
* add extra line on function parameters
* changed index to uint 64
* fix lint
* proto gen
* update endpoints documentation
* update changelog
* Apply suggestions from code review
* Update ethereum/rpc/namespaces/eth/filters/filters.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-15 08:46:01 +00:00
Ramiro Carlucho
ec7d8a37fd
fix: homedir consistency ( #561 )
...
* fix export homedir
* Changelog updated
Co-authored-by: Hanchon <guillermo.paoletti@gmail.com>
2021-09-15 05:27:37 -03:00
davcrypto
644ae50410
rpc: fix JSON-RPC gas used ( #558 )
...
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-14 10:27:20 +00:00
dependabot[bot]
f90117c982
build(deps): bump codecov/codecov-action from 2.0.3 to 2.1.0 ( #560 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.0.3...v2.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-14 10:15:12 +00:00
Federico Kunze Küllmer
5a70dfb9b8
docs: LoC badge ( #554 )
2021-09-13 13:28:43 +00:00
yihuang
8bcab7be27
docs: state revert logic ( #421 )
...
Closes #356
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-13 13:01:44 +00:00
dependabot[bot]
4f61ecb52e
build(deps): bump github.com/cosmos/ibc-go from 1.1.0 to 1.2.0 ( #553 )
...
Bumps [github.com/cosmos/ibc-go](https://github.com/cosmos/ibc-go ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases )
- [Changelog](https://github.com/cosmos/ibc-go/blob/v1.2.0/CHANGELOG.md )
- [Commits](https://github.com/cosmos/ibc-go/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-13 12:43:03 +00:00
davcrypto
5d6c4517f6
client, server: default keyring-backend os ( #552 )
2021-09-13 10:36:21 +00:00
Federico Kunze Küllmer
d376ff9b8e
build: fix tag ( #549 )
2021-09-11 08:29:58 +00:00
dependabot[bot]
4dd32ca95a
build(deps): bump github.com/rs/zerolog from 1.24.0 to 1.25.0 ( #548 )
...
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog ) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/rs/zerolog/releases )
- [Commits](https://github.com/rs/zerolog/compare/v1.24.0...v1.25.0 )
---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-10 10:41:55 +00:00
Federico Kunze Küllmer
540bd79f7f
all: remove telemetry ( #545 )
2021-09-09 16:39:55 +00:00
Federico Kunze Küllmer
587cf78b5c
evm: log pagination ( #544 )
...
* evm: log pagination
* tidy
2021-09-09 14:26:30 +00:00
Cuong Manh Le
b0091d4355
client: catch and return unhandled errors in InitConfig
( #540 )
...
Catches and returns unhandled errors after stat-ing for the config file,
which is currently assuming that on non-existent error returned.
Fixes #539
2021-09-09 11:11:40 +00:00
dependabot[bot]
bf415467f9
build(deps): bump github.com/tendermint/tendermint ( #543 )
2021-09-09 12:45:41 +02:00
Federico Kunze Küllmer
6a2914d4b0
evm: rm recover ( #542 )
...
* evm: rm recover
* rm query
* lint
2021-09-09 09:10:33 +00:00
Cuong Manh Le
397e862a1e
server: add missing db.Close
calls before returning ( #541 )
...
It's better to always close the db before exit, so we will be noticed
when any error happens. Otherwise, serious errors can silently happen,
e.g, corrupted db, pending write missing ...
Fixes #538
2021-09-09 05:05:26 -03:00
Federico Kunze Küllmer
2e45a0665e
crypto: updates from reviews ( #535 )
2021-09-07 17:29:24 +00:00
Federico Kunze Küllmer
c3f70aeaf7
docs: update discord link ( #534 )
2021-09-07 07:54:53 +00:00
Federico Kunze Küllmer
26c5eabb18
all: linter ( #532 )
...
* add additional linters
* fixes
* rm action
2021-09-05 11:03:06 +00:00
crypto-facs
c7554e96aa
rpc, evm: debug_traceTransaction
endpoint ( #506 )
...
* fix typo
* Added tracers package to debug API
* Add GetTransactionByHash function to backend package
* first version
* traceTransaction first version
* clean PR
* revert debug changes
* Update proto/ethermint/evm/v1/query.proto
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* remove unnecesary panic
* remove internal debug api
* trace transaction javascript tracer
* add support for custom logConfig
* added comment
* traceTransactions tests
* fix linter
* remove unused
* add comments to traceConfig
* update dependencies
* updated endpoints md
* Apply suggestions from code review
* Update x/evm/keeper/grpc_query.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update x/evm/keeper/grpc_query.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-09-04 20:33:06 +00:00
Federico Kunze Küllmer
6794daf014
rpc, docs: private APIs ( #525 )
2021-09-04 10:18:32 +00:00
Federico Kunze Küllmer
c73ce0f812
all: cleanup imports ( #524 )
2021-09-03 18:06:36 +00:00
Federico Kunze Küllmer
945fa64853
deps: bump go to 1.17 ( #523 )
2021-09-03 16:54:34 +00:00