@0xsequence/migration
Advanced tools
Comparing version 0.0.0-20240403204458 to 0.0.0-20240408185635
@@ -82,3 +82,3 @@ 'use strict'; | ||
const data1 = ethers.ethers.hexlify(tx.transactions[0].data || new Uint8Array()); | ||
const expectData1 = ethers.ethers.toBeHex(contract.encodeFunctionData(contract.getFunction('updateImplementation'), [context.mainModuleUpgradable])); | ||
const expectData1 = ethers.ethers.hexlify(contract.encodeFunctionData(contract.getFunction('updateImplementation'), [context.mainModuleUpgradable])); | ||
if (data1 !== expectData1) { | ||
@@ -85,0 +85,0 @@ throw new Error('Invalid new implementation on transaction'); |
@@ -82,3 +82,3 @@ 'use strict'; | ||
const data1 = ethers.ethers.hexlify(tx.transactions[0].data || new Uint8Array()); | ||
const expectData1 = ethers.ethers.toBeHex(contract.encodeFunctionData(contract.getFunction('updateImplementation'), [context.mainModuleUpgradable])); | ||
const expectData1 = ethers.ethers.hexlify(contract.encodeFunctionData(contract.getFunction('updateImplementation'), [context.mainModuleUpgradable])); | ||
if (data1 !== expectData1) { | ||
@@ -85,0 +85,0 @@ throw new Error('Invalid new implementation on transaction'); |
@@ -78,3 +78,3 @@ import { commons, v2 } from '@0xsequence/core'; | ||
const data1 = ethers.hexlify(tx.transactions[0].data || new Uint8Array()); | ||
const expectData1 = ethers.toBeHex(contract.encodeFunctionData(contract.getFunction('updateImplementation'), [context.mainModuleUpgradable])); | ||
const expectData1 = ethers.hexlify(contract.encodeFunctionData(contract.getFunction('updateImplementation'), [context.mainModuleUpgradable])); | ||
if (data1 !== expectData1) { | ||
@@ -81,0 +81,0 @@ throw new Error('Invalid new implementation on transaction'); |
{ | ||
"name": "@0xsequence/migration", | ||
"version": "0.0.0-20240403204458", | ||
"version": "0.0.0-20240408185635", | ||
"description": "tools for migrating sequence wallets to new versions", | ||
@@ -13,5 +13,5 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/migration", | ||
"ethers": "corbanbrook/ethers.js", | ||
"@0xsequence/abi": "0.0.0-20240403204458", | ||
"@0xsequence/core": "0.0.0-20240403204458", | ||
"@0xsequence/wallet": "0.0.0-20240403204458" | ||
"@0xsequence/abi": "0.0.0-20240408185635", | ||
"@0xsequence/core": "0.0.0-20240408185635", | ||
"@0xsequence/wallet": "0.0.0-20240408185635" | ||
}, | ||
@@ -18,0 +18,0 @@ "devDependencies": { |
@@ -98,3 +98,3 @@ import { commons, v1, v2 } from '@0xsequence/core' | ||
const data1 = ethers.hexlify(tx.transactions[0].data || new Uint8Array()) | ||
const expectData1 = ethers.toBeHex( | ||
const expectData1 = ethers.hexlify( | ||
contract.encodeFunctionData(contract.getFunction('updateImplementation')!, [context.mainModuleUpgradable]) | ||
@@ -101,0 +101,0 @@ ) |
+ Added@0xsequence/abi@0.0.0-20240408185635(transitive)
+ Added@0xsequence/core@0.0.0-20240408185635(transitive)
+ Added@0xsequence/indexer@0.0.0-20240408185635(transitive)
+ Added@0xsequence/network@0.0.0-20240408185635(transitive)
+ Added@0xsequence/relayer@0.0.0-20240408185635(transitive)
+ Added@0xsequence/signhub@0.0.0-20240408185635(transitive)
+ Added@0xsequence/utils@0.0.0-20240408185635(transitive)
+ Added@0xsequence/wallet@0.0.0-20240408185635(transitive)
- Removed@0xsequence/abi@0.0.0-20240403204458(transitive)
- Removed@0xsequence/core@0.0.0-20240403204458(transitive)
- Removed@0xsequence/indexer@0.0.0-20240403204458(transitive)
- Removed@0xsequence/network@0.0.0-20240403204458(transitive)
- Removed@0xsequence/relayer@0.0.0-20240403204458(transitive)
- Removed@0xsequence/signhub@0.0.0-20240403204458(transitive)
- Removed@0xsequence/utils@0.0.0-20240403204458(transitive)
- Removed@0xsequence/wallet@0.0.0-20240403204458(transitive)