Skip to content

Commit

Permalink
refactor: clean up after sepolia deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
arwer13 committed Feb 7, 2024
1 parent 659faa8 commit 2526388
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pragma solidity 0.4.24;
import {SignatureUtils} from "../lib/SignatureUtils.sol";


contract SignatureUtilsConsumer_0_4_24 {
contract SignatureUtilsConsumer_0_4_24 { // solhint-disable-line contract-name-camelcase

function isValidSignature(
address signer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pragma solidity 0.8.9;
import {SignatureUtils} from "../lib/SignatureUtils.sol";


contract SignatureUtilsConsumer_0_8_9 {
contract SignatureUtilsConsumer_0_8_9 { // solhint-disable-line contract-name-camelcase

function isValidSignature(
address signer,
Expand Down
8 changes: 1 addition & 7 deletions scripts/deploy-sepolia-deposit-contract-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ const { deployBehindOssifiableProxy } = require('./helpers/deploy')
const DEPLOYER = process.env.DEPLOYER || ''

async function deployNewContracts({ web3, artifacts }) {
// const netId = await web3.eth.net.getId()
// logWideSplitter()
// log(`Network ID:`, yl(netId))
// let state = readNetworkState(network.name, netId)
// assertRequiredNetworkState(state, REQUIRED_NET_STATE)

if (!DEPLOYER) {
throw new Error('Deployer is not specified')
}
Expand All @@ -18,7 +12,7 @@ async function deployNewContracts({ web3, artifacts }) {
const depositAdapterProxyOwner = "0x6885E36BFcb68CB383DfE90023a462C03BCB2AE5"
const constructorArgs = [sepoliaDepositContract]

const contract = await deployBehindOssifiableProxy(null, "SepoliaDepositAdapter", depositAdapterProxyOwner, DEPLOYER,
const contract = await deployBehindOssifiableProxy(null, "SepoliaDepositAdapter", depositAdapterProxyOwner, DEPLOYER,
constructorArgs, null)

console.log(contract)
Expand Down
2 changes: 1 addition & 1 deletion scripts/scratch/dao-sepolia-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export NETWORK_STATE_DEFAULTS_FILE="deployed-testnet-defaults.json"
# Sepolia params: https://github.com/eth-clients/sepolia/blob/main/README.md
export GENESIS_TIME=1655733600

# EOA
# EOA
export DSM_PREDEFINED_ADDRESS="0x6885E36BFcb68CB383DfE90023a462C03BCB2AE5"

export GAS_PRIORITY_FEE="${GAS_PRIORITY_FEE:=1}"
Expand Down
22 changes: 11 additions & 11 deletions scripts/scratch/verify-contracts-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function verify {
# NB: Although most of the contracts listed below would be verified by running
# this bash script as it is, some might require some manual tweaking.
# Sometimes first attempt to verify fails without observable reason.
# Part of the contract require a workaround see SCRATCH_DEPLOY.md section
# Part of the contract require a workaround see scratch-deploy.md section
# "Issues with verification of part of the contracts deployed from factories".

verify dummyEmptyContract
Expand Down Expand Up @@ -62,25 +62,25 @@ verify app:aragon-finance.implementation
verify app:aragon-agent.implementation
verify oracleDaemonConfig
verify oracleReportSanityChecker
# verify fakeAppProxyPinned
verify fakeAppProxyPinned
verify app:lido.proxy
# verify depositSecurityModule
verify depositSecurityModule
verify withdrawalQueueERC721.implementation
verify aragon-kernel.implementation
verify aragon-acl.implementation
verify aragon-kernel.proxy
verify ldo
verify callsScript
# verify aragon-evm-script-registry.proxy
# verify aragon-apm-registry.implementation
# verify aragon-apm-registry.factory
# verify aragon-app-repo-lido.implementation
# verify aragon-app-repo-node-operators-registry.implementation
verify aragon-evm-script-registry.proxy
verify aragon-apm-registry.implementation
verify aragon-apm-registry.factory
verify aragon-app-repo-lido.implementation
verify aragon-app-repo-node-operators-registry.implementation
# NB: App Repos of lido, oracle, node-operators-registry, finance, agent, token-manager, voting
# share same implementation of Repo contract
# verify aragon-evm-script-registry.proxy
# verify aragon-evm-script-registry.implementation
# verify app:simple-dvt.proxy
verify aragon-evm-script-registry.proxy
verify aragon-evm-script-registry.implementation
verify app:simple-dvt.proxy
verify app:aragon-token-manager.proxy
verify app:oracle.proxy
verify app:node-operators-registry.proxy
Expand Down
27 changes: 0 additions & 27 deletions test/0.8.9/sepolia-deployment.test.js

This file was deleted.

0 comments on commit 2526388

Please sign in to comment.