Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

[WIP] libtesteth: add transaction RLP to state tests #4254

Closed
wants to merge 5 commits into from

Conversation

fjl
Copy link
Contributor

@fjl fjl commented Jul 12, 2017

The general state test format changes so the post state includes the RLP
of the (signed) transaction. This makes it easier to run the tests
because no signing is required. It's also slightly more powerful because
any signature scheme can be tested.

The first few commits are refactoring changes.

fjl added 5 commits July 12, 2017 15:24
Every use of the netId field is wrapped in netIdToString, just store
that string.
Also use set instead of vector.
The general state test format changes so the post state includes the RLP
of the (signed) transaction. This makes it easier to run the tests
because no signing is required. It's also slightly more powerful because
any signature scheme can be tested.
@fjl fjl force-pushed the test-state-tx-rlp branch from 08e748e to 2c8b083 Compare July 12, 2017 13:47
@winsvega
Copy link
Contributor

I think those changes are breaking other test suites.
Have you checked that TransactionTests, BlockchainTests, VMTests are not affected ?

@winsvega
Copy link
Contributor

here is the way to add transaction RLP
#4263

could we split refactoring commits into smaller PR's ?
it is hard to see that this does not brake existing test suites

@fjl
Copy link
Contributor Author

fjl commented Jul 14, 2017

I can send the refactoring as a separate PR if you want.

@fjl
Copy link
Contributor Author

fjl commented Oct 9, 2017

I will reopen this some other time.

@fjl fjl closed this Oct 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants