| 
							
							
								 yihuang | f06df8c265 | imp: clean up the block fetch logic in json-rpc (#1081) * clean up the block fetch logic in json-rpc
deduplicate some codes
fix EthBlockFromTm
fix latest block height
* add bug fix changelog | 2022-05-23 18:36:31 +02:00 |  | 
			
				
					| 
							
							
								 yihuang | d359cbd9c9 | fix:  gas price value in eth_getTransactionJSON-RPC response (#1082)Solution:
- pass the correct baseFee parameter
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> | 2022-05-19 06:48:37 +00: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 |  | 
			
				
					| 
							
							
								 Federico Kunze | cb2ab3d95d | more fixes | 2021-04-18 18:39:15 +02:00 |  | 
			
				
					| 
							
							
								 Federico Kunze | 5a3d514ba0 | conflicts | 2021-04-17 12:00:07 +02:00 |  | 
			
				
					| 
							
							
								 KamiD | fae8147352 | Fix failed to call EstimateGas (#761) * fix failed to call function EstimateGas
* add ut to test estimateGas after contract deployed | 2021-02-16 13:04:29 -08:00 |  | 
			
				
					| 
							
							
								 Louis Liu | 6d11e23326 | rpc: fix method to calculate block hash and fix mismatch block hash in eth.getBlock response (#755) | 2021-01-31 23:20:22 -03:00 |  | 
			
				
					| 
							
							
								 KamiD | cfe629c14f | rpc: fix metamask pending while sending an error transaction (#711) * fix pending state in metamaks wallet when sending an error tx and rejected by antehandle
* using abci.CodeTypeOK instead 0 | 2021-01-18 10:28:52 -03:00 |  | 
			
				
					| 
							
							
								 Daniel Choi | d7bdbd7488 | Fix nonce issue for replay attack (#692) * fix nonce issue for replay attack
* fix lint
* add to changelog | 2021-01-08 22:44:50 -03:00 |  | 
			
				
					| 
							
							
								 Daniel Choi | cb96bc4ea3 | Pending (#571) * add PendingBlockNumber -1
* increase block times
* update bn
* get pending balance
* additional logic to check for pending state
* add multiple balance query
* pending state for getTransactionCount
* fix lint
* add getBlockTransactionCountByNumber code - commented
* cleanup test
* GetBlockTransactionCountByNumber
* cleanup
* getBlockByNumber
* GetTransactionByBlockNumberAndIndex
* conform to namespace changes
* exportable FormatBlock method
* eth_getTransactionByHash
* eth_getTransactionByBlockNumberAndIndex
* pending nonce
* set nonce for pending and check for invalid
* WIP: doCall
* add pending tx test
* cleanup + refactor
* push first tests and init pending
* pending changes (#600)
* cleanup
* updates
* more fixes
* lint
* update call and send
* comments and minor changes
* add pending tests into sep package
* fix latest case for eth_GetBlockTransactionCountByNumber
* fix repeating null transactions in queue
* remove repeated structs
* latestblock case
* revert init script back
* fix to exportable method
* automate pending tests; add make cmd
* move and comment out pending call test
* fix some golint
* fix unlock issue
* wip: linter stringer fix?
* stringer lint
* set arr instead of append
* instantiate with length
* sep if statement
* edit pendingblocknumber note
* switch statement
* fix and update tests
* move tests-pending into tests dir
* remove commented test
* revert to appending pendingtx
* Update tests/utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update tests/utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update tests/utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* require no err
* rename var
* check result for eth_sendTransaction
* update changelog
* update
* Update tests/utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update tests/tests-pending/rpc_pending_test.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* changelog
* remove redundant check
Co-authored-by: noot <elizabethjbinks@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com> | 2020-12-15 19:52:09 +00:00 |  | 
			
				
					| 
							
							
								 Federico Kunze | 602e61adea | rpc: fix cumulative gas (#662) * rpc: fix cumulative gas
* changelog | 2020-12-15 20:42:58 +01:00 |  | 
			
				
					| 
							
							
								 Federico Kunze | ef1bef16e5 | rpc: protocol version (#575) * evm: protocol version
* changelog
* version
* fix
* support latest version only | 2020-12-08 20:51:26 +01:00 |  | 
			
				
					| 
							
							
								 Federico Kunze | 3072376371 | rpc: fix deadlock (#614) | 2020-11-24 16:15:42 +01:00 |  | 
			
				
					| 
							
							
								 Federico Kunze | 4501bbccdc | rpc, evm: refactor (#588) * stargate: refactor
* remove evm CLI
* rpc: refactor
* more fixes
* fixes fixes fixes
* changelog
* refactor according to namespaces
* fix
* lint
* remove export logic
* fix rpc test
* godoc | 2020-10-22 17:39:51 -03:00 |  |