Skip to content

Live Example

Live Example #346

Triggered via pull request October 23, 2024 12:49
@RubilmaxRubilmax
synchronize #21
feat/showcase
Status Failure
Total duration 23s
Artifacts 1

foundry-storage-check.yml

on: pull_request
check_storage_layout
14s
check_storage_layout
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
Variable type diff: contracts/Example.sol#L8
variable "(Example.Struct structOf[0]).c" was of type "uint16" but is now "uint64" (storage slot 0x178c34144aa4f22f9dcdc9a6606881972cf65c835163e066ef62f7c270683765, byte #0)
Variable diff: contracts/Example.sol#L8
variable "(Example.Struct structOf[0]).d" of type "uint16" was replaced by variable "(Example.Struct structOf[0]).c" of type "uint64" (storage slot 0x178c34144aa4f22f9dcdc9a6606881972cf65c835163e066ef62f7c270683765, byte #2)
Variable diff: contracts/Example.sol#L8
variable "(Example.Struct structOf[0]).e" of type "address" was replaced by variable "(Example.Struct structOf[0]).c" of type "uint64" (storage slot 0x178c34144aa4f22f9dcdc9a6606881972cf65c835163e066ef62f7c270683765, byte #4)
Variable diff: contracts/Example.sol#L9
variable "(Example.Struct structOf[0]).e" of type "address" was replaced by variable "(Example.Struct structOf[0]).d" of type "uint64" (storage slot 0x178c34144aa4f22f9dcdc9a6606881972cf65c835163e066ef62f7c270683765, byte #8)
check_storage_layout
Error: Unsafe storage layout changes detected. Please see above for details.
Label diff: contracts/Example.sol#L18
variable "_owner" was renamed to "owner". Is it intentional? (storage slot 0x000000000000000000000000000000000000000000000000000000000000000b, byte #0)

Artifacts

Produced during runtime
Name Size
feat-showcase.contracts_Example.sol-Example.json
741 Bytes