Federico Kunze Küllmer
9b9c835266
evm: dynamic fee tx ( #384 )
...
* evm: dynamic fee tx
* proto message
* fix
* lint
2021-07-30 11:40:17 +00:00
crypto-facs
d1212725f8
feat: configurable JSON-RPC APIs ( #349 )
...
* fix confusing name
* feat: Enable configurable grpc apis
* docs: Update docs and changelog
* Organized flags order
* fix linter
* fix linter
* fix maligned struct
* fix typo in docs
* fix unnecesary duplicate
* Update cmd/ethermintd/config/config.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update cmd/ethermintd/config/config.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update cmd/ethermintd/config/config.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update docs/basics/json_rpc.md
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* fix eth to be manage as default
* Update init.sh
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update tests/solidity/init-test-node.sh
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* add default case
* add default enable api namespaces
* update changelog
* fix namespaces array handler
* remove duplicated changelog
* fix typo
* remove duplicates namespaces and fix eth namespace issue
* fix variable name
* break line in docs
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-07-26 11:15:55 +00:00
Thomas Nguy
326dc72097
docs: fix example rpc call ( #355 )
2021-07-26 03:11:12 -04:00
Thomas Nguy
0276f3465d
rpc: fix Bloom filter response ( #321 )
...
* fix bloomfilter in rpc response
* add comments
2021-07-20 15:16:02 +00:00
Guillermo Paoletti
282eb13a6f
rpc: implement internal debug_
API namespace functions ( #313 )
...
* API Hello World
* Added all the debug functions + more data to try implementing the GC functions
* Getting transactions information
* Added cpu profile first approach functions
* new struct for cpuprofile and read filename from params
* cpuprofile, gcstats and memstats
* added comment
* All endpoints returns error instead of string
* Code cleanup
* Changed errors messages to match go-eth returns
* Removed activated flag and just using the file to check if it's running
* Added new endpoints to the json_rpc.md file
* GoTrace debug endpoints added
* Block profile endpoint added
* missing goeth calls
* added debug logs
* divide debug and internal api
* Using ExpandHome on server configuration
* Added rpc changes to changelog
* Logging go trace status
* Removed logger functions and moved logger errors to debug
* Added more logs to go trace
* Added more datailed changelog
* Removed trace debug api interface
* added comments
* cleanup
* Updated changelog
* disable lint on cpuprofile rename
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* return error in StopCpuProfile
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* return error in StopGoTrace
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* implement suggested changes
Co-authored-by: ramacarlucho <ramirocarlucho@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-07-20 12:50:17 +00:00
yihuang
14b38af8bc
rpc, evm: use binary search to estimate gas ( #272 )
...
* do binary search to estimate gas
Closes #268
- Also refactor ApplyMessage to be more reuseable
move binary search to rpc api side to have a clean context each try
remove EstimateGas grpc api
* extract BinSearch function and add unit test
* do estimateGas in grpc query
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-07-19 15:19:23 +00:00
Thomas Nguy
c8b88a3a8b
evm, rpc: fix parameters and block gas limit in getBlockByHeight
and getBlockByHash
( #312 )
...
* fix evm set parameters
* recompute header hash only if its not set
* Update x/evm/keeper/state_transition.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-07-19 01:52:44 +00:00
yihuang
297a35dbdd
evm: treat all vm errors the same as reverted ( #276 )
...
Closes : #274
evm: fix `ExtraEIP` activation (#288 )
Closes : #287
Update x/evm/types/utils.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Add `Failed` utility function and changelog
2021-07-15 02:01:05 -04:00
Federico Kunze Küllmer
e09bf23bd0
evm: move ChainConfig
to Params
( #266 )
...
* evm: move ChainConfig to Params
* fixes
* fix test
2021-07-14 05:13:55 -04:00
Calvin Lau
8bfb6b0a67
rpc: implement net_listening
and net_peerCount
JSON-RPC endpoints ( #252 )
...
* Add net_listening net_peerCount endpoint
* Add test cases
* Use RPC client from context
* Fix lint issue
* Revert unnecessary changes
* Update JSON RPC documentation
2021-07-12 08:26:33 -04:00
yihuang
0020e4f2cd
grpc: add eth_call
query command ( #236 )
...
* add eth_call query command
Implement EthCall grpc query api
Closes #229
add eth_call query command
fix codec issue
use query client
use grpc status error and codes
validate address length in grpc handler
* Update x/evm/types/callargs.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-07-09 09:04:46 +00:00
Federico Kunze Küllmer
623863231b
evm, rpc: query ChainConfig via gRPC ( #239 )
...
* evm, rpc: query ChainConfig via gRPC
* c++
2021-07-08 14:46:42 +00:00
Thomas Nguy
735f00d4a3
evm: store reverted tx as not failed ( #228 )
...
* add tx when evm revert
* add comment
* use cache ctx
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-07-08 08:14:11 +00:00
Federico Kunze Küllmer
5f1f252361
evm: TxData
as proto.Any
( #220 )
...
* evm: TxData as proto.Any
* proto message
* fix protobuf any generation
* Int pointer
* fix build and tests
* ante tests
* swagger
* cleanup
* c++
2021-07-05 16:39:08 +00:00
yihuang
6e983a9da1
rpc: fix balance overflow ( #219 )
...
Closes #218
2021-07-02 05:29:47 -04:00
Federico Kunze Küllmer
86e30e8fa3
feat: use sdk.Int
for TxData
( #208 )
...
* feat: use sdk.Int for TxData
* c++
* fix
* fix test
* fix rpc
* lint
2021-06-30 15:28:38 +00:00
Thomas Nguy
5ba8ffe669
ante, evm: update gas consumption logic ( #178 )
...
* clean up logic by ignoring cosmos gas meter
* set gas used in txResponse
* reset and set the gas in context
* rename ante handler
* fix refundedgas logic
* remove gas update logic in keeper
* update context in keeper
* add test for EthSetupContextDecorator
* fix broken test due to gas logic change
2021-06-30 05:31:30 -04:00
Federico Kunze Küllmer
dcc9585595
all: bump SDK to v0.43.0-rc0
( #194 )
...
* all: bump SDK to v0.43.0-rc0
* more updates
* keys
* accounting
* update account
* ante changes
* readonly
* readonly build
* minor changes from self review
* fixes
* evm debug
* custom config & rosetta
* fix
2021-06-29 13:02:21 -04:00
Federico Kunze
6000ab2098
chore: un-fork from cosmos ( #166 )
...
* chore: un-fork from cosmos
* rm LoC
2021-06-22 06:49:18 -04:00
Thomas Nguy
fada59551d
rpc, evm: fix eth_coinbase
endpoint to return ethereum address of the validator node ( #153 )
...
* fix coinbase rpc endpoint to return ethereum address of the validator
* update changelog
* fix lint
* clean code and simplify logic
* fix changelog
* change request variable name and type
* add test
* fix proto comments
* fix proto comments
* Update x/evm/keeper/grpc_query.go
* Update x/evm/keeper/grpc_query.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-06-22 06:14:40 -04:00
crypto-facs
b4d3659547
feat: add txpool
namespace RPC methods ( #146 )
...
* rpc: add txpool namespace and txpool_content endpoint
* fix PublicTxPoolAPI naming typo
* Update ethereum/rpc/txpool_api.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update ethereum/rpc/txpool_api.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* rpc: add txpool_inspect method
* rpc: add txpool_status method
* docs: Update Changelog with TxPool methods
* docs: Add txpool namespace methods documentation
* fix: removed txpool functions from backend.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-06-21 10:06:30 -04:00
Federico Kunze
5af5dd9956
docs: update ADR-001 ( #122 )
...
* docs: update ADR-001
* update
* apply transaction changes:
2021-06-14 15:13:31 -04:00
Federico Kunze
f762087d36
build: deploy docs to GitHub Pages ( #116 )
...
* build: deploy docs to GitHub Pages
* versioning
* try fix
* fix swagger docs
* fix docs build
2021-06-12 12:27:10 -04:00
Federico Kunze
0c6e44d3d3
evm: remove CommitStateDB
, journal
and stateObject
( #84 )
...
* evm: remove CommitStateDB and stateObject
* imported build fixes
* lint
* rm set nonce
* update account response
* changelog
2021-06-08 13:10:29 -04:00
Federico Kunze
6eadc8fdf8
rpc, evm: remove tx Receipt
( #81 )
...
* rpc, evm: remove tc receipt
* rm receipt from gRPC query service
* update eth block
* update tx service response
* rpc tx fixes
* update bloom
* fix
* more fixes
* c++
2021-06-08 07:11:37 -04:00
dependabot[bot]
c78d720532
build(deps): bump ws from 6.2.1 to 6.2.2 in /docs ( #74 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/commits )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 03:13:46 -04:00
Federico Kunze
abcfc9a6ba
evm: error and block hash map updates ( #60 )
...
* evm: error and block hash map updates
* evm: update tests
2021-05-31 10:54:59 -04:00
Federico Kunze
9a5654f70d
ante: AnteHandler
changes from state transition refactor ( #56 )
...
* ante: cherry-pick changes from state transition refactor
* ante: test setup
* ante: fixes
* ante: test (wip)
* ante: finish unit tests
* ante: intrinsic gas test
* ante: chaindecorators test (wip)
* update tests
* ante: cleanup tests
* ante: add test consuption test
2021-05-31 05:05:32 -04:00
dependabot[bot]
4de0835b49
build(deps): bump dns-packet from 1.3.1 to 1.3.4 in /docs ( #57 )
...
Bumps [dns-packet](https://github.com/mafintosh/dns-packet ) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases )
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-30 12:28:47 -04:00
Federico Kunze
fac1761d8e
ADR 001: State ( #26 )
...
* adr 001: state
* additional notes
* more updates
* context
* state transition
2021-05-17 18:36:41 -04:00
Federico Kunze
2c722d03ce
rpc, evm: gRPC tests ( #28 )
...
* rpc, evm: grpc tests
* address validation
* update rpc
* test cleanup
* additional tests
2021-05-17 06:13:08 -04:00
Federico Kunze
ba5bf33f19
proto, evm: use string for address and hash protobuf message fields ( #23 )
...
* proto, evm: use string for address and hash protobuf message fields
* fix tests
* msg test
2021-05-14 02:52:18 -04:00
Federico Kunze
51bf33531e
docs: bump dependencies ( #13 )
2021-05-11 12:30:14 -04:00
Federico Kunze
117342b1b3
all, deps: bump go-ethereum version ( #5 )
...
* evm, rpc: access lists, JSON-RPC and transaction updates (wip)
* ante, evm, rpc: update signature verification
* evm: msg server and tests updates
* evm: tests (wip)
* evm: fix cdc and params
* evm: cleanup state transition
* fix nil cases
* lint
2021-05-10 12:34:00 -04:00
Federico Kunze
614e62fb7e
additions
2021-04-18 17:54:18 +02:00
Federico Kunze
5a3d514ba0
conflicts
2021-04-17 12:00:07 +02:00
Daniel Choi
e31fcc7012
update join_network docs ( #827 )
...
* update join_network docs
* add flag to cmd
* edit rpc-api flag
2021-03-02 11:41:12 -08:00
dependabot[bot]
ce41c6a7a1
build(deps): bump prismjs from 1.21.0 to 1.23.0 in /docs ( #826 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.23.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 22:18:11 -03:00
Daniel Choi
4a1c3e02c9
Update join_network.md ( #770 )
2021-02-04 13:36:37 -08:00
Federico Kunze
4a619b1e1b
faucet: remove module ( #678 )
...
* changelog v0.4.0
* faucet: remove module
* changelog
* codecov
2021-01-08 10:25:02 -03:00
dependabot[bot]
88c3b71a10
build(deps): bump ini from 1.3.5 to 1.3.8 in /docs ( #658 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 14:50:29 +01:00
Daniel Choi
c1a233b6c3
update peers ( #656 )
...
* update peers
* update chainid in cmd
2020-12-11 11:55:31 -08:00
Daniel Choi
7efd10eb21
join network doc ( #606 )
...
* join network doc
* include faucet instructions
* add rpc instructions
* edit persistent peers
* update to latest testnet
2020-12-07 09:39:37 -08:00
Daniel Choi
71090323c0
docs: updates ( #590 )
...
* gas docs
* add period
* pending state docs
* format
* fix links
* add more to pendingstate docs
* add more to gas docs
* add hardspoon doc
* minor fix to pendingstate doc
* note on rlp encoding
* usecase doc
* update encoding doc
* gas docs
* hard spoon and reorder
* fix links
* encoding
* pending state
* final touches
* update intro
* use cases and resources
* typo
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-11-12 20:42:24 +01:00
Federico Kunze
1d0412febc
docs: ethermint resources ( #570 )
2020-10-10 08:48:23 -03:00
Federico Kunze
d0456e546e
ChainSafe/ethermint -> cosmos/ethermint renaming ( #569 )
...
* ChainSafe/ethermint -> cosmos/ethermint renaming
* more renaming
* chainsafe
2020-10-09 17:52:32 +02:00
Justin Thompson
e7a19a1c0a
random doc fixes ( #560 )
...
* add the rest of the eth methods
* added the rest of the namespaces
* get rid of extra space
* doc bug fixes
* remove space
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-10-06 05:45:56 -03:00
Justin Thompson
3ed790b8cd
docs: fix JSON-RPC links ( #558 )
...
* RPC method docs
* forgot readme
* cleanup
* add table and fill in missing details
* update table
* fix tip block
* add the rest of the eth methods
* added the rest of the namespaces
* get rid of extra space
* doc bug fixes
* Update docs/.vuepress/config.js
* fix adr md comment
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-10-01 03:53:42 -03:00
Federico Kunze
a924b20091
update chain-id format ( #542 )
...
* chain_id.go
* rpc changes
* update scripts
* additional test
* changelog
* fix tests
* update script
* rpc updates
* validate testnet command chain-id
* validate rest server chain-id
* fix lint
* rpc updates
* changelog
* comment simulations
2020-09-24 14:50:47 -03:00
Justin Thompson
b9a10b3f3e
docs: add the rest of the namespaces methods ( #535 )
...
* add the rest of the eth methods
* added the rest of the namespaces
* get rid of extra space
* Update docs/basics/json_rpc.md
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-09-24 14:25:47 -03:00