From 1ac5283f5baaf351d472de87bc162d373ee4897e Mon Sep 17 00:00:00 2001 From: Bear Wang Date: Wed, 9 Oct 2024 10:29:43 +0800 Subject: [PATCH] Remove migrate & update metadata (#1602) --- precompile/metadata/abi/deposit.json | 28 +--------------------------- precompile/metadata/sol/deposit.sol | 3 --- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/precompile/metadata/abi/deposit.json b/precompile/metadata/abi/deposit.json index 686f1b80f..10f409802 100644 --- a/precompile/metadata/abi/deposit.json +++ b/precompile/metadata/abi/deposit.json @@ -65,27 +65,6 @@ ], "stateMutability": "nonpayable", "type": "function" - }, - { - "inputs": - [ - { - "internalType": "address", - "name": "who", - "type": "address" - } - ], - "name": "migrate", - "outputs": - [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" } ], "devdoc": @@ -125,10 +104,6 @@ { "_0": "returns true on success, false otherwise." } - }, - "migrate(address)": - { - "details": "Migrate data to deposit contract" } }, "title": "Deposit", @@ -138,8 +113,7 @@ { "claim()": "4e71d92d", "claim_with_penalty(uint8)": "fa04a9bf", - "lock(uint256,uint8)": "998e4242", - "migrate(address)": "ce5494bb" + "lock(uint256,uint8)": "998e4242" } } }, diff --git a/precompile/metadata/sol/deposit.sol b/precompile/metadata/sol/deposit.sol index 1e508f992..9d851eac7 100644 --- a/precompile/metadata/sol/deposit.sol +++ b/precompile/metadata/sol/deposit.sol @@ -41,7 +41,4 @@ interface Deposit { /// @param depositId The deposit ticket wish to claim /// @return returns true on success, false otherwise. function claim_with_penalty(uint8 depositId) external returns (bool); - - /// @dev Migrate data to deposit contract - function migrate(address who) external returns (bool); }