Skip to content

Commit

Permalink
Use default optimizer settings due to bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yorhodes committed Oct 19, 2023
1 parent b0bfd60 commit 81a092a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
6 changes: 1 addition & 5 deletions solidity/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ import 'solidity-coverage';
*/
module.exports = {
solidity: {
compilers: [
{
version: '0.8.19',
},
],
version: '0.8.19',
settings: {
optimizer: {
enabled: true,
Expand Down
4 changes: 2 additions & 2 deletions typescript/infra/scripts/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ async function main() {
const compilerOptions: CompilerOptions = {
codeformat: 'solidity-single-file',
compilerversion: 'v0.8.19+commit.7dd6d404',
optimizationUsed: '1',
runs: '999999',
optimizationUsed: '0',
runs: '200',
};

const versionRegex = /v(\d.\d.\d+)\+commit.\w+/;
Expand Down
6 changes: 3 additions & 3 deletions typescript/sdk/src/consts/chainMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,9 @@ export const scrollsepolia: ChainMetadata = {
blockExplorers: [
{
name: 'Scroll Explorer',
url: 'https://sepolia-blockscout.scroll.io',
apiUrl: 'https://sepolia-blockscout.scroll.io/api',
family: ExplorerFamily.Blockscout,
url: 'https://sepolia.scrollscan.dev/',
apiUrl: 'https://api-sepolia.scrollscan.com/api',
family: ExplorerFamily.Etherscan,
},
],
blocks: {
Expand Down

0 comments on commit 81a092a

Please sign in to comment.