Skip to content

Commit

Permalink
remove unused dummylight client from fork test + clean up update cont…
Browse files Browse the repository at this point in the history
…ract specs
  • Loading branch information
RnkSngh committed Aug 20, 2024
1 parent add9467 commit f62cd42
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-ibc/vibc-core-smart-contracts",
"version": "3.0.0",
"version": "3.0.1",
"main": "dist/index.js",
"bin": {
"verify-vibc-core-smart-contracts": "./dist/scripts/verify-contract-script.js",
Expand Down
9 changes: 0 additions & 9 deletions specs/update.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,6 @@
args:
- '{{Dispatcher}}'

- name: DispatcherUpgrade
description: 'UUPS Upgrade for dispatcher contract implementation'
deployer: 'KEY_DEPLOYER'
signature: "upgradeTo(address)"
address: '{{DispatcherProxy}}'
factoryName: "Dispatcher"
args:
- '{{Dispatcher}}'

- name: UCH Upgrade
description: 'Upgrade for uch contract'
deployer: 'KEY_DEPLOYER'
Expand Down
3 changes: 0 additions & 3 deletions test/Fork/Dispatcher.deploy.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {IbcReceiver, IbcChannelReceiver} from "../../contracts/interfaces/IbcRec
import {UUPSUpgradeable} from "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol";
import {OptimisticLightClient} from "../../contracts/core/OptimisticLightClient.sol";
import {IProofVerifier} from "../../contracts/core/OptimisticProofVerifier.sol";
import {DummyLightClient} from "../../contracts/utils/DummyLightClient.sol";
import {Dispatcher} from "../../contracts/core/Dispatcher.sol";

import {IDispatcher} from "../../contracts/interfaces/IDispatcher.sol";
Expand All @@ -39,7 +38,6 @@ import "forge-std/Test.sol";
struct ChainAddresses {
IDispatcher dispatcherProxy;
IUniversalChannelHandler uch;
ILightClient dummyLightClient;
ILightClient optimisticLightClient;
address owner; // Owner Address of dispatcher
}
Expand All @@ -54,7 +52,6 @@ contract DispatcherDeployTest is ChannelHandShakeUpgradeUtil, UpgradeTestUtils {
ChainAddresses memory addresses = ChainAddresses(
IDispatcher(vm.envAddress("DispatcherProxy")),
IUniversalChannelHandler(vm.envAddress("UCProxy")),
ILightClient(vm.envAddress("DummyLightClient")),
ILightClient(vm.envAddress("OptimisticLightClient")),
vm.envAddress("OwnerAddress")
);
Expand Down

0 comments on commit f62cd42

Please sign in to comment.