new: unskip evm-benchmark tests

This commit is contained in:
Raneet Debnath 2022-09-23 11:42:10 +05:30
parent d6e552bdcf
commit ae5323de02
3 changed files with 14 additions and 13 deletions

View file

@ -42,8 +42,10 @@ The state transitioning model does all the necessary work to work out a valid ne
3) Create a new state object if the recipient is \0*32
4) Value transfer
== If contract creation ==
4a) Attempt to run transaction data
4b) If valid, use result as code for the new state object
4a) Attempt to run transaction data
4b) If valid, use result as code for the new state object
== end ==
5) Run Script section
6) Derive new state root
@ -262,13 +264,13 @@ func (st *StateTransition) preCheck() error {
// TransitionDb will transition the state by applying the current message and
// returning the evm execution result with following fields.
//
// - used gas:
// total gas used (including gas being refunded)
// - returndata:
// the returned data from evm
// - concrete execution error:
// various **EVM** error which aborts the execution,
// e.g. ErrOutOfGas, ErrExecutionReverted
// - used gas:
// total gas used (including gas being refunded)
// - returndata:
// the returned data from evm
// - concrete execution error:
// various **EVM** error which aborts the execution,
// e.g. ErrOutOfGas, ErrExecutionReverted
//
// However if any consensus issue encountered, return the error directly with
// nil evm execution result.

View file

@ -53,7 +53,7 @@ func TestBlockchain(t *testing.T) {
// FIXME POS-618
bt.skipLoad(`.*ValidBlocks*`)
bt.skipLoad(`.*InvalidBlocks*`)
//bt.skipLoad(`.*TransitionTests*`)
bt.skipLoad(`.*TransitionTests*`)
bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) {
if err := bt.checkFailure(t, test.Run(false)); err != nil {

View file

@ -59,8 +59,8 @@ func TestState(t *testing.T) {
st.skipLoad(`^stStaticCall/static_Call1MB`)
// FIXME POS-618
/*st.skipLoad(`.*micro/*`)
st.skipLoad(`.*main/*`)
//st.skipLoad(`.*micro/*`)
//st.skipLoad(`.*main/*`)
st.skipLoad(`.*stSStoreTest*`)
st.skipLoad(`.*stReturnDataTest*`)
st.skipLoad(`.*stShift*`)
@ -115,7 +115,6 @@ func TestState(t *testing.T) {
st.skipLoad(`.*stBadOpcode*`)
st.skipLoad(`.*stStackTests*`)
st.skipLoad(`.*stAttackTest*`)
*/
// Broken tests:
// Expected failures: