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

Add kernel contract eth-proxy #218

Open
wants to merge 91 commits into
base: master
Choose a base branch
from

Conversation

chenfengjin
Copy link
Contributor

No description provided.

@chenfengjin chenfengjin marked this pull request as draft August 2, 2021 12:10
@chenfengjin chenfengjin force-pushed the eth-proxy branch 2 times, most recently from 2ab6d4f to 3077f9b Compare August 6, 2021 06:14
@chenfengjin chenfengjin marked this pull request as ready for review August 6, 2021 07:24
@chenfengjin chenfengjin changed the title WIP: Add kernel contract eth-proxy Add kernel contract eth-proxy Aug 6, 2021
@chenfengjin chenfengjin force-pushed the eth-proxy branch 3 times, most recently from bc6955a to 2d19b83 Compare August 9, 2021 08:39
@chenfengjin chenfengjin changed the title Add kernel contract eth-proxy Add kernel contract eth-proxy write interfaces Aug 9, 2021
kernel/evm/evm.go Outdated Show resolved Hide resolved
kernel/evm/evm.go Outdated Show resolved Hide resolved
@chenfengjin chenfengjin changed the title Add kernel contract eth-proxy write interfaces Add kernel contract eth-proxy Aug 28, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #218 (47524e3) into master (9bdaaa2) will increase coverage by 0.10%.
The diff coverage is 57.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
+ Coverage   48.23%   48.34%   +0.10%     
==========================================
  Files         134      135       +1     
  Lines       11513    11661     +148     
==========================================
+ Hits         5553     5637      +84     
- Misses       4819     4855      +36     
- Partials     1141     1169      +28     
Impacted Files Coverage Δ
kernel/engines/xuperos/chain.go 47.75% <25.00%> (-0.38%) ⬇️
kernel/evm/evm.go 58.33% <58.33%> (ø)
bcs/consensus/xpoa/xpoa.go 55.06% <0.00%> (-1.77%) ⬇️
bcs/consensus/tdpos/tdpos.go 40.96% <0.00%> (-0.81%) ⬇️
kernel/consensus/base/driver/chained-bft/smr.go 50.46% <0.00%> (+0.92%) ⬆️
bcs/network/p2pv2/server.go 52.40% <0.00%> (+1.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9bdaaa2...47524e3. Read the comment docs.

@@ -15,7 +15,8 @@ type KContext interface {
Initiator() string
Caller() string
AuthRequire() []string

TransferAmount() string
ContractName() string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

覆盖Kcontext的transfer方法,只能通过合约名字转账,不用加ContractName

@@ -15,7 +15,8 @@ type KContext interface {
Initiator() string
Caller() string
AuthRequire() []string

TransferAmount() string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TransferAmount的签名参考go sdk的签名

@CLAassistant
Copy link

CLAassistant commented Sep 18, 2021

CLA assistant check
All committers have signed the CLA.

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.

4 participants