File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -413,10 +413,13 @@ builtinByteStringToInteger True (consByteString 0x01 (consByteString 0x01
413
413
```
414
414
415
415
We also describe properties that any ` builtinByteStringToInteger ` implementation
416
- must have. Throughout, ` i ` is not negative, and ` 0 <= w8 <= 255 ` .
416
+ must have. Throughout, ` i ` is not negative, ` 0 <= w8 <= 255 ` , and ` bs ` is not
417
+ empty.
417
418
418
- 1 . ` builtinByteStringToInteger b (builtinIntegerToByteString b k i) = i `
419
+ 1 . ` builtinByteStringToInteger b (builtinIntegerToByteString b 0 i) = i `
419
420
2 . ` builtinByteStringToInteger b (consByteString w8 emptyByteString) = w8 `
421
+ 3 . `builtinIntegerToByteString b (lengthOfByteString bs) (builtinByteStringToInteger b bs) =
422
+ bs`
420
423
421
424
## Rationale: how does this CIP achieve its goals?
422
425
You can’t perform that action at this time.
0 commit comments