aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils/crypto.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contracts/src/utils/crypto.ts')
-rw-r--r--packages/contracts/src/utils/crypto.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/contracts/src/utils/crypto.ts b/packages/contracts/src/utils/crypto.ts
index 810072d2f..5bc678cdf 100644
--- a/packages/contracts/src/utils/crypto.ts
+++ b/packages/contracts/src/utils/crypto.ts
@@ -31,6 +31,8 @@ export const crypto = {
argTypes.push('address');
} else if (_.isString(arg)) {
argTypes.push('string');
+ } else if (arg instanceof Buffer) {
+ argTypes.push('bytes');
} else if (_.isBoolean(arg)) {
argTypes.push('bool');
} else {