-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix(storageLayout, readme): update hardhat config for storageLayout and updated readme #180
Conversation
…and updated readme
@@ -4,6 +4,10 @@ Axelar Amplifier Gateway is a smart contract that lives on the external chain th | |||
|
|||
Please see the [INTEGRATION.md](INTEGRATION.md) for more details on how to implement and integrate the external gateway contract for a given chain. | |||
|
|||
## Documentation & Build | |||
|
|||
Please refer to [README.md](https://github.com/axelarnetwork/axelar-gmp-sdk-solidity/blob/main/README.md) for documentation and build instructions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use relative path instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it, updated.
@@ -35,11 +35,18 @@ const optimizerSettings = { | |||
}, | |||
}; | |||
|
|||
const outputSelectionSettings = { | |||
"*": { | |||
"*": ["storageLayout"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you exclude test contracts, and the build artifacts column?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked up outputSelection
option in detail, it enables outputs of storageLayout but does not have option to exclude test contracts and build artifacts.
https://docs.soliditylang.org/en/v0.8.20/using-the-compiler.html#input-description
const defaultSettings = { | ||
version: '0.8.23', | ||
settings: { | ||
evmVersion: process.env.EVM_VERSION || 'london', | ||
optimizer: optimizerSettings, | ||
outputSelection: outputSelectionSettings, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coverage action is failing, maybe because this should only be set if the storage layout env is set?
Issue:
AXE-4606
Executing the command
STORAGE_LAYOUT=true npx hardhat check
returns:Fix
added outputSelection configuration for storageLayout.
After Fix:
STORAGE_LAYOUT=true npx hardhat check
Note: