@@ -361,7 +361,7 @@ The `"rlp"` key loads the block information.
361361 , "to" : TT , "v" : TY , "value" : TV
362362 , "accessList" : TA , "type" : TYPE , "chainID" : TC
363363 , "maxPriorityFeePerGas" : TP , "maxFeePerGas" : TP
364- , "maxFeePerBlobGas" : 0 , "blobVersionedHashes" : [ .JSONs ]
364+ , "maxFeePerBlobGas" : 0 , "blobVersionedHashes" : [ .JSONs ]
365365 , .JSONs
366366 }
367367 ~> load "transaction" : [ REST ]
@@ -386,25 +386,25 @@ The `"rlp"` key loads the block information.
386386
387387 rule <k> load "transaction" : [ [TYPE , [TC, TN, TP, TF, TG, TT, TV, TI, TA, TB, TVH, TY, TR, TS ]] , REST ]
388388 => mkTX !ID:Int
389- ~> loadTransaction !ID { "data" : TI , "gasLimit" : TG , "maxPriorityFeePerGas" : TP
390- , "nonce" : TN , "r" : TR , "s" : TS
391- , "to" : TT , "v" : TY , "value" : TV
392- , "accessList" : TA , "type" : TYPE , "chainID" : TC
393- , "maxFeePerGas" : TF , "maxFeePerBlobGas" : TB , "blobVersionedHashes" : TVH
389+ ~> loadTransaction !ID { "data" : TI , "gasLimit" : TG , "maxPriorityFeePerGas" : TP
390+ , "nonce" : TN , "r" : TR , "s" : TS
391+ , "to" : TT , "v" : TY , "value" : TV
392+ , "accessList" : TA , "type" : TYPE , "chainID" : TC
393+ , "maxFeePerGas" : TF , "maxFeePerBlobGas" : TB , "blobVersionedHashes" : TVH
394394 , .JSONs
395395 }
396396 ~> load "transaction" : [ REST ]
397397 ...
398398 </k>
399399 requires #asWord(TYPE) ==Int #dasmTxPrefix(Blob)
400400
401- rule <k> load "transaction" : [ [TYPE , [TC, TN, TP, TF, TG, TT, TV, TI, TA, AUTH , TY, TR, TS ]] , REST ]
401+ rule <k> load "transaction" : [ [TYPE , [TC, TN, TP, TF, TG, TT, TV, TI, TA, AUTH, TY, TR, TS ]] , REST ]
402402 => mkTX !ID:Int
403- ~> loadTransaction !ID { "data" : TI , "gasLimit" : TG , "maxPriorityFeePerGas" : TP
404- , "nonce" : TN , "r" : TR , "s" : TS
405- , "to" : TT , "v" : TY , "value" : TV
406- , "accessList" : TA , "type" : TYPE , "chainID" : TC
407- , "maxFeePerGas" : TF , "authList" : AUTH , .JSONs }
403+ ~> loadTransaction !ID { "data" : TI , "gasLimit" : TG , "maxPriorityFeePerGas" : TP
404+ , "nonce" : TN , "r" : TR , "s" : TS
405+ , "to" : TT , "v" : TY , "value" : TV
406+ , "accessList" : TA , "type" : TYPE , "chainID" : TC
407+ , "maxFeePerGas" : TF , "authorizationList" : AUTH , .JSONs }
408408 ~> load "transaction" : [ REST ]
409409 ...
410410 </k>
@@ -463,7 +463,7 @@ The `"rlp"` key loads the block information.
463463 rule <k> loadTransaction TXID { "blobVersionedHashes" : [TVH:JSONs], REST => REST } ... </k>
464464 <message> <msgID> TXID </msgID> <txVersionedHashes> _ => #parseJSONs2List(TVH) </txVersionedHashes> ... </message>
465465
466- rule <k> loadTransaction TXID { "authList " : [AUTH:JSONs], REST => REST } ... </k>
466+ rule <k> loadTransaction TXID { "authorizationList " : [AUTH:JSONs], REST => REST } ... </k>
467467 <message> <msgID> TXID </msgID> <txAuthList> _ => #parseJSONs2List(AUTH) </txAuthList> ... </message>
468468```
469469
@@ -628,7 +628,7 @@ The `"rlp"` key loads the block information.
628628 <txType> SetCode </txType>
629629 ...
630630 </message>
631- requires (ACCTCODE ==K .Bytes orBool Ghasauthority << SCHED >>)
631+ requires (ACCTCODE ==K .Bytes orBool ( Ghasauthority << SCHED >> andBool #isValidDelegation(ACCTCODE)) )
632632 andBool notBool ACCTTO ==K .Account
633633 andBool ACCTNONCE ==Int TX_NONCE
634634 andBool BASE_FEE <=Int TX_MAX_FEE
@@ -662,7 +662,7 @@ The `"rlp"` key loads the block information.
662662 <txType> Blob </txType>
663663 ...
664664 </message>
665- requires (ACCTCODE ==K .Bytes orBool Ghasauthority << SCHED >>)
665+ requires (ACCTCODE ==K .Bytes orBool ( Ghasauthority << SCHED >> andBool #isValidDelegation(ACCTCODE)) )
666666 andBool notBool ACCTTO ==K .Account
667667 andBool ACCTNONCE ==Int TX_NONCE
668668 andBool BASE_FEE <=Int TX_MAX_FEE
@@ -694,7 +694,7 @@ The `"rlp"` key loads the block information.
694694 <txType> DynamicFee </txType>
695695 ...
696696 </message>
697- requires (ACCTCODE ==K .Bytes orBool Ghasauthority << SCHED >>)
697+ requires (ACCTCODE ==K .Bytes orBool ( Ghasauthority << SCHED >> andBool #isValidDelegation(ACCTCODE)) )
698698 andBool ACCTNONCE ==Int TX_NONCE
699699 andBool BASE_FEE <=Int TX_MAX_FEE
700700 andBool TX_MAX_PRIORITY_FEE <=Int TX_MAX_FEE
@@ -722,7 +722,7 @@ The `"rlp"` key loads the block information.
722722 ...
723723 </message>
724724 requires #dasmTxPrefix(TXTYPE) <Int 2
725- andBool (ACCTCODE ==K .Bytes orBool Ghasauthority << SCHED >>)
725+ andBool (ACCTCODE ==K .Bytes orBool ( Ghasauthority << SCHED >> andBool #isValidDelegation(ACCTCODE)) )
726726 andBool ACCTNONCE ==Int TX_NONCE
727727 andBool BASE_FEE <=Int TX_GAS_PRICE
728728 andBool BAL >=Int TX_GAS_LIMIT *Int TX_GAS_PRICE +Int VALUE
0 commit comments