Federico Kunze Küllmer
b567624d6a
tests: update consensus params ( #1117 )
...
* tests: update consensus params
* fix
2022-06-08 15:21:51 +02:00
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
crypto-facs and Federico Kunze Küllmer
620f6a6770
imp(feemarket): update BaseFee based on GasWanted ( #1105 )
...
* add gasWanted transient store keys
* add gasWanted transient store keeper functions
* add gasWanted transient store tracker
* add comment
* remove unncesary comment
* remove unnecesary function
* fix tests
* fix bad comment
* remove unnecesary comment
* update comment
* update changelog
* Update CHANGELOG.md
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* add GasWantedDecorator
* remove unnecesary comments
* gasWanted decorator test
* fix tests
* fix tests and build
* fix lint
* updated end block event
* Update app/ante/fee_market.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* fix undeclared variable
* Update app/ante/fee_market_test.go
* remove unnecesary line
* migrate MinGasMultiplier to FeeMarket module
* set limited gas wanted
* remove old newKeeper param
* update proto comment
* fix test
* update comments
* Update x/feemarket/keeper/abci.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* address comments from review
* tidy
* tests
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
2022-06-05 09:22:33 +00:00
Daniel Burckhardt
cad7ff66b0
analytics(app): update telemetry to Ethermint modules ( #1106 )
...
* analytics(evm): replace telemetry gauges with counters and add gasUsed counter
* analytics(feemarket): add telemetry gauges for base fee and block gas
* analytics(feemarket): add telemetry gauges for gas_used per gas_limit
* analytics(feemarket): remove refund telemetry
* analytics(app): update CHANGELOG
* remove unwanted change
* address PR comments
* update comment
2022-06-02 15:04:33 +02:00
Loredana Cirstea
046cd00174
feemarket: global MinGasPrice parameter ( #1104 )
...
* Add min_gas_price to feemarket params
* Add MinGasPriceDecorators
* feemarket integration tests for MinGasPrice
* Restructure integration tests
* Simplify integration tests context
We use DeliverTx context to set up the app, otherwise not all settings are initialized.
We test CheckTx with `s.app.BaseApp.CheckTx(req)`, which uses the `CheckTx` mode and context.
* Update MinGasPrice spec in feemarket module
* reorder ethermint module order for initializing genesis
* feemarket migrations for adding MinGasPrice param
* update changelog
* Additional unit tests for MinGasPrice = 0, tx gas price > 0 (PR review)
https://github.com/tharsis/ethermint/pull/1104#discussion_r884991661
* Use 0 MinGasPrice for transaction simulations
* Fix duplicate registration of feemarket GenesisState and Params (PR review)
https://github.com/tharsis/ethermint/pull/1104#issuecomment-1141893712
2022-05-31 18:28:46 +02:00
Daniel Burckhardt
928e018aa9
impr(evm): add tx_type, gas and counter telemetry for ethereum txs ( #1101 )
...
* impr(evm): add tx_type, gas and counter telemetry for ethereum txs
* impr(evm): Add CHANGELOG
2022-05-30 10:24:29 +02:00
Daniel Burckhardt
d23fb0c37d
specs(evm): Add concepts ( #1095 )
...
* specs(evm): Add concepts
* specs(evm): Add geth and bytecode concepts
* specs(evm): little fixes
* fix typo
* add CHANGELOG
2022-05-26 15:04:19 +00:00
crypto-facs and Federico Kunze Küllmer
d5598932a7
imp(evm): add query params to CLI ( #1091 )
...
* add query params to evm
* update changelog
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
2022-05-25 14:02:01 +00:00
crypto-facs and Federico Kunze Küllmer
c4417713fa
imp(evm): define minimum GasUsed proportional to GasLimit ( #1087 )
...
* min gas denominator implementation
* update changelog
* modify MinGasDenominator type to sdk.Dec
* fix typo in comments
* add comments
* update comment
* refactor logic
* remove unnecesary test
* fix typo on proto
* rename param
* fix tests
* use truncate and run mod tidy
* comment to default value
* update changelog
* rename temporary gas used
* integration tests
* add migrations
* add default as var
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
2022-05-25 13:52:34 +00:00
Thomas Nguy
9edc87d114
fix: append Log in tx post processing response ( #1088 )
...
* fix post processing log
* update changelog
2022-05-19 12:11:26 +02:00
Sai Kumar
1bbb2d7f42
chore: small fix
2022-05-18 12:55:06 +05:30
Sai Kumar
b34e83a29a
chore: address the pr comments
2022-05-18 11:27:11 +05:30
Sai Kumar
f705908614
fix : fix the unit test for modules
2022-05-17 07:20:21 +05:30
Sai Kumar
49cd996e80
Merge branch 'roy/upgrade-to-v0.46' of github.com:vulcanize/chiba-clonk into roy/upgrade-to-v0.46
2022-05-16 20:18:06 +05:30
roysc
2c9d18fd93
misc clean up
2022-05-16 22:22:29 +08:00
roysc
bfb702009a
fix tx response decoding
2022-05-16 22:22:29 +08:00
roysc
00814e2714
TxExtensionOptionI for ExtensionOptionsEthereumTx
2022-05-16 22:22:20 +08:00
roysc
d1c4da99b9
[wip] TxExtensionOptionI for ExtensionOptionsEthereumTx
2022-05-12 19:45:01 +08:00
4ea9b6dc6d
imp, ci: address pending issues from EVM simulation ( #1063 )
...
* add note
fix note
* add TestAppStateFn TestRandomAccounts
* marshal int slice to json
* add paramschange for enableCreate and enableCall
* AppStateFn -> StateFn
* add TestDecodeStore
* update github actions to run evm simulation
* add TestParamChanges
* add TestRandomizedGenState
* use go install for runsim
* resolve conflict
* use random gasCap to estimate gas
* use estimateGas to calculate max transferableAmount
* update godoc
* TestAppStateFn -> TestStateFn
* Update x/evm/simulation/genesis.go
* comment
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com >
2022-05-02 15:27:43 +02:00
Federico Kunze Küllmer
c25669c761
rpc: refactor rpc packages and backend to support cosmos namespace ( #1070 )
...
* rpc: refactor rpc packages and backend to support cosmos namespace
* changelog
* typo
2022-05-02 06:26:24 +00:00
yihuang
556c2cc8a3
fix!: london hardfork check logic in json-rpc apis ( #1068 )
2022-04-30 18:11:28 +02:00
Sai Kumar
760cddf698
fix: fix the cli test cases for modules
2022-04-29 09:50:27 +05:30
Sai Kumar
eb1af33649
fix: fix the rpc test cases
2022-04-28 13:13:39 +05:30
Federico Kunze Küllmer
0f0996432a
fix: update BaseFee JSON-RPC ( #1059 )
...
* release: v0.14.0 changelog (#1057 )
* fix: update BaseFee JSON-RPC
* typo
* changelog
2022-04-26 14:24:32 +00:00
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
fd59a37798
fix : fix the conflicts
2022-04-23 21:23:51 +05:30
Sai Kumar
cf0be98f9b
Merge branch 'main' into sai/upgrade_cosmos_v0.46
2022-04-23 21:23:06 +05:30
Federico Kunze Küllmer
a121224dbc
docs: update EVM spec
2022-04-22 14:57:48 +02:00
nabarun
9d4c381e1a
fix: increase timers for nameservice tests
2022-04-21 00:45:52 +05:30
nabarun
2ea883bc50
nameservice: return record id in setRecord message response
2022-04-20 17:21:52 +05:30
Sai Kumar
92791d5f9d
WIP: trying to migrate auth handlers to middlewares
2022-04-20 17:20:55 +05:30
nabarun
92f07873f4
chore: replace with wrn with crn
2022-04-20 13:19:07 +05:30
nabarun
7f70108a4a
nameservice: implement processing record and authority expiry
2022-04-19 15:51:37 +05:30
eaca3e09e2
fix: simulations don't generate EVM transactions ( #996 )
...
* use SimAppChainId instead of the default cosmos-sdk simulation chainid
* implement custom RandomGenesisAccounts for auth module simulation
* use customized RandomGenesisAccounts
* generate random ethereum txs operations
* use sdk.DefaultBondDenom
* implement WeightedOperations
* fix self assignment
* use customized RandomAccounts to generate accounts with ethsecp256k1 private key
* RandomAccounts generate random accounts with ethsecp256k1 private key
* implement SimulateEthSimpleTransfer
* implement SimulateEthCreateContract
* refactor and implement operationSimulateEthCallContract as future operations of SimulateEthCreateContract
* Update app/app.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* Update app/test_helpers.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* Update app/test_helpers.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* fix r.Read return only 1 result
* fix linter errors
* change SimulateContext to private
* return transferable amount immediately
* fix linter errors
* fix linter errors: append assign to different slice
* fix linter error: remove else block
* use gofumpt
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* fix recipient typo
* add nosec comment to escape Potential hardcoded credentials check
* add comments
* use SimAppChainID as valid chainID
* do not specify genesis.json to create random genesis state for simulation
* sub estimateGas to avoid overflow
* correct RandomGenesisAccounts comments
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* correct app/test_helpers.go comments
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* remove NewTxConfig
* implement RegisterStoreDecoder
* remove WeightMsgEthCallContract and adjust weights
* use gofmt
* update godoc
* use types.DefaultEVMDenom in evm genesis params
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* use types.DefaultEVMDenom
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
* update godoc
* Update x/evm/simulation/genesis.go
* replace evmdenom with bonddenom in AppStateFn
* fix AppStateFn
* fix lint error
* add ParamChanges for RandomizedParams
* rename app/test_helpers.go -> app/utils.go
* testing for RandomGenesisAccounts
* use cdc for marshaling
* lint
* changelog
* changelog 2
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 >
Co-authored-by: Freddy Caceres <freddy.caceres@crypto.com >
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com >
2022-04-19 09:50:00 +00:00
nabarun
8477b3d9cb
Implement float, boolean and reference types for attributes keyValueInput
2022-04-19 08:58:10 +05:30
nabarun
f7623b26f9
nameservice: return names with records query
2022-04-18 14:44:32 +05:30
crypto-facs
bc4b018b60
Context block height fix on TraceTx ( #1051 )
2022-04-16 19:31:30 +02:00
nabarun
d762ce98b3
nameservice: queryRecords filter by attributes
2022-04-13 17:33:42 +05:30
MalteHerrmann and Federico Kunze Küllmer
4d63238ab0
tests: Increase coverage for msg.go and access_list_tx.go ( #1044 )
...
* tests: Add tests for MsgEthereumTx getter methods
* tests: Add nil data test for MsgEthereumTx buildTx
* tests: Removed unnecessary sdk>big.Int conversions
in MsgEthereumTx ValidateBasic test
* tests: Replace deprecated ethtypes.NewTransaction
* tests: Add AccessListTx tests
* tests: Fix dropped LegacyTx coverage
* Address PR comments
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
2022-04-12 23:08:14 +02:00
Federico Kunze Küllmer
1e03c0c603
deps: bump SDK to v0.45.3 ( #1046 )
...
* release: v0.13.0 (#1030 )
* release: v0.12.0 changelog
* changelog: v0.12.1 (#1019 )
* evm: update empty hash check for storage state (#1016 )
* v0.12.1: changelog
* changelog: v0.12.2 (#1022 )
* changelog: v0.12.2
* fix
* fix
* update changelog
* deps: bump SDK to v0.45.3
* changelog
* fixes
2022-04-12 15:31:25 +02:00
Sai Kumar
a0e2858d4f
WIP: upgrade cosmos-sdk from 0.45 to SMT 0.46
2022-04-11 13:39:39 +05:30
nabarun
555934b799
nameservice: change Record message types for chiba-clonk-client
2022-04-08 13:03:58 +05:30
MalteHerrmann
c70701e785
tests: add more dynamic fee tx tests ( #1032 )
2022-04-06 19:54:41 +02:00
Nick DeLuca and Federico Kunze Küllmer
ea3c16ed7a
fix: remove proto message registration from legacy v09 types to fix conflict ( #1023 )
...
with existing types
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
2022-04-05 15:51:56 +00:00
Thomas Nguy and Federico Kunze Küllmer
56c4a31f10
evm: allow to append logs after a post processing hook ( #1025 )
...
* add log after tx post processing hook
add changelog
fix tests
rename variable
minimum change version
* Update x/evm/keeper/state_transition.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com >
2022-04-05 15:38:18 +00:00
Sai Kumar
4aef5ff22a
Merge branch 'main' into sai/rename_ethermint_chibaclonk
2022-04-05 21:02:33 +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
nikugogoi
401e351080
fix: gql query lookupAuthorities and bond module messages ( #25 )
2022-04-05 19:23:49 +05:30