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

Mini moaf statetests #9

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

Mini moaf statetests #9

wants to merge 66 commits into from

Conversation

whilei
Copy link
Owner

@whilei whilei commented Jun 27, 2018

Just a WIP of progress on fixing tests/state_test.go... reconciling ETH and ETC JSON test suites and vm/state implementations.

tzdybal and others added 30 commits June 15, 2018 07:32
solution: add unused Engine() method
solution: use original StartRecord method
solution: import core/types
solution: shopt -s globstar && sed -i 's/vm\.Logs/\[\]\*types\.Log/g' ./**/*.go
solution: sed vm.Log -> *types.Log
solution: sed vm.Account -> vm.AccountRef
solution: modify and add methods to fit
solution: merge tzdybal's upstream/feature/tx-status changes,
resolving some conflicts and creating some conflicts
solution: remove duplicate methods
solution: just move logic to NewReceipt fn
solution: remove unused imports and invalid methods, fix calls to types.Log
solution: export it

* IMO This is really fuckin ugly. TODO, unexport, refactor
solution: fix

- use vm.Config in blockchain#StateProcessor signature
- change returned gas value to uint64 type for ^ method
- reference params.TxGas
- ...
solution: ensure dirties are checked in statedb
- also, whitespace and just fn ordering
should be consensus.Engine

solution: remove entirely
solution: use uint64 instead of big.Int
whilei added 29 commits June 23, 2018 14:38
solution: fix to use uint64 and params
solution: fix 'em
solution: fix uint64 vs. bigInts and params imports
solution: use new EVM patterns

- not sure this will work
solution: fix + dep ensure
what a fucking pain in the ass
solution: create adhoc core.Genesis type to fit tests
solution: use generated marshalers
solution: comment line; TBD
solution: update gas type, log and receipt signatures
solution: move from core/config -> params/config
solution: fix 'em. happen cuz of a sed gone awry
@whilei
Copy link
Owner Author

whilei commented Jun 27, 2018

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.

None yet

2 participants