You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looks like evmone-t8n generated genesis with "baseFeePerGas": "0x00", on frontier network
so we need to check the generated test format with consume. like I did with retesteth. if blockchain test is of network frontier. the genesis must not have other fork fields
and vice versa. this is not being checked. I am getting test with genesis header with baseFeePerGas when using evmonet8n
Here separation of concern. first I have module that generates the tests. Second is the module that executes tests.
The execution module does not know what kind of json it gets therefor it has a scheme validator to analyze the correctness of json.
I would still vote on test json schema verification model. Maybe if not after fill, but in Dan's consume. although would be nice to have it in fill too.
yes it might be redundant perhaps it can be optional in fill.
the idea is to have all the logic related to json verification at one place.
I have the following checks:
verify that rlp fields are equal to it's json description. (although it is adviced to parse rlp only, some clients might parse json instead. so we need to make sure that test's json is equal to it's rlp.)
verify fixture structure. verify that it has only expected fields. and nothing is missing. depending on fixture format.
verify block header description is not only equal to it's rlp but also that if it's a valid block it must be of the type of network the test is on.
The text was updated successfully, but these errors were encountered:
@marioevz if you think it can be redundant perhaps it should stay at least in consume.
I won't trust unit tests alone I think it is good to have a json reader validation scheme to yell an error if we detect malformed fixture. and this code better be separate from our internal filling logic to not be affected by it or for the case when we import generated json and don't know who has generated it.
@marioevz if you think it can be redundant perhaps it should stay at least in consume. I won't trust unit tests alone I think it is good to have a json reader validation scheme to yell an error if we detect malformed fixture. and this code better be separate from our internal filling logic to not be affected by it or for the case when we import generated json and don't know who has generated it.
looks like evmone-t8n generated genesis with "baseFeePerGas": "0x00", on frontier network
so we need to check the generated test format with consume. like I did with retesteth. if blockchain test is of network frontier. the genesis must not have other fork fields
and vice versa. this is not being checked. I am getting test with genesis header with baseFeePerGas when using evmonet8n
Here separation of concern. first I have module that generates the tests. Second is the module that executes tests.
The execution module does not know what kind of json it gets therefor it has a scheme validator to analyze the correctness of json.
I would still vote on test json schema verification model. Maybe if not after fill, but in Dan's consume. although would be nice to have it in fill too.
yes it might be redundant perhaps it can be optional in fill.
the idea is to have all the logic related to json verification at one place.
I have the following checks:
The text was updated successfully, but these errors were encountered: