Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVM #58

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

EVM #58

wants to merge 15 commits into from

Conversation

Lawliet-Chan
Copy link
Collaborator

close #52

@Lawliet-Chan Lawliet-Chan marked this pull request as draft May 4, 2024 15:09
@Lawliet-Chan Lawliet-Chan linked an issue May 23, 2024 that may be closed by this pull request
@Lawliet-Chan Lawliet-Chan removed a link to an issue May 23, 2024
* add evm

* fix issue

* fix issue

* Update eth.go

* fix issue

* add InitChain and EVM

* fix ExecuteTxn issue

* fix issue

* update InitChain

* fix issue

* add call func

* access yu framework

* add message

* add Create func and access yu framework

* code fmt

* add Commit func

* add genesis

* integration Genesis

* add StartUpEvmChain

* recover cairoChain

* fix issue for CR

* fix state

* fix issue:set default EthStateConfig

* fix initChainConfig issue

* fix GetCurrentBlock()

* fix log.print

* fix init NewEthState failed: missing trie node  error

* fix Solidity commit failed on Block(295), error: missing trie node

* fix issue

* fix

---------

Co-authored-by: Lawliet-Chan <[email protected]>
@Lawliet-Chan Lawliet-Chan marked this pull request as ready for review June 1, 2024 02:48
@Lawliet-Chan Lawliet-Chan modified the milestone: Solidity compatible Jun 3, 2024
wliu6v and others added 3 commits June 27, 2024 17:04
* add evm

* fix issue

* fix issue

* Update eth.go

* fix issue

* add InitChain and EVM

* fix ExecuteTxn issue

* fix issue

* update InitChain

* fix issue

* add call func

* access yu framework

* add message

* add Create func and access yu framework

* code fmt

* add Commit func

* add genesis

* integration Genesis

* add StartUpEvmChain

* recover cairoChain

* fix issue for CR

* fix state

* fix issue:set default EthStateConfig

* implement evm rpc

* fix initChainConfig issue

* fix GetCurrentBlock()

* fix log.print

* fix init NewEthState failed: missing trie node  error

* load evmconfig from config file

* fix Solidity commit failed on Block(295), error: missing trie node

* fix issue

* fix

* implement CreateContract call

* fix evm  parameter bug

* fix merge issue

* fix merge issue

* fix: missing default config in evm.LoadEvmConfig

* fix bug : missing parameter

* fix bug:add gasPrice to config

* copy codes from geth

* implement sendRawTransaction

* rm code

* rm createAccount from executeTxn

* setNonce

* chainConfig

* rpc

* Integrated Create function

* Replace manual RPC parameter parsing with EthApiBackend

* fix: failed to parse sender from signedTxRequest

* add Genesis Address log

* [Test] Add method for testing RPC requests

* fix state nil bug

* EthState set StateDB init

* add EthState GetNonce func

* fix  bug: evm StateDB nil  bug

* add devaccount in genesis accounts

* setEVM cfg stateDB

* ethdb

* add SetupGenesisBlock for initchain

* fix bug:init NewEthState failed

* fix genesis statedb sets

* update EVM TxTest

* fix: nil pointer for create contract request

* add TestCreateContract function

* EthAPIBackend.CurrentBlock()

* fix: invalid signature error

* update log print

* update init GethConfig

* Update README.md

* Update README.md

* Update Readme

* Update README.md

* Update README.md

* implement eth_call api

* fix bug: Call func issue

* fix: missing return value in eth_call response

* fix currentStateRoot (#5)

* fix currentStateRoot

* Revert "fix currentStateRoot"

This reverts commit f649a40.

* fix currentStateRoot

---------

Co-authored-by: Lawliet-Chan <[email protected]>

---------

Co-authored-by: Frost <[email protected]>
Co-authored-by: Lawliet-Chan <[email protected]>
Co-authored-by: huyao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EVM integration
3 participants