ethereum / ethereum/execution-specs

Make t9n like consume tool in eels to validate transaction tests

Open
#1,508 1 comment 0 reactions 0 assignees View on GitHub
A-test-fill C-feat stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

Currently transaction tests does not verify against anything. I can put exception or remove it or put another exception it will just generate the fixture.

What we need it to check transaction serialization and verify returned excpetion in deserialize method compared to expected. so we confirm that exception does happen as we write the test

We can either implement t9n tool (a separate tool from t8n) that verifies given transaction rlp to be a valid structure

Or use internal transaction class serialization to catch the errors hardcoded in python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.