-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
contractsPull requests that update sapphire-contractsPull requests that update sapphire-contracts
Description
SUMMARY
Followup to https://github.com/oasisprotocol/sapphire-paratime/pull/477/files#r1896639760
It seems this solc optimizer snippet is required for any example that uses sapphire-contracts:
sapphire-paratime/contracts/hardhat.config.ts
Lines 47 to 56 in 6acf367
| solidity: { | |
| version: '0.8.20', | |
| settings: { | |
| optimizer: { | |
| enabled: true, | |
| runs: (1 << 32) - 1, | |
| }, | |
| viaIR: true, | |
| }, | |
| }, |
Investigate, why the optimizer setting is there in the first place. Execution speed? Security? Blame says these lines are 3 years old. Then figure out why this snippet is not required by external projects that import sapphire-contracts npm package.
COMPONENT NAME
contracts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
contractsPull requests that update sapphire-contractsPull requests that update sapphire-contracts