git.delta.rocks / unique-network / refs/commits / 4b4feb5f2c47

difftreelog

fix Small fixes.

Trubnikov Sergey2022-08-25parent: #1b03174.patch.diff
in: master

6 files changed

modifiedCargo.lockdiffbeforeafterboth
--- 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",
modifiedpallets/common/CHANGELOG.mddiffbeforeafterboth
before · pallets/common/CHANGELOG.md
1# Change Log23All notable changes to this project will be documented in this file.45## [0.2.0] - 2022-08-1967### Added89 - Add convert funtion from `CrossAccountId` to eth `uint256`.1011 12## [0.1.6] - 2022-08-161314### Added15-   New Ethereum API methods: changeOwner, changeOwner(Substrate) and verifyOwnerOrAdmin(Substrate).1617<!-- bureaucrate goes here -->18## [v0.1.5] 2022-08-161920### Other changes2122- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a2324- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf82526- refactor: Switch to new prefix removal methods 26734e9567589d75cdd99e404eabf11d5a97d9752728New methods allows to call `remove_prefix` with limit multiple times29in the same block30However, we don't use prefix removal limits, so upgrade is31straightforward3233Upstream-Change: https://github.com/paritytech/substrate/pull/114903435- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b3637## [0.1.3] - 2022-07-2538### Add39-   Some static property keys and values.4041## [0.1.2] - 2022-07-204243### Fixed4445-   Some methods in `#[solidity_interface]` for `CollectionHandle` had invalid46    mutability modifiers, causing invalid stub/abi generation.4748## [0.1.1] - 2022-07-144950### Added5152 - Implementation of RPC method `token_owners` returning 10 owners in no particular order.53    This was an internal request to improve the web interface and support fractionalization event.
after · pallets/common/CHANGELOG.md
1# Change Log23All notable changes to this project will be documented in this file.45## [0.1.7] - 2022-08-1967### Added89 - Add convert funtion from `CrossAccountId` to eth `uint256`.1011 12## [0.1.6] - 2022-08-161314### Added15-   New Ethereum API methods: changeOwner, changeOwner(Substrate) and verifyOwnerOrAdmin(Substrate).1617<!-- bureaucrate goes here -->18## [v0.1.5] 2022-08-161920### Other changes2122- build: Upgrade polkadot to v0.9.27 2c498572636f2b34d53b1c51b7283a761a7dc90a2324- build: Upgrade polkadot to v0.9.26 85515e54c4ca1b82a2630034e55dcc804c643bf82526- refactor: Switch to new prefix removal methods 26734e9567589d75cdd99e404eabf11d5a97d9752728New methods allows to call `remove_prefix` with limit multiple times29in the same block30However, we don't use prefix removal limits, so upgrade is31straightforward3233Upstream-Change: https://github.com/paritytech/substrate/pull/114903435- build: Upgrade polkadot to v0.9.25 cdfb9bdc7b205ff1b5134f034ef9973d769e5e6b3637## [0.1.3] - 2022-07-2538### Add39-   Some static property keys and values.4041## [0.1.2] - 2022-07-204243### Fixed4445-   Some methods in `#[solidity_interface]` for `CollectionHandle` had invalid46    mutability modifiers, causing invalid stub/abi generation.4748## [0.1.1] - 2022-07-144950### Added5152 - Implementation of RPC method `token_owners` returning 10 owners in no particular order.53    This was an internal request to improve the web interface and support fractionalization event.
modifiedpallets/common/Cargo.tomldiffbeforeafterboth
--- 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"
 
modifiedtests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth
--- 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}) => {
modifiedtests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth
--- 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}) => {
modifiedtests/src/eth/sponsoring.test.tsdiffbeforeafterboth
--- 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);