Commit Graph

212 Commits

Author SHA1 Message Date
0xmuralik
f55c304930 disable typecheck linter 2022-10-18 10:51:25 +05:30
0xmuralik
d965f6fbb9 lint 2022-10-17 17:14:21 +05:30
0xmuralik
a4f2cb5731 gofumpt and ignore duplicates 2022-10-17 12:17:56 +05:30
0xmuralik
ec3e8f7ce3 lint 2022-10-17 11:55:19 +05:30
0xmuralik
051ef3fd2a ethermintd->laconicd 2022-10-13 11:23:17 +05:30
0xmuralik
56d59feaa0 update fork 2022-10-10 16:08:33 +05:30
bc76e90b8d fix app init
mount stores & loadlatestversion
2022-10-03 10:19:38 -05:00
0xmuralik
01fbfc6c38 changes for tendermint v0.34.21 2022-09-30 12:11:39 +05:30
SpideyPool192
09d81e4d66 changed binary names and source repos in docker files and readmes 2022-09-07 12:56:51 +05:30
SpideyPool192
a57e5f4fd9 changed package name from tharsis/ethermint to cerc-io/laconicd 2022-09-07 12:06:11 +05:30
Sai Kumar
f04ee6eaa8 fix : fix the test cases failing issue 2022-06-24 10:57:03 +05:30
Sai Kumar
f89c866f50 fix: fix the test cases 2022-06-07 08:56:26 -05:00
Sai Kumar
fc06fbfb48 refactor: updated to ante handlers support 2022-06-07 08:56:18 -05:00
Sai Kumar
a75f275f3e chore: fix the appExport failing test cases 2022-05-18 14:42:44 +05:30
92295c3061 clean up, rm unused 2022-05-18 16:08:56 +08:00
11e82761b4
Apply suggestions from code review 2022-05-18 16:02:55 +08:00
Sai Kumar
f9c4f75f76 refactor: add ibc-go to app 2022-05-18 12:52:25 +05:30
Sai Kumar
b34e83a29a chore: address the pr comments 2022-05-18 11:27:11 +05:30
2c9d18fd93 misc clean up 2022-05-16 22:22:29 +08:00
54e49b83e7 ethereum needs "index events middleware" 2022-05-16 22:22:29 +08:00
a7aff81d32 fix gas limit panic 2022-05-16 22:22:29 +08:00
264aa45492 cleanup 2022-05-16 22:22:26 +08:00
00814e2714 TxExtensionOptionI for ExtensionOptionsEthereumTx 2022-05-16 22:22:20 +08:00
3f946920ad middleware refactor 2022-05-16 22:22:17 +08:00
Sai Kumar
752fb3944f test: add test cases for middleware 2022-04-28 23:04:20 +05:30
Sai Kumar
eb1af33649 fix: fix the rpc test cases 2022-04-28 13:13:39 +05:30
Sai Kumar
8ae41eb7cc WIP: fixing the test cases 2022-04-26 19:02:26 +05:30
Sai Kumar
694d4c667d WIP: fixing the test cases 2022-04-26 16:09:18 +05:30
Sai Kumar
cf0be98f9b Merge branch 'main' into sai/upgrade_cosmos_v0.46 2022-04-23 21:23:06 +05:30
Sai Kumar
9d7333d4fb fix : fix the chain start 2022-04-23 20:07:00 +05:30
Sai Kumar
feae504ff8 WIP: fix the start cmd 2022-04-22 18:25:14 +05:30
Sai Kumar
92791d5f9d WIP: trying to migrate auth handlers to middlewares 2022-04-20 17:20:55 +05:30
92f07873f4 chore: replace with wrn with crn 2022-04-20 13:19:07 +05:30
Sai Kumar
d377665800 fix: fix the params init 2022-04-11 18:00:11 +05:30
Sai Kumar
a0e2858d4f WIP: upgrade cosmos-sdk from 0.45 to SMT 0.46 2022-04-11 13:39:39 +05:30
Sai Kumar
548f2a7b92 chore: rename the ethermint to chibaclonk
1. rename `ethermint` to `chiba-clonk`

2. fix the `make localnet-start`
2022-04-05 21:00:20 +05:30
Sai Kumar
e90b21bc8e migrate: add dxns module
1. add bond,auction, nameserivce module
2. update to v0.12.2 ethermint version
3. fix the test cases
4. add gql server
2022-04-05 12:39:27 +05:30
yihuang
bde62e2d31
cleanup an unused const (#1009) 2022-03-22 10:24:26 +01:00
yihuang
8bcdb2c0e5
make MaxTxGasWanted configurable (#1004) 2022-03-21 10:01:21 +01:00
yihuang
edf456985b
fix: set an upper bound to gasWanted to prevent DoS attack (#991)
Closes: #989

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-03-16 11:01:19 +00:00
dependabot[bot]
50e093a6d2
build(deps): bump github.com/cosmos/ibc-go/v3 from 3.0.0-rc1 to 3.0.0-rc2 (#984)
* build(deps): bump github.com/cosmos/ibc-go/v3

Bumps [github.com/cosmos/ibc-go/v3](https://github.com/cosmos/ibc-go) from 3.0.0-rc1 to 3.0.0-rc2.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/compare/v3.0.0-rc1...v3.0.0-rc2)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-03-11 10:31:16 +00:00
Loredana Cirstea
77d9e29923
fix: GasMeter reset in AnteHandler EthGasConsumeDecorator (#964)
* Fix GasMeter reset in AnteHandler - EthGasConsumeDecorator

Conforming to the spec:
e7066c4271/docs/basics/gas-fees.md
> Set newCtx.GasMeter to 0, with a limit of GasWanted.
> This step is extremely important, as it not only makes sure the transaction cannot consume infinite gas,
> but also that ctx.GasMeter is reset in-between each DeliverTx
> (ctx is set to newCtx after anteHandler is run, and the anteHandler is run each time DeliverTx is called).

* Compute gasWanted in ante handler based on msg gas

* Tests - check gas meter limit after EthGasConsumeDecorator ante handler runs

* Update CHANGELOG.md

* EthGasConsumeDecorator ante handler resets the gas meter only for CheckTx

* Reset the gas meter in Keeper.EthereumTx to an infinite gas meter

* Fix TestOutOfGasWhenDeployContract error check

* Move gas meter reset to the innermost EthAnteHandle

* add NewInfiniteGasMeterWithLimit for setting the user provided gas limit

Fixes block's consumed gas calculation in the block creation phase.

* Fix lint

* Fix lint

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-03-06 15:09:28 +01:00
Guillermo Paoletti
3bea3fa1ef
ante: EIP712 support (#950)
* code migrated

* signed_data ported to avoid conficting dependency

* correct payload

* eip712 working with evmos.me

* use geth TypedData types

* fix linter

* minor refactor

* test first try

* fix test

* fix tests

* enforce fee delegated eip712

* verify signature refactor

* SignedTypedData api refactor

* add AnteHandler test for EIP712

* remove comment

* code clean up

* return more detailed error messages

* fix linter

* remove unnecesary global vars

* Update app/ante/eip712.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* fix pr comments

* remove hardcoded value

* add more tests

* add changelog

* use sdk errors

* add MsgDelegate test

Co-authored-by: Freddy Caceres <freddy.caceres@crypto.com>
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: crypto-facs <84574577+crypto-facs@users.noreply.github.com>
2022-02-26 16:34:43 +00:00
Thomas Nguy
bf54193669
feemarket: change basefee to be a module param (#943)
* change basefee to a module params

* add changelog and fix linter

* change params type of basefee and remove default base fee

* restaure event

* clean code

* fix proto

* fix protos

* fix logic

* update rpc tests

* fix comment

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-02-23 19:48:44 +01:00
crypto-facs
aeedef9b4b
deps: upgrade geth to v1.10.15 (#935)
* upgrade geth to v1.10.15

* fix lint

* fix imports

* revert makefile change

* update changelog

* Update CHANGELOG.md

Co-authored-by: Guillermo Paoletti <guillermo.paoletti@gmail.com>

* update chain config

* add getblockvalue for chain config fork

Co-authored-by: Guillermo Paoletti <guillermo.paoletti@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-02-14 23:08:41 +00:00
HaeSung
7b22a53556
fix: wrong comment in EthGasConsumeDecorator (#929) 2022-02-09 14:03:12 +00:00
yihuang
724a06632b
fix: minimal-gas-prices and baseFeePerGas conflicts (#916)
* Problem: minimal-gas-prices and baseFeePerGas conflicts

Closes: #915

Solution:
- Don't check min-gas-price for evm tx if london hardfork and feemarket enabled.

comments and cleanup

changelog

* fix zero fee coins

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-01-26 10:44:41 +00:00
yihuang
317f5b43b5
fix insufficient fee error message (#911) 2022-01-17 07:12:13 +01:00
yihuang
7d8664043e
impr: support batch eth txs (#901)
* support batch eth tx

Closes: 896

Allow multiple MsgEthereumTx in single tx

* fix transaction receipt api

* fix tx receipt api and accumulate tx gas used

* fix lint

* fix test

* fix rpc test

* cleanup

* fix cumulativeGasUsed and gasUsed

* fix lint

* Update app/ante/eth.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update app/ante/eth.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* Update rpc/ethereum/backend/utils.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

* pr suggestions

* typo

* fix lint

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-01-14 10:37:33 +01:00
Federico Kunze Küllmer
4320f46fc8
types, evm: refactor accounts (#884)
* types,evm: refactor accounts

* fix

* fix panic

* changelog

* fix

* lint, rm dbErr
2022-01-05 19:18:02 +01:00