Remove contract encoding debug (confirmed working) (#836)
* Remove contract encoding debug (confirmed working) * Remove (now-unused) import
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
import { CodecArg, Constructor } from './types';
|
import { CodecArg, Constructor } from './types';
|
||||||
|
|
||||||
import { assert, isNumber, isNull, isString, isUndefined, stringCamelCase, u8aToHex } from '@polkadot/util';
|
import { assert, isNumber, isNull, isString, isUndefined, stringCamelCase } from '@polkadot/util';
|
||||||
|
|
||||||
import Compact from './codec/Compact';
|
import Compact from './codec/Compact';
|
||||||
import { createClass } from './codec/createType';
|
import { createClass } from './codec/createType';
|
||||||
@@ -134,8 +134,6 @@ export default class ContractAbi implements Contract {
|
|||||||
}, { ...baseStruct })
|
}, { ...baseStruct })
|
||||||
).toU8a();
|
).toU8a();
|
||||||
|
|
||||||
console.error('hexToU8a(encoded)', u8aToHex(u8a));
|
|
||||||
|
|
||||||
return Compact.addLengthPrefix(u8a);
|
return Compact.addLengthPrefix(u8a);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user