laconicd/x/evm/types
yihuang bc1d81c5e8
fix: Web3 RPC handlers panic (#702)
* Problem: Some Web3 RPC Handlers could panic

Closes: #701

Solution:
- return error rather than panic when decoding invalid tx

* add validation rules

* changelog
2021-10-26 13:13:27 +02: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 rpc: transaction receipt test (#678) 2021-10-20 21:00:17 +02: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 fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00
msg.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02: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 refactor: eth_call and eth_estimateGas don't need to pass base fee as field (#671) 2021-10-21 17:29:19 +02:00
query.pb.go refactor: eth_call and eth_estimateGas don't need to pass base fee as field (#671) 2021-10-21 17:29:19 +02:00
query.pb.gw.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
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
tracer_test.go evm: unit tests (#619) 2021-10-08 13:11:19 +02:00
tracer.go evm: unit tests (#619) 2021-10-08 13:11:19 +02: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 proto: v1alpha to v1 (#448) 2021-08-17 15:30:35 +00:00
utils_test.go all: bump go-ethereum to v1.10.9 (#231) 2021-10-05 15:38:20 +00:00
utils.go fix: Web3 RPC handlers panic (#702) 2021-10-26 13:13:27 +02:00