-
Notifications
You must be signed in to change notification settings - Fork 27
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 versioning of EIP-4824 Registration Contracts #186
Comments
Months ago, the EIP-4824 Registration contract had the version feature. |
I worked on this temporary fix for Ethereum DAOs |
Do the current contracts have this? |
I'd create a contracts folder directly in the current repo, and maintain
versioning of the factory registration contracts there. Looks like it
exists already but it's not clear to what contracts are actually in that
repo. https://github.com/metagov/daostar/tree/main/contracts
The original version of the contract should be largely captured in EIP4824.
…On Tue, Jan 23, 2024 at 2:58 PM Rashmi V Abbigeri ***@***.***> wrote:
Months ago, the EIP-4824 Registration contract had the version feature.
Do the current contracts have this?
@crazyyuan <https://github.com/crazyyuan> @thelastjosh
<https://github.com/thelastjosh> @xiaohou77 <https://github.com/xiaohou77>
Could we create a separate Contracts Repo so that we can maintain the
versioning of contracts at least on Source Code?
I realise that EIP-4824 registration contract version info might not be
relevant info to store on-chain
—
Reply to this email directly, view it on GitHub
<#186 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHA5PE56XUZKIE2GLVG6S3YQAI7XAVCNFSM6AAAAABATBJCCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBWHAZDMMRXGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Josh's suggestion: https://semver.org/ |
Our Contracts have a function that returns Version of the contract, we need to index this in The Graph so that we can display the version of contract for a registration instance
|
Pinged Kahn to help with how to query the contract to get the version |
WIP: #207 |
Hey folks, would like to get an update here! PR above is still in draft mode. |
There's already some light versioning, it would be nice to have a better plan for this but maybe that's medium priority. |
There is some light versioning.
|
As we progress, we update our smart contracts, it is a good practice to version the smart contracts and get the version information for all the registration instances. The version should be on-chain so that anyone referencing the DAO Registration Instance can be aware of the version.
After that we can get that info from The Graph API and display on our frontend
The text was updated successfully, but these errors were encountered: