Skip to content

Commit

Permalink
feat(scratch): massive work on the deploy and verification scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
arwer13 committed Oct 3, 2023
1 parent 8269b77 commit efb0d56
Show file tree
Hide file tree
Showing 33 changed files with 1,177 additions and 272 deletions.
2 changes: 1 addition & 1 deletion SCRATCH_DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ To do Goerli deployment, the following parameters must be set up via env variabl
- `RPC_URL`. Address of of the Ethereum RPC node to use. E.g. for Infura it is `https://goerli.infura.io/v3/<yourProjectId>`
- `GAS_PRIORITY_FEE`. Gas priority fee. By default set to `2`
- `GAS_MAX_FEE`. Gas max fee. By default set to `100`
- `GATE_SEAL`. Address of the [GateSeal](https://github.com/lidofinance/gate-seals) contract. Must be deployed preliminary. Can be set to any `0x0000000000000000000000000000000000000000` to debug deployment.
- `GATE_SEAL_FACTORY`. Address of the [GateSeal Factory](https://github.com/lidofinance/gate-seals) contract. Must be deployed preliminary. Can be set to any `0x0000000000000000000000000000000000000000` to debug deployment.

Also you need to specify `DEPLOYER` private key in `accounts.json` under `/eth/goerli` like `"goerli": ["<key>"]`. See `accounts.sample.json` for an example.

Expand Down
4 changes: 2 additions & 2 deletions contracts/0.4.24/template/LidoTemplate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ contract LidoTemplate is IsContract {

event TmplAPMDeployed(address apm);
event TmplReposCreated();
event TmplAppInstalled(address appProxy, bytes32 appId);
event TmplAppInstalled(address appProxy, bytes32 appId, bytes initializeData);
event TmplDAOAndTokenDeployed(address dao, address token);
event TmplTokensIssued(uint256 totalAmount);
event TmplDaoFinalized();
Expand Down Expand Up @@ -508,7 +508,7 @@ contract LidoTemplate is IsContract {
) internal returns (address) {
address latestBaseAppAddress = _apmResolveLatest(_appId).contractAddress;
address instance = address(_dao.newAppInstance(_appId, latestBaseAppAddress, _initializeData, _setDefault));
emit TmplAppInstalled(instance, _appId);
emit TmplAppInstalled(instance, _appId, _initializeData);
return instance;
}

Expand Down
Loading

0 comments on commit efb0d56

Please sign in to comment.