Skip to content

Multiple extension installations - #971

Open
kronosapiens wants to merge 11 commits into
developfrom
feat/multiple-extensions
Open

Multiple extension installations#971
kronosapiens wants to merge 11 commits into
developfrom
feat/multiple-extensions

Conversation

@kronosapiens

@kronosapiens kronosapiens commented Jun 23, 2021

Copy link
Copy Markdown
Contributor

Closes #968

Change internal network-level extension bookkeeping to support an arbitrary number of simultaneous extensions with the same identifier. Backwards-compatible with existing extensions.

New functionality is oriented around the address of the extension, rather than the bytes32 identifier, so all extension-management functions (upgradeExtension, etc) now call for the address of the extension.

To check if an extension is installed, use getExtensionColony, passing in the address of the extension. The function will return the address of the installed colony, if installed.

@kronosapiens kronosapiens self-assigned this Jun 23, 2021
@kronosapiens
kronosapiens force-pushed the feat/multiple-extensions branch 3 times, most recently from d96e4b8 to f96a680 Compare June 30, 2021 21:19
@kronosapiens
kronosapiens marked this pull request as ready for review June 30, 2021 21:26
@kronosapiens
kronosapiens force-pushed the feat/multiple-extensions branch from f96a680 to f4ebba5 Compare July 1, 2021 23:42
@kronosapiens

Copy link
Copy Markdown
Contributor Author

@area Ah good observation, I had not thought about the network/colony upgrade discrepancy. Perhaps we can add a version check in installExtension which will use installations for v6 colonies and multiInstallations for v7.

@kronosapiens
kronosapiens force-pushed the feat/multiple-extensions branch 5 times, most recently from b7e6ec1 to adb422e Compare July 8, 2021 22:54
@kronosapiens
kronosapiens force-pushed the feat/multiple-extensions branch 2 times, most recently from 9f52e61 to 952344e Compare July 13, 2021 02:29
@kronosapiens
kronosapiens force-pushed the feat/multiple-extensions branch 3 times, most recently from 56d1f4a to 89f9921 Compare July 27, 2021 23:45
@kronosapiens
kronosapiens force-pushed the feat/multiple-extensions branch from 89f9921 to ca0dd96 Compare August 3, 2021 17:38
@kronosapiens
kronosapiens force-pushed the feat/multiple-extensions branch from 34df2d0 to a76b8b8 Compare August 11, 2021 22:40
@kronosapiens
kronosapiens force-pushed the feat/multiple-extensions branch from a76b8b8 to 30c0a32 Compare August 12, 2021 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant