Federico Kunze
73e5eb5e98
ante: fix fee check ( #597 )
...
* ante: fix fee check
* changelog
* comment
2020-11-16 14:09:40 +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
Federico Kunze
d274c76ac5
evm: fix begin and endblock ( #583 )
...
* evm: fix begin and endblock
* fix tests and changelog
* fix gas
* update GetBlockBloom
2020-10-20 14:53:13 -03:00
Daniel Choi
0870a27018
crypto: fix Bip44 derivation path ( #577 )
...
* change derivationpath to geth's const
* fix lint
* change to var
* add hd path and derivation tests
* replace method
* add to tests
* fix test; pr to sdk
* Update types/config.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update types/config.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* add wrong path/acct test
* use BytesToAddress
* add to changelog
* update tests
* update changelog
* minor comment change
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-10-16 10:51:00 -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
Federico Kunze
4e01da905a
crypto: refactor for stargate ( #559 )
...
* changelog
* update changelog
* crypto: refactor for stargate
* fixes
* fix keys
* changelog
2020-10-06 20:57:55 +02:00
Federico Kunze
811ca7f045
rpc: implement personal_importRawKey ( #552 )
2020-09-29 20:34:01 -04:00
Federico Kunze
592eca96bc
keys: fix privkey derivation ( #554 )
...
* keys: fix privkey derivation
* changelog
* add DeriveSecp256k1 test
Co-authored-by: araskachoi <choidanielw@gmail.com>
2020-09-29 17:10:56 -03:00
noot
7f648d2c55
ante: update nonce check ( #550 )
2020-09-29 10:39:15 -04:00
Federico Kunze
712a5bad61
release changelog ( #543 )
...
* Merge PR #513 : Add chainsafe to readme
* changelog
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-09-25 14:12:50 -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
Federico Kunze
1f4f7fb017
ante: add message validation decorator ( #525 )
...
* ante: add message validation decorator
* changelog
* fix lint
* fix lint
* rename
2020-09-23 11:49:20 -03:00
noot
9a2d39bf18
update minimum gas price to be 1 ( #515 )
...
* update minimum gas price to be 1
* update changelog
2020-09-15 13:17:22 -04:00
Federico Kunze
44876ac72f
types: account balance fix ( #507 )
...
* fix hardcoded photon on account balance getter/setter
* types: testing suite
* balance test
* update zero diff
* add case for other coin
* changelog
* fix journal test
2020-09-09 10:53:14 -03:00
Federico Kunze
d6783707dc
types: unmarshal account from hex address ( #504 )
...
* types: unmarshal account from hex address:
* changelog
2020-09-08 12:58:19 -03:00
Federico Kunze
1505ba89a1
atto photon refactor ( #503 )
...
* atto photon refactor
* update testnet command
* fix test
* changelog
2020-09-08 11:39:48 -03:00
Federico Kunze
b485542b0b
types: support eth hex address on accounts ( #502 )
...
* types: support eth hex address on accounts
* changelog
* doc update
* add note for keyring output
2020-09-08 10:57:49 -03:00
Federico Kunze
d3529dd959
types: update account pubkey JSON to string ( #494 )
...
* types: update account pubkey JSON to string
* changelog
* Update app/ethermint.go
* tests
* update
* fix secp256k1 public key formatting (#501 )
* use Compress and Decompress pubkey for secp256k1 keys
* cleanup
* update estimate gas test
* comments
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
2020-09-07 10:04:50 -03:00
Federico Kunze
792c1ff756
evm: params ( #458 )
...
* evm: params
* setup
* bump commit
* fixes
* increase gas usage
* tests
* evm denom param
* more config updates
* update genesis
* update ante handler
* csdb param test
* more tests and fixes
* update statedb.Copy
* lint
* additional test
* fix importer tests
* fix AnteHandler test
* minor update
* revert
* undo gas update
* stringer test
* changelog
* fix csdb index error (#493 )
* attempt to fix
* cleanup
* add idx check
* update csdb.Copy
* update default hash
* update querier
* update rpc tests
* fix estimate gas test
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
Co-authored-by: noot <elizabethjbinks@gmail.com>
2020-09-02 15:41:05 -04:00
Federico Kunze
26816e2648
evm: debug non-determinism ( #496 )
...
* evm: debug non-determinism
* add tests
* changelog
2020-09-02 14:33:03 -04:00
Federico Kunze
8a3692e174
Fix BIP44 coin type ( #480 )
...
* fix docsearch
* update BIP44 coin type
* changelog
* set HD path
2020-08-28 11:35:10 -04:00
Federico Kunze
33de0ca1f4
upgrade module support ( #471 )
...
* upgrade module
* changelog
2020-08-25 15:17:15 -04:00
Federico Kunze
28fd339265
docs: fix npm dependency ( #468 )
...
* changelog
* docs: fix dependency
2020-08-24 16:21:45 -04:00
Federico Kunze
43788ad9f7
Changelog changes ( #464 )
...
* changelog
* changelog updates from v0.1.0
2020-08-24 16:16:12 -04:00
Federico Kunze
261f86fdf2
bump SDK to v0.39.1 ( #386 )
...
* bump sdk version to v0.39.0 candidate
* updates
* update evm
* bump commit
* more changes
* build
* genesis
* fix tests
* fix tests
* bump commit
* bump commit
* bump commit
* add keygen func
* bump version to 0.39.0-rc0
* update AnteHandler
* fix TxDecoder
* lint
* fix test
* update statedb
* changelog
* fixes
* remove extra files
* update make test-import
* rename test
* bump SDK version to final release
* update to 0.39.1-rc1
* fix evm tests
* update RPC
* minor fixes
* update to rc2
* bump to v0.39.1
* fix personal API
* fix string type cast ambiguity (#449 )
* init
* fix estimate gas test
* minor genesis change
* remove comments from unstable commit (stargate release)
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
2020-08-23 17:41:54 -04:00
Federico Kunze
375a7a074d
local testnet command ( #378 )
...
* evm: fix non-determinism
* fixes
* typo
* fix tests
* local testnet command
* fix testnet cmd (#383 )
fix export-eth-key
generate eth type account in genesis.json file
* fixes
* update docker
* minor changes
* fix build-docker-local-ethermint
* fix dockerfile
* update Makefile
* update denoms
* update genesis file
* update makefile
* fix docker-compose.yml images
* fix localnet execution (#398 )
* finish documentation
* changelog and comment rpc tests workflow
* update codecov
* update testnet docs
* fix docker-compose execution
* update docs
* fix errors and make testnet work (#403 )
* fix errors and make testnet work
* Update Dockerfile
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* wip - fix db
* fixes emintd nodes and syncs nodes
* starts daemon and rpc server in bg
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
* update entrypoint and docs
* update logs
* try fix rpc
* build docker image
* Update Dockerfile
Co-authored-by: Holechain <nrgh@foxmail.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: Daniel Choi <choidanielw@gmail.com>
2020-07-31 17:42:04 -04:00
Federico Kunze
20e9b2ede3
rpc: event websocket subscription ( #308 )
...
* rpc: event websocket subscription
* rpc: use tendermint event subscriptions
* new log events
* filter evm transactions
* filter logs
* wip: refactor filters
* remove custom BlockNumber
* wip: refactor rpc
* HeaderByNumber and HeaderByHash
* update Tendermint event system
* update Filter
* update EventSystem
* fix lint issues
* update rpc filters
* upgrade to tendermint v0.33.4
* update filters
* fix unsubscription
* updates wip
* initialize channels
* cleanup go routines
* pass ResultEvent channel on subscription
* error channel
* add block filter changes test
* add eventCh loop
* pass funcs in select go func, block filter working
* cleanup
* lint
* NewFilter and GetFilterChanges working
* eth_getLogs working
* lint
* lint
* cleanup
* remove logs and minor fixes
* changelog
* address @noot comments
* revert BlockNumber removal
Co-authored-by: noot <elizabethjbinks@gmail.com>
2020-07-03 11:40:00 -04:00
noot
e9c494cf71
rpc: return 0 nonce if account doesn't exist ( #345 )
...
* add EnsureExists check to GetTransactionCount
* cleanup, return 0 as nonce if account doesn't exist
* update changelog
* update changelog
2020-06-26 14:15:54 -04:00
Federico Kunze
988ee53a59
rpc: implement eth_coinbase ( #325 )
...
* rpc: implement eth_coinbase
* changelog
* address comments from review
* changelog
2020-06-08 12:43:37 -04:00
Federico Kunze
427e96c1de
evm: various fixes ( #319 )
...
* evm: use prefix stores, move SetBlockBloom to EndBlock, bug fixes
* add logs to genesis state
* log tests
* commit and finalize on InitGenesis
* validate TransactionLogs
* changelog
* fix test-import
* fix lint
* add more tests
2020-06-04 06:40:21 -04:00
Federico Kunze
3526ac12b2
evm: GenesisAccount validation ( #317 )
...
* evm: GenesisAccount validation
* changelog
* fix tests
* typo
2020-05-28 17:22:41 -04:00
Federico Kunze
16df7725c5
evm: add missing genesis fields and export genesis state logic ( #255 )
...
* evm: export genesis state
* x/evm: split keeper.go
* x/evm: retrieve storage from address
* changelog
* fixes
* add check for nil logs
* update validation func
* fixes
* fix non-determinism
* stop storage iteration
* remove error return value
* update changelog
* fix test
* lint
2020-05-18 15:21:12 -04:00
Federico Kunze
d3c802f99e
x/evm: logger ( #272 )
...
* x/evm: logger
* changelog
* go mod verify and tidy
* typo
2020-04-29 23:36:30 -04:00
Federico Kunze
7c5e0afb09
SDK modules simulations ( #269 )
...
* SDK modules simulations
* changelog
* changelog
2020-04-29 11:48:44 -04:00
Federico Kunze
4d609b2a22
bump Cosmos SDK version to v0.38.2 ( #183 )
...
* evm: move Keeper and Querier to /keeper package
* keeper: update keeper_test.go
* fix format
* evm: use aliased types
* bump SDK version to v0.38.1
* app: updates from new version
* errors: switch sdk.Error -> error
* errors: switch sdk.Error -> error. Continuation
* more fixes
* update app/
* update keys and client pkgs
* build
* fix tests
* lint
* minor changes
* changelog
* address @austinbell comments
* Fix keyring usage in rpc API and CLI
* fix keyring
* break line
* Misc cleanup (#188 )
* evm: move Begin and EndBlock to abci.go
* evm: use expected keeper interfaces
* app: use EthermintApp for integration and unit test setup
* evm: remove count type; update codec
* go mod verify
* evm: rename msgs for consistency
* evm: events
* minor cleanup
* lint
* ante: update tests
* changelog
* nolint
* evm: update statedb to create ethermint Account instead of BaseAccount
* fix importer test
* address @austinabell comments
* update README
* changelog
* evm: update codec
* fix event sender
* store logs in keeper after transition (#210 )
* add some comments
* begin log handler test
* update TransitionCSDB to return ReturnData
* use rlp for result data encode/decode
* update tests
* implement SetBlockLogs
* implement GetBlockLogs
* test log set/get
* update keeper get/set logs to use hash as key
* fix test
* move logsKey to csdb
* attempt to fix test
* attempt to fix test
* attempt to fix test
* lint
* lint
* lint
* save logs after handling msg
* update k.Logs
* cleanup
* remove unused
* fix issues
* comment out handler test
* address comments
* lint
* fix handler test
* address comments
* use amino
* lint
* address comments
* merge
* fix encoding bug
* minor fix
* rpc: error handling
* rpc: simulate only returns gasConsumed
* rpc: error ineffassign
* go: bump version to 1.14 and SDK version to latest master
* rpc: fix simulation return value
* breaking changes from SDK
* sdk: breaking changes; build
* tests: fixes
* minor fix
* proto: ethermint types attempt
* proto: define EthAccount proto type and extend sdk std.Codec
* evm: fix panic on handler test
* evm: minor state object changes
* cleanup
* tests: update test-importer
* fix pubkey registration
* lint
* cleanup
* more test checks for importer
* minor change
* codec fixes
* rm init func
* fix importer test build
* fix marshaling for TxDecoder
* use amino codec for evm
* fix marshaling for SimulationResponse
* use jsonpb for unmarshaling
* fix method handler crashed
* return err on VerifySig
* switch stateObject balance to sdk.Int
* fixes to codec and encoding
* cleanup
* set tmhash -> ethhash in state transition
* add tmhash->ethereumhash to csdb.GetLogs
* attempt to fix tests
* update GetLogs to switch with Has
* ante panic
* diff changes
* update SetLogs
* evm/cli: use ethermint codec
* use LengthPrefixed for encoding
* add check for nil *big.Int
* add balance to UpdateAccounts
* fix previous balance
* fix balance bug
* prevent panic on make test-import
Co-authored-by: austinabell <austinabell8@gmail.com>
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
Co-authored-by: noot <elizabethjbinks@gmail.com>
2020-04-22 15:26:01 -04:00
Austin Abell
33ab63ef15
update web3 transaction hash from RLP ( #250 )
...
* remove ethereum hash of web3 transaction type (always amino hash)
* Update changelog
2020-04-13 19:08:43 -04:00
noot
199484fc2e
eth_getFilterLogs, eth_getLogs implementation ( #248 )
2020-04-13 15:18:50 -04:00
noot
db4cee7eac
eth_newBlockFilter and related functionality ( #232 )
...
* add filter types for block, pending tx, log
* implement pollForBlocks for block filters
* implement getFilterChanges for block filter
* implement uninstall filter by stopping polling
2020-04-07 16:00:06 -04:00
Federico Kunze
da9157e406
upgrade changes cleanup ( #236 )
...
* changes from update version
* app changes
* cmd changes
* build and send tx
* fix tests
* eth_rpc fixes
* lint
* add WithEventManager to handler ctx
* changelog
* go mod verify and tidy
2020-04-01 15:49:21 -03:00
Federico Kunze
30f34e6c59
evm: move Keeper and Querier to /keeper package ( #182 )
...
* evm: move Keeper and Querier to /keeper package
* keeper: update keeper_test.go
* fix format
* evm: use aliased types
* add comments from review
* changelog
2020-03-09 10:17:23 -03:00
Federico Kunze
b6af79638c
add CHANGELOG.md ( #184 )
...
* add CHANGELOG.md
* update PR template
2020-03-06 20:00:03 -03:00