@@ -279,10 +279,10 @@ func processNumericString(s string) *big.Int {
279279 if strings .Contains (s , ":" ) {
280280 log .Fatal ().Str ("string" , s ).Msg ("Unknown number format" )
281281 }
282- if s , ok := strings .CutPrefix (s , "0x" ); ok {
283- num , fullRead := new (big.Int ).SetString (s , 16 )
282+ if result , ok := strings .CutPrefix (s , "0x" ); ok {
283+ num , fullRead := new (big.Int ).SetString (result , 16 )
284284 if ! fullRead {
285- log .Fatal ().Str ("input" , s ).Msg ("Unable to read the full hex data?!" )
285+ log .Fatal ().Str ("input" , result ).Msg ("Unable to read the full hex data?!" )
286286 }
287287 return num
288288 }
@@ -584,13 +584,13 @@ func rawArgsToStrings(rawArgs string, params []string) []string {
584584 processedArgs := make ([]string , count )
585585 for k , arg := range argList {
586586 if strings .HasPrefix (params [k ], "uint" ) {
587- if arg , ok := strings .CutPrefix (arg , "0x" ); ok {
588- if len (arg ) > 64 {
587+ if result , ok := strings .CutPrefix (arg , "0x" ); ok {
588+ if len (result ) > 64 {
589589 // i think this is a bug but there is a test case that's somehow longer than 32 bytes
590590 // https://github.com/ethereum/tests/blob/fd26aad70e24f042fcd135b2f0338b1c6bf1a324/src/GeneralStateTestsFiller/Cancun/stEIP1153-transientStorage/transStorageOKFiller.yml#L801
591- arg = arg [len (arg )- 64 :]
591+ result = result [len (result )- 64 :]
592592 }
593- n , _ := new (big.Int ).SetString (arg , 16 )
593+ n , _ := new (big.Int ).SetString (result , 16 )
594594 processedArgs [k ] = n .String ()
595595 } else {
596596 processedArgs [k ] = arg
0 commit comments