-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
|
||
import {FeralfileExhibitionV4_1} from "./FeralfileArtworkV4_1.sol"; | ||
|
||
contract FeralfileExhibitionV4_3 is FeralfileExhibitionV4_1 { |
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.
Contract, Structs and Enums should be in CamelCase
} | ||
MergeArtworkInfo private mergeArtworkInfo; | ||
|
||
constructor( |
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.
Explicitly mark visibility in function (Set ignoreConstructors to true if using solidity >=0.7.0)
revert("FeralfileExhibitionV4: duplicate seriesId"); | ||
} | ||
} | ||
require( |
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.
Error message for require is too long: 41 counted / 32 allowed
revert("FeralfileExhibitionV4: duplicate seriesId"); | ||
} | ||
} | ||
require( |
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.
GC: String exceeds 32 bytes
revert("FeralfileExhibitionV4: duplicate seriesId"); | ||
} | ||
} | ||
require( |
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.
GC: Use Custom Errors instead of require statements
e71a5d9
to
f2fcc66
Compare
3e79b75
to
9e86016
Compare
fd807e0
to
5819d7f
Compare
2e8aacb
to
907370f
Compare
2c05f72
to
cf88d4b
Compare
20b5606
to
d0753a6
Compare
bcc4826
to
628aaf5
Compare
|
||
import {FeralfileExhibitionV4_1} from "./FeralfileArtworkV4_1.sol"; | ||
|
||
contract FeralfileExhibitionV4_3 is FeralfileExhibitionV4_1 { |
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.
Contract, Structs and Enums should be in CamelCase
// merging | ||
bool internal _merging; | ||
|
||
constructor( |
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.
Explicitly mark visibility in function (Set ignoreConstructors to true if using solidity >=0.7.0)
revert("FeralfileExhibitionV4: duplicate seriesId"); | ||
} | ||
} | ||
require( |
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.
Error message for require is too long: 41 counted / 32 allowed
revert("FeralfileExhibitionV4: duplicate seriesId"); | ||
} | ||
} | ||
require( |
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.
GC: String exceeds 32 bytes
revert("FeralfileExhibitionV4: duplicate seriesId"); | ||
} | ||
} | ||
require( |
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.
GC: Use Custom Errors instead of require statements
9f2ea3d
to
d11196f
Compare
} | ||
MergeArtworkInfo private mergeArtworkInfo; | ||
|
||
constructor( |
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.
Explicitly mark visibility in function (Set ignoreConstructors to true if using solidity >=0.7.0)
f49a870
to
c4ed18e
Compare
https://github.com/bitmark-inc/feral-file/issues/2567