Skip to content
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

implement mergeable contract #43

Merged
merged 7 commits into from
Jul 5, 2024
Merged

implement mergeable contract #43

merged 7 commits into from
Jul 5, 2024

Conversation

hvthhien
Copy link
Contributor

@hvthhien hvthhien commented Jun 19, 2024


import {FeralfileExhibitionV4_1} from "./FeralfileArtworkV4_1.sol";

contract FeralfileExhibitionV4_3 is FeralfileExhibitionV4_1 {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
Contract, Structs and Enums should be in CamelCase

}
MergeArtworkInfo private mergeArtworkInfo;

constructor(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
Explicitly mark visibility in function (Set ignoreConstructors to true if using solidity >=0.7.0)

revert("FeralfileExhibitionV4: duplicate seriesId");
}
}
require(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
Error message for require is too long: 41 counted / 32 allowed

revert("FeralfileExhibitionV4: duplicate seriesId");
}
}
require(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
GC: String exceeds 32 bytes

revert("FeralfileExhibitionV4: duplicate seriesId");
}
}
require(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
GC: Use Custom Errors instead of require statements

github-actions bot pushed a commit that referenced this pull request Jun 19, 2024
@hvthhien hvthhien force-pushed the mergeable_contract branch 2 times, most recently from e71a5d9 to f2fcc66 Compare June 19, 2024 02:47
github-actions bot pushed a commit that referenced this pull request Jun 19, 2024
@hvthhien hvthhien force-pushed the mergeable_contract branch from 3e79b75 to 9e86016 Compare June 19, 2024 02:57
github-actions bot pushed a commit that referenced this pull request Jun 19, 2024
@hvthhien hvthhien force-pushed the mergeable_contract branch from fd807e0 to 5819d7f Compare June 19, 2024 06:43
github-actions bot pushed a commit that referenced this pull request Jun 19, 2024
@hvthhien hvthhien force-pushed the mergeable_contract branch from 2e8aacb to 907370f Compare June 19, 2024 06:59
github-actions bot pushed a commit that referenced this pull request Jun 19, 2024
@hvthhien hvthhien force-pushed the mergeable_contract branch from 2c05f72 to cf88d4b Compare June 19, 2024 08:11
github-actions bot pushed a commit that referenced this pull request Jun 19, 2024
@hvthhien hvthhien force-pushed the mergeable_contract branch from 20b5606 to d0753a6 Compare June 20, 2024 03:05
github-actions bot pushed a commit that referenced this pull request Jun 20, 2024
@hvthhien hvthhien force-pushed the mergeable_contract branch from bcc4826 to 628aaf5 Compare June 28, 2024 09:34

import {FeralfileExhibitionV4_1} from "./FeralfileArtworkV4_1.sol";

contract FeralfileExhibitionV4_3 is FeralfileExhibitionV4_1 {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
Contract, Structs and Enums should be in CamelCase

// merging
bool internal _merging;

constructor(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
Explicitly mark visibility in function (Set ignoreConstructors to true if using solidity >=0.7.0)

revert("FeralfileExhibitionV4: duplicate seriesId");
}
}
require(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
Error message for require is too long: 41 counted / 32 allowed

revert("FeralfileExhibitionV4: duplicate seriesId");
}
}
require(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
GC: String exceeds 32 bytes

revert("FeralfileExhibitionV4: duplicate seriesId");
}
}
require(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
GC: Use Custom Errors instead of require statements

github-actions bot pushed a commit that referenced this pull request Jun 28, 2024
@hvthhien hvthhien force-pushed the mergeable_contract branch from 9f2ea3d to d11196f Compare July 5, 2024 04:22
}
MergeArtworkInfo private mergeArtworkInfo;

constructor(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [solhint] reported by reviewdog 🐶
Explicitly mark visibility in function (Set ignoreConstructors to true if using solidity >=0.7.0)

github-actions bot pushed a commit that referenced this pull request Jul 5, 2024
@hvthhien hvthhien force-pushed the mergeable_contract branch from f49a870 to c4ed18e Compare July 5, 2024 07:46
@jollyjoker992 jollyjoker992 merged commit b2b7b49 into main Jul 5, 2024
@jollyjoker992 jollyjoker992 deleted the mergeable_contract branch July 5, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants