-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fevm_test: delegate call test #10010
Conversation
… compile the .sol solidity files to .hex, add sharable methods into kit/evm
@snissn Thanks for reopening!
@shrenujbansal Can you please continue this conversation here? |
I'm a +=1 not a ++ kind of guy what can i say :) but i'll yield to the golinter for now -- pushed a commit to address both of your comments @arajasek |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint CI seems to be complaining, but other than that looks good
fromId, err := client.StateLookupID(ctx, from, types.EmptyTSK) | ||
require.NoError(t, err) | ||
|
||
senderEthAddr, err := ethtypes.EthAddressFromFilecoinAddress(fromId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if the client.StateLookupID is needed, but I guess this works either way in itests.
Related Issues
filecoin-project/ref-fvm#1320
Proposed Changes
refactor of fevm_test, addition of delegate call test and a script to compile the .sol solidity files to .hex
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps