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 { assert, isNumber, isNull, isString, isUndefined, stringCamelCase, u8aToHex } from '@plugnet/util';
|
||||
import { assert, isNumber, isNull, isString, isUndefined, stringCamelCase } from '@plugnet/util';
|
||||
|
||||
import Compact from './codec/Compact';
|
||||
import { createClass } from './codec/createType';
|
||||
@@ -134,8 +134,6 @@ export default class ContractAbi implements Contract {
|
||||
}, { ...baseStruct })
|
||||
).toU8a();
|
||||
|
||||
console.error('hexToU8a(encoded)', u8aToHex(u8a));
|
||||
|
||||
return Compact.addLengthPrefix(u8a);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user