laconicd-deprecated/x/evm/types
Jongwhan Lee 392d1dd8cf
rpc: eth_feeHistory (#734)
* Problem: missing json rpc of eth_feeHistory #685

add oracle backend

space ready

structure ok

refactoring

return feehistory

data flow ok

basefee

set gas used ratio

computing reward

add testing

add gas used

prepare data

fill reward

increase coin

fixing api

add mac

add launch

gas used ratio ok

print element

reward workes

reward working

fix panic

value correct

remove debugging log

tidy up

tidy up

remove oracle

tidy up

fix handler crash

add unit test

tidy up

add limit check

reformat

fix lint

fix lint

fix lint

fix lint

Update rpc/ethereum/backend/feebackend.go

thanks

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

Update rpc/ethereum/backend/feebackend.go

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

Update rpc/ethereum/backend/feebackend.go

thanks

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

Update rpc/ethereum/backend/feebackend.go

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

fix compile error

split lines

remove temporary string conversion

return error if gaslimit is 0

move OneFeeHistory to types

add comment

only err check

Update rpc/ethereum/backend/feebackend.go

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

Update rpc/ethereum/backend/feebackend.go

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

tidy up

add feehistory-cap

* Apply suggestions from code review

* changelog

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
2021-11-17 11:58:52 +00:00
..
access_list_test.go evm: unit tests (#619) 2021-10-08 13:11:19 +02:00
access_list_tx.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
access_list.go all: cleanup imports (#524) 2021-09-03 18:06:36 +00:00
chain_config_test.go build(deps): bump github.com/ethereum/go-ethereum from 1.10.9 to 1.10.11 (#676) 2021-10-25 15:01:04 +00:00
chain_config.go build(deps): bump github.com/ethereum/go-ethereum from 1.10.9 to 1.10.11 (#676) 2021-10-25 15:01:04 +00:00
codec_test.go all: linter (#532) 2021-09-05 11:03:06 +00:00
codec.go all: linter (#532) 2021-09-05 11:03:06 +00:00
compiled_contract.go tests: add message call benchmark (#717) 2021-11-08 13:04:49 +00:00
config.go evm: refactor dup state transition code (#674) 2021-10-22 19:21:03 +02:00
dynamic_fee_tx_test.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
dynamic_fee_tx.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
ERC20Contract.json rpc: transaction receipt test (#678) 2021-10-20 21:00:17 +02:00
errors_test.go all: linter (#532) 2021-09-05 11:03:06 +00:00
errors.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
events.go evm: remove tx logs and block bloom from chain state (#556) 2021-09-15 09:45:03 +00:00
evm.pb.go build(deps): bump github.com/ethereum/go-ethereum from 1.10.9 to 1.10.11 (#676) 2021-10-25 15:01:04 +00:00
genesis_test.go evm: unit tests (#619) 2021-10-08 13:11:19 +02:00
genesis.go evm: fixed commented out simulations, pubsub, and handler tests (#655) 2021-10-11 13:09:53 +02:00
genesis.pb.go build(deps): bump github.com/ethereum/go-ethereum from 1.10.9 to 1.10.11 (#676) 2021-10-25 15:01:04 +00:00
interfaces.go evm: geth 1.10.9 fee market changes to Keeper and AnteHandler (#620) 2021-10-04 14:58:06 +00:00
key.go evm: fix import/export genesis for contract storage (#590) 2021-09-27 12:26:45 +02:00
legacy_tx_test.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
legacy_tx.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
logs_test.go crypto: updates from reviews (#535) 2021-09-07 17:29:24 +00:00
logs.go all: linter (#532) 2021-09-05 11:03:06 +00:00
msg_test.go rpc: eth_feeHistory (#734) 2021-11-17 11:58:52 +00:00
msg.go feat: add raw ethereum tx CLI (#712) 2021-11-02 12:20:19 +01:00
params_test.go evm, rpc: disable BaseFee for non London block (#662) 2021-10-13 15:39:47 +02:00
params.go evm, rpc: disable BaseFee for non London block (#662) 2021-10-13 15:39:47 +02:00
query.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
query.pb.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
query.pb.gw.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
storage_test.go all: cleanup imports (#524) 2021-09-03 18:06:36 +00:00
storage.go all: linter (#532) 2021-09-05 11:03:06 +00:00
TestMessageCall.json tests: add message call benchmark (#717) 2021-11-08 13:04:49 +00:00
tracer_test.go evm: unit tests (#619) 2021-10-08 13:11:19 +02:00
tracer.go fix: set EVM debug based on tracer config (#746) 2021-11-16 08:57:03 +00:00
tx_args.go rpc: geth v1.10.9 changes (#624) 2021-10-06 11:22:32 +00:00
tx_data_test.go evm: fix Chain ID derivation (#579) 2021-09-21 11:31:19 +00:00
tx_data.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
tx.go evm: treat all vm errors the same as reverted (#276) 2021-07-15 02:01:05 -04:00
tx.pb.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
tx.pb.gw.go rpc: debug_traceTransaction fails for succesful tx (#720) 2021-11-09 18:38:22 +00:00
utils_test.go all: bump go-ethereum to v1.10.9 (#231) 2021-10-05 15:38:20 +00:00
utils.go tests: integration tests with JSON-RPC client (#704) 2021-11-14 14:34:10 +01:00