Skip to content

Commit

Permalink
fix: revert example schema
Browse files Browse the repository at this point in the history
  • Loading branch information
poomthiti committed Aug 10, 2023
1 parent 6c92f3e commit 1a47e30
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions src/lib/stores/schema-test-suite/schema-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,24 +217,7 @@
}
}
},
"migrate": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "InstantiateMsg",
"description": "Essentially, mars-address-provider is a required init param for all other contracts, so it needs to be initialised first (Only owner can be set on initialization). So the deployment looks like this:\n\n1. Init the address provider 2. Init all other contracts, passing in the address provider address (not ALL contracts need this but many do) 3. Update the address provider, with an update config call to contain all the other contract addresses from step 2, this is why we need it to be owned by an EOA (externally owned account) - so we can do this update as part of the deployment 4. Update the owner of the address provider contract at the end of deployment to be either a. the multisig or b. the gov/council contract",
"type": "object",
"required": ["owner", "prefix"],
"properties": {
"owner": {
"description": "The contract's owner",
"type": "string"
},
"prefix": {
"description": "The address prefix of the chain this contract is deployed on",
"type": "string"
}
},
"additionalProperties": false
},
"migrate": null,
"sudo": null,
"responses": {
"address": {
Expand Down

0 comments on commit 1a47e30

Please sign in to comment.