From 778aa395856c1168f948119d07793684eccb9e7a Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Wed, 26 Oct 2022 14:17:04 +0000 Subject: [PATCH] test: fix missing EthPropertyGroup --- --- a/tests/src/eth/util/playgrounds/unique.dev.ts +++ b/tests/src/eth/util/playgrounds/unique.dev.ts @@ -351,6 +351,14 @@ return '0x' + address.substring(address.length - 40); } } +export class EthPropertyGroup extends EthGroupBase { + property(key: string, value: string): EthProperty { + return [ + key, + '0x'+Buffer.from(value).toString('hex'), + ]; + } +} export type EthUniqueHelperConstructor = new (...args: any[]) => EthUniqueHelper; export class EthCrossAccountGroup extends EthGroupBase { -- gitstuff