Skip to content

Commit

Permalink
feat: working deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-manuel committed Oct 2, 2024
1 parent b4cdc4e commit d375497
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
deploy-base :; forge script script/Deploy.s.sol:DeployBaseExecutor --rpc-url ${ETH_RPC_URL} --interactives 1 --broadcast --verify

4 changes: 4 additions & 0 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ import { Deploy } from "../deploy/Deploy.sol";
contract DeployBaseExecutor is Script {

function run() public {
vm.startBroadcast();

address executor = Deploy.deployExecutor(100, 1000);
address receiver = Deploy.deployOptimismReceiver(Ethereum.SPARK_PROXY, executor);

Deploy.setUpExecutorPermissions(executor, receiver);

vm.stopBroadcast();
}

}

0 comments on commit d375497

Please sign in to comment.