Skip to content

Commit

Permalink
feat: add CircuitResolverModule to deployment script (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent authored Oct 17, 2023
1 parent cf75ef8 commit a283707
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions solidity/scripts/Deploy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {BondEscalationResolutionModule} from '../contracts/modules/resolution/Bo
import {SequentialResolutionModule} from '../contracts/modules/resolution/SequentialResolutionModule.sol';
import {RootVerificationModule} from '../contracts/modules/dispute/RootVerificationModule.sol';
import {SparseMerkleTreeRequestModule} from '../contracts/modules/request/SparseMerkleTreeRequestModule.sol';
import {CircuitResolverModule} from '../contracts/modules/dispute/CircuitResolverModule.sol';

import {AccountingExtension} from '../contracts/extensions/AccountingExtension.sol';
import {BondEscalationAccounting} from '../contracts/extensions/BondEscalationAccounting.sol';
Expand All @@ -44,6 +45,7 @@ contract Deploy is Script {
SequentialResolutionModule sequentialResolutionModule;
RootVerificationModule rootVerificationModule;
SparseMerkleTreeRequestModule sparseMerkleTreeRequestModule;
CircuitResolverModule circuitResolverModule;

AccountingExtension accountingExtension;
BondEscalationAccounting bondEscalationAccounting;
Expand Down Expand Up @@ -125,5 +127,9 @@ contract Deploy is Script {
sequentialResolutionModule = new SequentialResolutionModule(oracle);
console.log('SEQUENTIAL_RESOLUTION_MODULE:', address(sequentialResolutionModule));
sequentialResolutionModule.addResolutionModuleSequence(resolutionModules);

// Deploy circuit resolver module
circuitResolverModule = new CircuitResolverModule(oracle);
console.log('CIRCUIT_RESOLVER_MODULE:', address(circuitResolverModule));
}
}

0 comments on commit a283707

Please sign in to comment.