Currently getTestSubstate generates static test case, but it would be better to test various possible Substate values.
e.g.
- Different txType:
- AccessListTxType - AccessList
- SetCodeTxType - SetCodeAuthorization (now AccessList is allowed here as well for the testing purposes)
- ...
- contract creation
- blobs
- possible nil values
- ...
|
func getTestSubstate(encoding string) *substate.Substate { |