aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-11-21 08:28:37 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-11-29 08:38:11 +0800
commitdcc439c2e3a756af75889ddf3b22146322d1d97d (patch)
tree6d52fb9d6f93ffcc8e811d137566ff7d6a57410e /packages
parenta895dacd4e20238087245c274564f694c71f7f6e (diff)
downloaddexon-sol-tools-dcc439c2e3a756af75889ddf3b22146322d1d97d.tar
dexon-sol-tools-dcc439c2e3a756af75889ddf3b22146322d1d97d.tar.gz
dexon-sol-tools-dcc439c2e3a756af75889ddf3b22146322d1d97d.tar.bz2
dexon-sol-tools-dcc439c2e3a756af75889ddf3b22146322d1d97d.tar.lz
dexon-sol-tools-dcc439c2e3a756af75889ddf3b22146322d1d97d.tar.xz
dexon-sol-tools-dcc439c2e3a756af75889ddf3b22146322d1d97d.tar.zst
dexon-sol-tools-dcc439c2e3a756af75889ddf3b22146322d1d97d.zip
Ran prettier
Diffstat (limited to 'packages')
-rw-r--r--packages/utils/src/abi_encoder/evm_data_types/address.ts2
-rw-r--r--packages/utils/src/abi_encoder/evm_data_types/static_bytes.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/utils/src/abi_encoder/evm_data_types/address.ts b/packages/utils/src/abi_encoder/evm_data_types/address.ts
index aab5a0605..9ae22bd9c 100644
--- a/packages/utils/src/abi_encoder/evm_data_types/address.ts
+++ b/packages/utils/src/abi_encoder/evm_data_types/address.ts
@@ -13,7 +13,7 @@ export class Address extends PayloadDataType {
private static readonly _SIZE_KNOWN_AT_COMPILE_TIME: boolean = true;
private static readonly _ADDRESS_SIZE_IN_BYTES = 20;
private static readonly _DECODED_ADDRESS_OFFSET_IN_BYTES = Constants.EVM_WORD_WIDTH_IN_BYTES -
- Address._ADDRESS_SIZE_IN_BYTES;
+ Address._ADDRESS_SIZE_IN_BYTES;
public static matchType(type: string): boolean {
return type === 'address';
diff --git a/packages/utils/src/abi_encoder/evm_data_types/static_bytes.ts b/packages/utils/src/abi_encoder/evm_data_types/static_bytes.ts
index 77dde1333..9a2a99ec7 100644
--- a/packages/utils/src/abi_encoder/evm_data_types/static_bytes.ts
+++ b/packages/utils/src/abi_encoder/evm_data_types/static_bytes.ts
@@ -46,7 +46,7 @@ export class StaticBytes extends PayloadDataType {
if (valueBuf.byteLength > this._width) {
throw new Error(
`Tried to assign ${value} (${
- valueBuf.byteLength
+ valueBuf.byteLength
} bytes), which exceeds max bytes that can be stored in a ${this.getSignature()}`,
);
} else if (value.length % 2 !== 0) {