Skip to content

Commit

Permalink
deploy to tesnet light and fix deployment constructor params
Browse files Browse the repository at this point in the history
  • Loading branch information
0xCardinalError committed Jul 16, 2024
1 parent 974b71f commit b06a313
Show file tree
Hide file tree
Showing 6 changed files with 317 additions and 199 deletions.
2 changes: 1 addition & 1 deletion deploy/main/010_deploy_verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const func: DeployFunction = async function ({ deployments, network }) {

// Verify staking
const staking = await get('StakeRegistry');
const argStaking = [token.address, swarmNetworkID];
const argStaking = [token.address, swarmNetworkID, priceOracle.address];

log('Verifying...');
await verify(staking.address, argStaking);
Expand Down
2 changes: 1 addition & 1 deletion deploy/test/010_deploy_verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const func: DeployFunction = async function ({ deployments, network }) {

// Verify staking
const staking = await get('StakeRegistry');
const argStaking = [token.address, swarmNetworkID];
const argStaking = [token.address, swarmNetworkID, priceOracle.address];

log('Staking');
await verify(staking.address, argStaking);
Expand Down
74 changes: 37 additions & 37 deletions deployments/testnetlight/Redistribution.json

Large diffs are not rendered by default.

276 changes: 173 additions & 103 deletions deployments/testnetlight/StakeRegistry.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ const config: HardhatUserConfig = {
runOnCompile: false,
},
gasReporter: {
enabled: true,
enabled: false,
currency: 'USD',
gasPriceApi: 'https://api.gnosisscan.io/api?module=proxy&action=eth_gasPrice', // https://docs.gnosischain.com/tools/oracles/gas-price
token: 'GNO',
Expand Down
160 changes: 104 additions & 56 deletions testnet_deployed.json

Large diffs are not rendered by default.

0 comments on commit b06a313

Please sign in to comment.