Federico Kunze
5a3d514ba0
conflicts
2021-04-17 12:00:07 +02:00
Ray Pierre
75fb3ccb89
fix incorrect blockHash in evm ( #780 )
...
* Fix wrong blockHash value in evm
* fix ut
* store current block hash in BeginBlock
* update ut
* update comment
* add changelog
2021-03-18 20:04:29 -07: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
c95ad0432b
x/evm: open eip2028 when the version of Istanbul was enabled ( #731 )
...
* open eip2028 when Istanbul version enabled
* Update x/evm/types/chain_config.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/evm/types/chain_config.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* add change log
* update development
* fix rpc test error
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-28 13:30:38 -03:00
Louis Liu
f0bf151176
evm: add parameter check for evm query func ( #746 )
...
* add parameter check for evm query func
* update changelog
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-25 11:36:16 -03:00
MichaelWang
bfa9a733e0
evm: fix format errors in String() of QueryEthLogs ( #748 )
...
* FIX: format errors in String() of QueryETHLogs
* FINISH: add change log
2021-01-25 11:09:28 -03:00
MichaelWang
dce0b0cffb
evm: fix pointer in ResultData.String() ( #733 )
2021-01-20 14:33:05 -03:00
Pierre
0fe6353865
evm: reset accessList in EndBlock ( #709 )
...
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-19 12:31:41 -03:00
Pierre
35bb751bac
x/evm: Modify the Copy function in CommitStateDB ( #720 )
2021-01-15 13:01:03 -03:00
Pierre
9ecd264ae0
Add API for compatible query of two types of transactions ( #683 )
...
* Add API for compatible query of two types of transactions
* format code
* optimize code
* optimize code
* format code
* optimize code
* add error handling
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-01-11 10:31:30 -03:00
Pierre
153478eb69
evm: roll back CommitStateDB after failing to execute handler ( #677 )
...
* Roll back CommitStateDB after failing to execute handler in evm module
* add function CopyCommitStateDB
* add comment
* add comment
* Add ut about the dirty data generated by CommitStateDB
* format code
2021-01-08 09:28:25 -03:00
KamiD
ffbb207655
fix panic when start a node with snapshot ( #673 )
...
* fix panic when start a node with snapshot
* change the return value of evm.NewKeeper to a pointer, roll back the before change
* add changelog
* fix importer test
2021-01-07 08:55:01 -03:00
Federico Kunze
9cbb4dcf6d
stargate: migrate types ( #670 )
...
* changelog v0.4.0
* stargate: types changes
* msg and handler changes
* validation
* fixes
* more fixes
* more test fixes
* changelog
* changelog
* lint
* rm comment
* lint
* redundant if condition
2021-01-06 17:56:40 -03:00
Ray Green
64ada18b01
x/evm: move SetParams execution location in InitGenesis ( #685 )
...
* fix-init-evm-genesis-panic
* go fmt file
2021-01-04 10:41:38 -03:00
KamiD
d27810b6b5
evm: reset cache after csdb is committed ( #676 )
...
* reset after commit, fix wrong apphash when restart a node with snapshot
* remove ClearStateObjects
* add comment, edit the CHANGELOG.md
2020-12-30 12:39:21 -03:00
Pierre
9659b81ee1
x/evm: set blockHash when executing function CommitStateDB.Prepare in handler ( #666 )
2020-12-23 17:15:38 -03:00
Federico Kunze
a1386eec09
evm: balance and nonce invariants ( #661 )
...
* evm: balance and nonce invariants
* nonce invariant
* changelog
* use iterator on export
2020-12-15 19:43:06 +01:00
dependabot[bot]
1d24ef76e5
build(deps): bump github.com/ethereum/go-ethereum from 1.9.24 to 1.9.25 ( #654 )
...
* build(deps): bump github.com/ethereum/go-ethereum from 1.9.24 to 1.9.25
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum ) from 1.9.24 to 1.9.25.
- [Release notes](https://github.com/ethereum/go-ethereum/releases )
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.9.24...v1.9.25 )
Signed-off-by: dependabot[bot] <support@github.com>
* fixes
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-12-11 13:47:18 +01:00
Federico Kunze
5782821ab4
atlas: evm module ( #651 )
...
* atlas: evm module
* typos
* update toml
* update description
* Update x/evm/atlas/atlas-v0.3.1.md
* Update x/evm/atlas/atlas-v0.3.1.md
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
2020-12-10 22:31:46 +00:00
Federico Kunze
6e1c16627a
evm: module specification ( #538 )
...
* evm: module specification
* params and events
* readme and messages
* minor updates
* concepts
* genesis state concept
* begin and end block
* update parameters and genesis
* state objects
* state table
* use permalink
* init and export genesis
* update abci
* extra eips param
* review comments
* precision
* link to photon doc
2020-12-09 20:11:15 +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
3bb76e8533
evm: extra eips param ( #643 )
...
* evm: extra eips param
* changelog
2020-12-08 20:01:28 +01:00
Pierre
9cc464b5e4
open Istanbul and MuirGlacier from ChainConfig ( #645 )
...
* open Istanbul and MuirGlacier
* fix ut
* fix ut
2020-12-08 16:49:35 +01:00
Federico Kunze
c4a3c0a96e
evm: implement vm.GetHashFn ( #620 )
...
* evm: implement vm.GetHashFn
* check nil case
* test
* handle 3 cases
* use switch statement
* stateDB tests
* abci changes
* fix LGTM issue
* final tests
* changelog
* remove epoch
* update test
* clean test
* rm epoch
2020-12-07 21:09:09 +01:00
Federico Kunze
048a8bdc12
app: fix export genesis ( #619 )
...
* v0.3.1 changes
* fix export genesis
* changelog
* evm: fix genesis format mismatch (#623 )
* evm: fix genesis format mismatch
* genesis tests
* fix test
* changelog
* nolint
2020-11-27 19:42:04 +01:00
Federico Kunze
ca476d0871
evm: state transitions enabled params ( #603 )
...
* changelog
* evm: state transitions enabled params
* changelog entry
* changelog
2020-11-20 20:25:11 +01:00
noot
2796f55b02
deps: update go-ethereum to v1.9.24 ( #594 )
...
* update to go-ethereum v1.9.24
* go mod tidy
* add YoloV2 to chain config
* add accessList and implement csdb accessList funcs
* cleanup
* access list tests
* changelog
* add stateDB test
* test Copy
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-11-16 17:11:15 +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
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
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
noot
a54c2dc726
add gas price=0 unit test, comments ( #528 )
...
* add handler comment
* add gas price=0 test
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-09-23 11:21:21 -04:00
noot
73d6c41b72
fix handler csdb usage, fixes consensus error again ( #516 )
2020-09-16 20:29:22 -04:00
noot
244d836669
add rpc logs, ignore block bloom errors ( #492 )
2020-09-15 14:42:06 -04: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
noot
cf9662c7bd
fix consensus error ( #513 )
2020-09-14 13:41:46 -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
1505ba89a1
atto photon refactor ( #503 )
...
* atto photon refactor
* update testnet command
* fix test
* changelog
2020-09-08 11:39:48 -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
Justin Thompson
4344dc10c7
change photon to aphoton ( #476 )
...
* change photon to aphoton
* fix test
* photon docs
* update doc
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-08-31 12:40:53 -04:00
noot
a6e152bbb6
fix csdb.Copy ( #488 )
2020-08-31 10:59:47 -04:00
huanglins
b3c895d039
fix default account addr prefix ( #472 )
2020-08-25 08:16:31 -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
noot
ca0a79f103
fix state object bugs causing tx reverts ( #445 )
2020-08-17 09:49:13 -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
de8d8acf77
x/evm: StateBD tests ( #407 )
...
* draft state_transition
* working test
* keeper test
* statedb rewrite
* fix tests
* add keeper statedb test
* minor changes
* x/evm: StateBD tests
* try fix
* fix stateObject.setState
* Update x/evm/types/state_object.go
* update stateObject.setState
* uncomment test
* increase coverage
* fix test-import
* update rpc tests
Co-authored-by: Justin Thompson <justin.thompson12@hotmail.com>
Co-authored-by: noot <elizabethjbinks@gmail.com>
2020-07-27 15:33:16 -04:00
noot
cc6b5d04f2
fix rpc-test action ( #402 )
2020-07-23 15:38:47 -04:00
Justin Thompson
d69aad2016
x/evm: stateDB and keeper tests ( #396 )
...
* draft state_transition
* working test
* keeper test
* statedb rewrite
* fix tests
* add keeper statedb test
* minor changes
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-07-23 14:30:31 -04:00
Federico Kunze
2fb4ab4862
x/evm: contract deploy test ( #392 )
...
* Add deploy and call test example to handler_test.go (#271 )
* Add deploy and call test example to handler_test.go
* fmt the file
* remove the smartcontract Bytecode comment
Co-authored-by: liuxiong <xiong.liu@okcoin.net>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* fix test
Co-authored-by: Louis Liu <35095310+louisliu2048@users.noreply.github.com>
Co-authored-by: liuxiong <xiong.liu@okcoin.net>
2020-07-15 10:52:21 -04:00