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
a protocol/command to run transaction structure unit tests.
input: transaction rlp, fork rule
output: bool valid/invalid, recovered sender if any
Rationale
We have ttTransactionTests which are currently not maintained. the paradigm require a client opinion on whether provided transaction structure is valid or not.
By asking a client if it thinks the provided transaction rlp is good or not (hypothetically) without any state, env info, we can revive the ttTransaction tests that test transaction structure parsing.
Implementation
Geth accept transaction rlp
Checks the structure validity (number of fields for given transaction type, validity of RLP format)
Checks that fields are in allowed range (0...2 ** 256), max data length, 2 ** 64 for gasLimit (rules might be different depending on fork)
Checks that gasLimit cover intrinsic transaction price (intrinsic transaction price + data bytes price)
Recovers sender address
The text was updated successfully, but these errors were encountered:
a protocol/command to run transaction structure unit tests.
input: transaction rlp, fork rule
output: bool valid/invalid, recovered sender if any
Rationale
We have ttTransactionTests which are currently not maintained. the paradigm require a client opinion on whether provided transaction structure is valid or not.
By asking a client if it thinks the provided transaction rlp is good or not (hypothetically) without any state, env info, we can revive the ttTransaction tests that test transaction structure parsing.
Implementation
The text was updated successfully, but these errors were encountered: