Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deployment of 0_9_2 tag #278

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion deploy/main/009_deploy_local_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ const func: DeployFunction = async function ({ deployments, network, config }) {
const oracleContract = await get('PriceOracle');
const stakingContract = await get('StakeRegistry');
const redisContract = await get('Redistribution');
const browserURL = config.etherscan.customChains.find((chain) => chain.network === network.name)?.urls.browserURL;
const browserURL =
config.etherscan.customChains.find((chain) => chain.network === network.name)?.urls.browserURL + 'address/';

// Token data
deployedData['contracts']['bzzToken']['abi'] = tokenContract.abi;
Expand Down
2 changes: 1 addition & 1 deletion deploy/main/011_deploy_multisig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// ADD Roles to Multisig
// TODO should uniform roles on contracts, recommend to just use DEFAULT_ADMIN_ROLE also for postagestamp contract
const adminRole = await read('PostageStamp', 'DEFAULT_ADMIN_ROLE');
const pauserRole = await read('PostageStamp', 'PAUSER_ROLE');

Check warning on line 15 in deploy/main/011_deploy_multisig.ts

View workflow job for this annotation

GitHub Actions / check

'pauserRole' is assigned a value but never used
// await execute('PostageStamp', { from: deployer }, 'grantRole', adminRole, networkConfig['mainnet'].multisig);
// await execute('PostageStamp', { from: deployer }, 'grantRole', pauserRole, networkConfig['mainnet'].multisig);
// await execute('PriceOracle', { from: deployer }, 'grantRole', adminRole, networkConfig['mainnet'].multisig);

await execute('PriceOracle', { from: deployer }, 'grantRole', adminRole, networkConfig['mainnet'].multisig);
await execute('StakeRegistry', { from: deployer }, 'grantRole', adminRole, networkConfig['mainnet'].multisig);
await execute('Redistribution', { from: deployer }, 'grantRole', adminRole, networkConfig['mainnet'].multisig);

Expand Down
3 changes: 2 additions & 1 deletion deploy/test/009_deploy_local_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ const func: DeployFunction = async function ({ deployments, network, config }) {
const oracleContract = await get('PriceOracle');
const stakingContract = await get('StakeRegistry');
const redisContract = await get('Redistribution');
const browserURL = config.etherscan.customChains.find((chain) => chain.network === network.name)?.urls.browserURL;
const browserURL =
config.etherscan.customChains.find((chain) => chain.network === network.name)?.urls.browserURL + 'address/';

// Token data
deployedData['contracts']['bzzToken']['abi'] = tokenContract.abi;
Expand Down
105 changes: 71 additions & 34 deletions deployments/mainnet/PriceOracle.json

Large diffs are not rendered by default.

183 changes: 117 additions & 66 deletions deployments/mainnet/Redistribution.json

Large diffs are not rendered by default.

135 changes: 95 additions & 40 deletions deployments/mainnet/StakeRegistry.json

Large diffs are not rendered by default.

118 changes: 118 additions & 0 deletions deployments/mainnet/solcInputs/4857a452cfc918014df175b959949922.json

Large diffs are not rendered by default.

125 changes: 111 additions & 14 deletions mainnet_deployed.json

Large diffs are not rendered by default.

Loading