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 {
387387impl AscType for AscLogParam { }
388388
389389pub ( 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.
391395pub ( crate ) type AscBigInt = Uint8Array ;
396+
392397pub ( crate ) type AscAddress = Uint8Array ;
393398pub ( crate ) type AscH160 = Uint8Array ;
394399pub ( crate ) type AscH256 = Uint8Array ;
395- //pub(crate) type AscU128 = Uint64Array;
396- //pub(crate) type AscU256 = Uint64Array;
397400
398401pub ( crate ) type AscLogParamArray = Array < AscPtr < AscLogParam > > ;
399402
You can’t perform that action at this time.
0 commit comments