File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -387,13 +387,16 @@ pub(crate) struct AscLogParam {
387
387
impl AscType for AscLogParam { }
388
388
389
389
pub ( crate ) type Bytes = Uint8Array ;
390
- /// Big ints are represented in two's complement and in little-endian order.
390
+
391
+ /// Big ints are represented using signed number representation. Note: This differs
392
+ /// from how U256 and U128 are represented (they use two's complement). So whenever
393
+ /// we convert between them, we need to make sure we handle signed and unsigned
394
+ /// cases correctly.
391
395
pub ( crate ) type AscBigInt = Uint8Array ;
396
+
392
397
pub ( crate ) type AscAddress = Uint8Array ;
393
398
pub ( crate ) type AscH160 = Uint8Array ;
394
399
pub ( crate ) type AscH256 = Uint8Array ;
395
- //pub(crate) type AscU128 = Uint64Array;
396
- //pub(crate) type AscU256 = Uint64Array;
397
400
398
401
pub ( crate ) type AscLogParamArray = Array < AscPtr < AscLogParam > > ;
399
402
You can’t perform that action at this time.
0 commit comments