From 4b4feb5f2c47fe8bd36eef6860949a6dc3d295f4 Mon Sep 17 00:00:00 2001 From: Trubnikov Sergey Date: Thu, 25 Aug 2022 06:11:52 +0000 Subject: [PATCH] fix: Small fixes. --- --- a/Cargo.lock +++ b/Cargo.lock @@ -5552,7 +5552,7 @@ [[package]] name = "pallet-common" -version = "0.1.6" +version = "0.1.7" dependencies = [ "ethereum", "evm-coder", --- a/pallets/common/CHANGELOG.md +++ b/pallets/common/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -## [0.2.0] - 2022-08-19 +## [0.1.7] - 2022-08-19 ### Added --- a/pallets/common/Cargo.toml +++ b/pallets/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-common" -version = "0.1.6" +version = "0.1.7" license = "GPLv3" edition = "2021" --- a/tests/src/eth/collectionSponsoring.test.ts +++ b/tests/src/eth/collectionSponsoring.test.ts @@ -2,7 +2,7 @@ import {itWeb3, createEthAccount, collectionIdToAddress, GAS_ARGS, normalizeEvents, createEthAccountWithBalance, evmCollectionHelpers, getCollectionAddressFromResult, evmCollection, ethBalanceViaSub} from './util/helpers'; import nonFungibleAbi from './nonFungibleAbi.json'; import {expect} from 'chai'; -import { evmToAddress } from '@polkadot/util-crypto'; +import {evmToAddress} from '@polkadot/util-crypto'; describe('evm collection sponsoring', () => { itWeb3('sponsors mint transactions', async ({web3, privateKeyWrapper}) => { --- a/tests/src/eth/contractSponsoring.test.ts +++ b/tests/src/eth/contractSponsoring.test.ts @@ -25,7 +25,6 @@ createEthAccount, ethBalanceViaSub, } from './util/helpers'; -import {evmToAddress} from '@polkadot/util-crypto'; describe('Sponsoring EVM contracts', () => { itWeb3('Self sponsored can be set by the address that deployed the contract', async ({api, web3, privateKeyWrapper}) => { --- a/tests/src/eth/sponsoring.test.ts +++ b/tests/src/eth/sponsoring.test.ts @@ -51,8 +51,6 @@ }); itWeb3('...but this doesn\'t applies to payable value', async ({api, web3, privateKeyWrapper}) => { - const alice = privateKeyWrapper('//Alice'); - const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper); const sponsor = await createEthAccountWithBalance(api, web3, privateKeyWrapper); const caller = await createEthAccountWithBalance(api, web3, privateKeyWrapper); -- gitstuff